Skip to content

Commit bf08b48

Browse files
committed
Fix regression with software updates to Storage
1 parent 1985313 commit bf08b48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/comms.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ const Comms = {
293293
getAppInfo : app => {
294294
var cmd;
295295
if (Const.FILES_IN_FS) cmd = `\x10${Const.CONNECTION_DEVICE}.println(require("fs").readFileSync(${JSON.stringify(AppInfo.getAppInfoFilename(app))})||"null")\n`;
296-
else cmd = `\x10${Const.CONNECTION_DEVICE}.println(require("fs").readFileSync(${JSON.stringify("APPINFO/"+AppInfo.getAppInfoFilename(app))})||"null")\n`;
296+
else cmd = `\x10${Const.CONNECTION_DEVICE}.println(require("Storage").read(${JSON.stringify(AppInfo.getAppInfoFilename(app))})||"null")\n`;
297297
return Comms.write(cmd).
298298
then(appJSON=>{
299299
let app;

0 commit comments

Comments
 (0)