Skip to content

Commit

Permalink
Fix for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
hardillb committed Jul 23, 2024
1 parent e4f75f4 commit 4174342
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/launcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,11 @@ class Launcher {
env.PATH = process.env.PATH

// should set HOME env var
env.HOME = process.env.HOME
if (process.platform === 'win32') {
env.UserProfile = process.env.UserProfile
} else {
env.HOME = process.env.HOME
}

// Use local timezone if set, else use one from snapshot settings
// this will be ignored on Windows as it does not use the TZ env var
Expand Down

0 comments on commit 4174342

Please sign in to comment.