From e33a7686edd1b3264b0b6bd8eb4b140acaf45473 Mon Sep 17 00:00:00 2001 From: Systemless <95631896+RisingGlitch@users.noreply.github.com> Date: Sat, 12 Aug 2023 20:04:14 +0000 Subject: [PATCH] more features --- public/builtin/apps/scripts/terminal/commands/config.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/public/builtin/apps/scripts/terminal/commands/config.js b/public/builtin/apps/scripts/terminal/commands/config.js index 84767365..e7d9d618 100644 --- a/public/builtin/apps/scripts/terminal/commands/config.js +++ b/public/builtin/apps/scripts/terminal/commands/config.js @@ -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]; }; \ No newline at end of file