-
Notifications
You must be signed in to change notification settings - Fork 0
/
setupcappdevkit.py
48 lines (45 loc) · 2.14 KB
/
setupcappdevkit.py
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
#!/usr/bin/python3
""" Copyright© 2023-2024 LinuxUsersLinuxMint
CAppDevKit Tüm Hakları GPL(Genel Kamu Lisansı) altında korunmaktadır.
CAppDevKit All Rights Reserved under the GPL(General Public License).
Bu Yazılımın Bir Kopyası GİTHUB da yayınlanmaktadır Görüntülemek için: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint
A Copy of This Software is published on GITHUB To view: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint """
import time, os
yes_no=str(input('Are you sure you want to install CAppDevKit? (Y / N / Uninstall): '))
if yes_no=="N" or yes_no=="n" or yes_no=="No" or yes_no=="no" or yes_no=="NO":
exit()
elif yes_no=="Y" or yes_no=="y" or yes_no=="Yes" or yes_no=="yes" or yes_no=="YES":
print("Installing CAppDevKit...")
time.sleep(3)
print("[CAppDevKit_Setup_Environment]: CAppDevKit installation step 1/3...")
time.sleep(3)
print("[CAppDevKit_Setup_Environment]: setup_create_dir.sh step 1/3... (Create Folder)")
time.sleep(3)
os.system("./setup_create_dir.sh")
time.sleep(3)
print("[CAppDevKit_Setup_Environment]: CAppDevKit installation step completed...")
time.sleep(3)
print("[CAppDevKit_Setup_Environment]: CAppDevKit installation step 2/3...")
time.sleep(3)
print("[CAppDevKit_Setup_Environment]: setup_copy_files.sh step 2/3... (Copy Files)")
time.sleep(3)
os.system("./setup_copy_files.sh")
time.sleep(3)
print("[CAppDevKit_Setup_Environment]: CAppDevKit installation step completed...")
time.sleep(3)
print("[CAppDevKit_Setup_Environment]: CAppDevKit installation step 3/3...")
time.sleep(3)
print("[CAppDevKit_Setup_Environment]: setup_folder_copy.sh step 3/3... (Copy Folder)")
time.sleep(3)
os.system("./setup_folder_copy.sh")
time.sleep(3)
print("[CAppDevKit_Setup_Environment]: CAppDevKit installation step completed...")
exit()
elif yes_no=="Uninstall" or yes_no=="uninstall" or yes_no=="U" or yes_no=="u":
print("Uninstall CAppDevKit...")
time.sleep(3)
os.system("./uninstall_cappdevkit.sh")
time.sleep(2)
exit()
else:
print("Invalid CAppSE (CAppDevKit Setup Environment) Argument...")