mirror of
https://github.com/wavetermdev/waveterm
synced 2026-05-06 06:58:21 +00:00
fix for ~/.waveterm getting ignored
This commit is contained in:
parent
df25c54a31
commit
e831f84711
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ const WaveHomeVarName = "WAVETERM_HOME";
|
|||
function getWaveHomeDir(): string {
|
||||
let home = process.env[WaveHomeVarName];
|
||||
if (!home) {
|
||||
const homeDir = process.env.HOME;
|
||||
const homeDir = app.getPath("home");
|
||||
if (homeDir) {
|
||||
home = path.join(homeDir, `.${waveDirName}`);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue