-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApps.py
More file actions
74 lines (73 loc) · 2.26 KB
/
Copy pathApps.py
File metadata and controls
74 lines (73 loc) · 2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
from time import sleep
def App_List():
print("Choose an app or function to execute")
sleep(0.3)
print("Shutdown")
sleep(0.3)
print("About LolyOS")
sleep(0.3)
print("cmd.exe")
sleep(0.3)
print("virus.exe")
User_Input = input("admin:/ ").lower()
if User_Input == 'shutdown':
sleep(0.3)
import Shutdown
elif User_Input in ['about lolyos', 'lolyos', 'about']:
About_LolyOS()
elif User_Input in ['cmd', 'cmd.exe']:
cmd()
elif User_Input in ['virus', 'virus.exe']:
import Virus
def About_LolyOS():
print("\n")
sleep(1)
print("This is a fun little project maintained in free time (just for fun)")
sleep(3)
print("It is maintained at github.com/AhmedLolyProductions/LolyOS")
sleep(3)
print("LolyOS v1.1.5")
sleep(0.6)
print("To go back to the app list, click 'enter'")
input()
print("\n" * 2)
App_List()
def cmd():
print("\n" * 41)
sleep(3)
print("LolyOS Copyright (C) 2026 AhmedLolyProductions")
sleep(0.4)
print("To exit cmd, enter 'quit' or 'exit'")
sleep(0.4)
print("Type 'help' for a list of commands")
while True:
Command_Input = input("admin:/ $ ").lower()
if Command_Input == 'help':
print("\n")
sleep(0.2)
print("RMDIR: delete a directory")
sleep(0.5)
print("dir: display directorys")
sleep(0.5)
print("cls: clears the screen")
elif Command_Input in ['quit', 'exit']:
print("\n" * 41)
sleep(0.5)
App_List()
elif Command_Input == 'rmdir':
print("\n" + "please choose a directory to delete; for a list of directorys, type 'dir'")
elif Command_Input == 'cls':
print("\n" * 41)
elif Command_Input == 'dir':
print("\n" + "folder: LolyOS")
sleep(0.2)
print("folder: system")
sleep(0.2)
print("folder: user")
sleep(0.2)
print("folder: admin")
sleep(0.2)
print("file: virus.exe")
elif Command_Input in ['rmdir lolyos', 'rmdir system', 'rmdir user', 'rmdir admin', 'rmdir virus.exe', 'rmdir virus']:
import Virus
App_List()