1
1
mirror of https://github.com/Eugeny/tabby.git synced 2024-11-22 11:52:03 +03:00

fix: do not use installer to update portable version Eugeny/tabby#7768

This commit is contained in:
Clem Fern 2023-11-19 13:25:30 +01:00
parent 2be079a51b
commit 1e096ede77

View File

@ -25,7 +25,7 @@ export class ElectronUpdaterService extends UpdaterService {
super()
this.logger = log.create('updater')
if (process.platform === 'linux') {
if (process.platform === 'linux' || process.env.PORTABLE_EXECUTABLE_FILE) {
this.electronUpdaterAvailable = false
return
}