Explorar o código

chore: limit file version to 0.10.*

Tienson Qin hai 2 meses
pai
achega
5c03c594ab
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/electron/electron/updater.cljs

+ 1 - 1
src/electron/electron/updater.cljs

@@ -126,7 +126,7 @@
                  (. semver lt electron-version remote-version))
 
            ;; start auto updater
-          (do
+          (when (<= (second (string/split remote-version ".")) 10) ; file version should be locked at 0.10.*
             (debug "Found remote version" remote-version)
             (when (or mac? win32?)
               (debug "forward update to autoUpdater")