diff --git a/index_files/commands.js.download b/index_files/commands.js.download
index 1e8986b..5915425 100644
--- a/index_files/commands.js.download
+++ b/index_files/commands.js.download
@@ -44,24 +44,40 @@ weather = [
update = [
- "
",
- "Checking...",
- "Downloading Update...",
- "==========>10%",
- "====================>20%",
- "==============================>30%",
- "========================================>40%",
- "==================================================>50%",
- "============================================================>60%",
- "======================================================================>70%",
- "================================================================================>80%",
- "==========================================================================================90%",
- "====================================================================================================>100%",
- "Update Terminal...",
- "Finishing Installation...",
- "Done",
- "
"
-];
+ "
",
+ "Checking for updates...",
+ "Downloading update...",
+ '==========> 10%',
+ '====================> 20%',
+ '==============================> 30%',
+ '========================================> 40%',
+ '==================================================> 50%',
+ '============================================================> 60%',
+ '======================================================================> 70%',
+ '================================================================================> 80%',
+ '==========================================================================================> 90%',
+ '====================================================================================================> 100%',
+ "Updating terminal...",
+ "Finishing installation...",
+ "Update complete!",
+ "
"
+ ];
+
+ const updateElement = document.getElementById("update");
+
+ let i = 0;
+ const intervalId = setInterval(() => {
+ if (i >= update.length) {
+ clearInterval(intervalId);
+ } else {
+ updateElement.innerHTML += update[i];
+ i++;
+ }
+ }, 1000);
+
+
+
+
whoami = [
"
",
@@ -150,5 +166,5 @@ banner = [
"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~",
'Welcome to my interactive web terminal.',
- "For a list of available commands, type 'help' Or Type 'website' For regulare webpage. ",
+ "For a list of available commands, type 'help' Or type 'website' For regulare webpage. ",
];