Ver código fonte

Enabled new windows update method

causefx 7 anos atrás
pai
commit
bce7e039af
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4 0
      js/functions.js

+ 4 - 0
js/functions.js

@@ -3294,6 +3294,10 @@ function updateNow(){
     if(activeInfo.settings.misc.docker){
     if(activeInfo.settings.misc.docker){
         dockerUpdate();
         dockerUpdate();
         return false;
         return false;
+    }
+    if(activeInfo.serverOS === 'win'){
+        windowsUpdate();
+        return false;
     }
     }
 	console.log('Organizr Function: Starting Update Process');
 	console.log('Organizr Function: Starting Update Process');
 	$(updateBar()).appendTo('.organizr-area');
 	$(updateBar()).appendTo('.organizr-area');