We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1985313 commit bf08b48Copy full SHA for bf08b48
js/comms.js
@@ -293,7 +293,7 @@ const Comms = {
293
getAppInfo : app => {
294
var cmd;
295
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`;
+ else cmd = `\x10${Const.CONNECTION_DEVICE}.println(require("Storage").read(${JSON.stringify(AppInfo.getAppInfoFilename(app))})||"null")\n`;
297
return Comms.write(cmd).
298
then(appJSON=>{
299
let app;
0 commit comments