Skip to content
5 changes: 3 additions & 2 deletions js/comms.js
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,8 @@
// Start the upload
function doUpload() {
Progress.show({min:0.05, max:0.10}); // 5-10% for progress writing
Comms.showMessage(`Installing\n${app.id}...`).
var msg = app.id=="fwupdate"?`Updating Firmware...`:`Installing\n${app.name}...`

Check warning on line 326 in js/comms.js

View workflow job for this annotation

GitHub Actions / test

Unexpected var, use let or const instead
Comment thread
RKBoss6 marked this conversation as resolved.
Outdated
Comms.showMessage(msg).
then(() => Comms.write("\x10"+Comms.getProgressCmd()+"\n", {noWait:true})).
then(() => {
doUploadFiles();
Expand Down Expand Up @@ -507,7 +508,7 @@
/* App Info now doesn't contain .files, so to erase, we need to
read the info file ourselves. */
return (options.noReset ? Promise.resolve() : Comms.reset()).
then(()=>Comms.showMessage(`Erasing\n${app.id}...`)).
then(()=>Comms.showMessage(`Uninstalling\n${app.name}...`)).
then(()=>options.containsFileList ? app : Comms.getAppInfo(app)).
then(app=>{
let cmds = '';
Expand Down
Loading