修改配置路径

This commit is contained in:
Cheney
2025-03-13 15:16:30 +08:00
parent 5ff621c05b
commit 37af0bd7a6
3 changed files with 13 additions and 6 deletions
+5 -5
View File
@@ -47,11 +47,11 @@ module.exports = class SystemConfig {
}
static getUserPath() {
let userDirectory = '~';
if ( this.isWindows() ) {
userDirectory = process.env.USERPROFILE;
}
return userDirectory;
// let userDirectory = '~';
// if ( this.isWindows() ) {
// userDirectory = process.env.USERPROFILE;
// }
return os.homedir();
}
static getUserConfigPath() {