Skip to content

Commit

Permalink
Fix regression with software updates to Storage
Browse files Browse the repository at this point in the history
  • Loading branch information
gfwilliams committed Dec 9, 2024
1 parent 1985313 commit bf08b48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/comms.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ const Comms = {
getAppInfo : app => {
var cmd;
if (Const.FILES_IN_FS) cmd = `\x10${Const.CONNECTION_DEVICE}.println(require("fs").readFileSync(${JSON.stringify(AppInfo.getAppInfoFilename(app))})||"null")\n`;
else cmd = `\x10${Const.CONNECTION_DEVICE}.println(require("fs").readFileSync(${JSON.stringify("APPINFO/"+AppInfo.getAppInfoFilename(app))})||"null")\n`;
else cmd = `\x10${Const.CONNECTION_DEVICE}.println(require("Storage").read(${JSON.stringify(AppInfo.getAppInfoFilename(app))})||"null")\n`;
return Comms.write(cmd).
then(appJSON=>{
let app;
Expand Down

0 comments on commit bf08b48

Please sign in to comment.