mirror of
https://github.com/Eugeny/tabby.git
synced 2024-11-27 18:55:58 +03:00
Check if HOME env var doesn't already exist (Windows)
This commit is contained in:
parent
d1ddbe213f
commit
95967882e3
@ -18,7 +18,7 @@ location.hash = ''
|
||||
|
||||
;(process as any).enablePromiseAPI = true
|
||||
|
||||
if (process.platform === 'win32') {
|
||||
if (process.platform === 'win32' && !('HOME' in process.env)) {
|
||||
process.env.HOME = process.env.HOMEDRIVE + process.env.HOMEPATH
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user