Skip to content

Commit

Permalink
Merge pull request #101 from RisingGlitch/main
Browse files Browse the repository at this point in the history
more features
  • Loading branch information
ThinLiquid authored Aug 12, 2023
2 parents 1166a0d + e33a768 commit 15b6331
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 15b6331

Please sign in to comment.