Skip to content

Commit c4cfb9e

Browse files
b58: prepare for release
1 parent 57cd73d commit c4cfb9e

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

System/OS/Shell/main.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,16 @@ def __init__(self, username):
1010
Shell.processInput(self, self.cmd, username)
1111

1212
def processInput(self, command, username):
13+
1314
if command == "exit":
1415
exit(0)
16+
1517
elif command == "help":
1618
with open('System/OS/Shell/commands.json') as cmdJSON:
1719
self.jsonData = json.load(cmdJSON)
1820
for command in self.jsonData['PyOS_Commands']:
1921
print(f"{command['name']}\n {command['desc']}\n")
22+
2023
elif command == "ver":
2124
print(f"PythonOS Version {self.sysVersionVars.version}", end='')
2225
if ("b" in self.sysVersionVars.version_semantic) or ("a" in self.sysVersionVars.version_semantic):
@@ -26,9 +29,12 @@ def processInput(self, command, username):
2629

2730
elif command == "prsh":
2831
PrSHSession = prsh.PrintShell(username)
32+
2933
elif command == "clear":
3034
base.clearScreen()
35+
3136
elif command == "":
3237
pass
38+
3339
else:
3440
print(f"Error SxCH01: Invalid command <{command}>.")

System/system.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"PyOS" : [
33
{
4-
"system_version": "0.2.0 Release Candidate 3",
5-
"system_semantic": "0.2.0-rc.3",
4+
"system_version": "0.2.0",
5+
"system_semantic": "0.2.0",
66
"system_codename": "Version Next",
77
"kernel_version": "1.0"
88
}

launch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
time.sleep(1)
1010

1111
base.clearScreen()
12-
print("REMEMBER: This is a pre-release version of PythonOS. It may not work as intended.\n")
12+
# print("REMEMBER: This is a pre-release version of PythonOS. It may not work as intended.\n")
1313

1414
# print(os.getcwd())
1515

0 commit comments

Comments
 (0)