Skip to content

Commit

Permalink
more features
Browse files Browse the repository at this point in the history
  • Loading branch information
RisingGlitch committed Aug 12, 2023
1 parent 25b1206 commit e33a768
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions public/builtin/apps/scripts/terminal/commands/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,14 @@ export const exec = (fs, term, usr, dir, args) => {
localStorage.setItem("custom-apps", "[]");
return "Reseted LocalStorage";
}
if(args[1]=="keys") {
var keys="";
for(var i in localStorage) {

keys+= ('"'+i + ' = ' + localStorage[i]+" "+'",');
}
return keys;
}
return args[1];

};

0 comments on commit e33a768

Please sign in to comment.