1
1
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:
jack1142 2019-08-29 18:33:07 +02:00 committed by GitHub
parent d1ddbe213f
commit 95967882e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}