1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-09-22 10:28:41 +03:00

Merge pull request #1431 from jack1142/patch-2

Check if HOME env var doesn't already exist (Windows)
This commit is contained in:
Eugene 2019-08-29 22:17:56 +02:00 committed by GitHub
commit b56471aef6
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
}