Skip to content

Commit

Permalink
Ensure apps are always uploaded localized
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed Jul 7, 2023
1 parent 9f798e9 commit 92769ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -842,7 +842,7 @@ function updateApp(app, options) {
showToast(`Updating ${app.name}...`);
device.appsInstalled = device.appsInstalled.filter(a=>a.id!=app.id);
return checkDependencies(app,{checkForClashes:false});
}).then(()=>Comms.uploadApp(app,{device:device,noReset:options.noReset, noFinish:options.noFinish})
}).then(()=>Comms.uploadApp(app,{device:device,language:LANGUAGE,noReset:options.noReset, noFinish:options.noFinish})
).then((appJSON) => {
if (appJSON) device.appsInstalled.push(appJSON);
showToast(app.name+" Updated!", "success");
Expand Down Expand Up @@ -1006,7 +1006,7 @@ function installMultipleApps(appIds, promptName) {
if (app===undefined) return resolve();
Progress.show({title:`${app.name} (${appCount-apps.length}/${appCount})`,sticky:true});
checkDependencies(app,{device:device, noReset:true, noFinish:true})
.then(()=>Comms.uploadApp(app,{device:device, noReset:true, noFinish:true}))
.then(()=>Comms.uploadApp(app,{device:device, language:LANGUAGE, noReset:true, noFinish:true}))
.then((appJSON) => {
Progress.hide({sticky:true});
if (appJSON) device.appsInstalled.push(appJSON);
Expand Down

0 comments on commit 92769ac

Please sign in to comment.