Skip to content

Commit

Permalink
Allow resetting the list of installed apps without complete init
Browse files Browse the repository at this point in the history
  • Loading branch information
halemmerich committed May 4, 2024
1 parent dc682af commit 4db6229
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/apploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ var apps = [];
var device = { id : DEVICEID, appsInstalled : [] };
var language; // Object of translations

exports.reset = function(){
device.appsInstalled = [];
}

/* call with {
DEVICEID:"BANGLEJS/BANGLEJS2"
VERSION:"2v20"
Expand Down

0 comments on commit 4db6229

Please sign in to comment.