Browse Source

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

Clem Fern 1 year ago
parent
commit
1e096ede77
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tabby-electron/src/services/updater.service.ts

+ 1 - 1
tabby-electron/src/services/updater.service.ts

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