mirror of
https://github.com/wanghongenpin/proxypin.git
synced 2026-05-20 16:15:47 +08:00
桌面端请求收藏&桌面端请求编辑可直接查看响应体
This commit is contained in:
@@ -71,8 +71,11 @@ class Configuration {
|
||||
await _loadConfig();
|
||||
}
|
||||
|
||||
String? userHome;
|
||||
Future<File> homeDir() async {
|
||||
String? userHome;
|
||||
if (userHome != null) {
|
||||
return File("${userHome!}${Platform.pathSeparator}.proxypin");
|
||||
}
|
||||
if (Platforms.isDesktop()) {
|
||||
userHome = Platform.environment['HOME'] ?? Platform.environment['USERPROFILE'];
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user