Skip to content

Commit 7781856

Browse files
AdWMGUI 1.0
1 parent 717bac6 commit 7781856

File tree

5 files changed

+124
-0
lines changed

5 files changed

+124
-0
lines changed

AdWMFuncLib/Systemclean.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#!/usr/bin/env python3
2+
""" Copyright© 2023-2024 LinuxUsersLinuxMint
3+
AdWMGUI Tüm Hakları GPL(Genel Kamu Lisansı) altında korunmaktadır.
4+
AdWMGUI All Rights Reserved under the GPL(General Public License).
5+
Bu Yazılımın Bir Kopyası GİTHUB da yayınlanmaktadır Görüntülemek için: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint
6+
A Copy of This Software is published on GITHUB To view: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint """
7+
8+
import os, time
9+
from tkinter import *
10+
from _tkinter import TclError
11+
from tkinter import messagebox
12+
from tkinter import filedialog
13+
from tkinter import simpledialog
14+
from tkinter import Tk
15+
16+
def OpenCleanmgr():
17+
os.system("cleanmgr.exe")
18+
19+
def AdvancedCleanup():
20+
messagebox.showinfo("AdvancedCleanup", "Advanced Cleanup...")
21+
time.sleep(2)
22+
messagebox.showinfo("AdvancedCleanup", "Advanced Cleanup 1/2... (DISM.exe /Online /Cleanup-Image /AnalyzeComponentStore)")
23+
os.system("DISM.exe /Online /Cleanup-Image /AnalyzeComponentStore")
24+
time.sleep(2)
25+
messagebox.showinfo("AdvancedCleanup", "Advanced Cleanup 2/2... (DISM.exe /Online /Cleanup-Image /StartComponentCleanup)")
26+
os.system("DISM.exe /Online /Cleanup-Image /StartComponentCleanup")
27+
time.sleep(2)
28+
messagebox.showinfo("AdvancedCleanup", "Advanced Cleanup done!")

AdWMFuncLib/Systemrepair.py

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
#!/usr/bin/python3
2+
""" Copyright© 2023-2024 LinuxUsersLinuxMint
3+
AdWMGUI Tüm Hakları GPL(Genel Kamu Lisansı) altında korunmaktadır.
4+
AdWMGUI All Rights Reserved under the GPL(General Public License).
5+
Bu Yazılımın Bir Kopyası GİTHUB da yayınlanmaktadır Görüntülemek için: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint
6+
A Copy of This Software is published on GITHUB To view: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint """
7+
8+
import os, time
9+
from tkinter import *
10+
from _tkinter import TclError
11+
from tkinter import messagebox
12+
from tkinter import filedialog
13+
from tkinter import simpledialog
14+
from tkinter import Tk
15+
16+
def RepairSystem():
17+
messagebox.showinfo("RepairSystem", "Repairing System...")
18+
time.sleep(2)
19+
messagebox.showinfo("RepairSystem", "Repair System 1/4... (sfc /scannow)")
20+
os.system("sfc /scannow")
21+
time.sleep(2)
22+
messagebox.showinfo("RepairSystem", "Repair System 2/4... (dism /Online /Cleanup-Image /CheckHealth)")
23+
os.system("dism /Online /Cleanup-Image /CheckHealth")
24+
time.sleep(2)
25+
messagebox.showinfo("RepairSystem", "Repair System 3/4... (dism /Online /Cleanup-Image /ScanHealth)")
26+
os.system("dism /Online /Cleanup-Image /ScanHealth")
27+
time.sleep(2)
28+
messagebox.showinfo("RepairSystem", "Repair System 4/4... (dism /Online /Cleanup-Image /RestoreHealth)")
29+
os.system("dism /Online /Cleanup-Image /RestoreHealth")
30+
time.sleep(2)
31+
messagebox.showinfo("RepairSystem", "Reapiring System done!")

AdWMFuncLib/about_help/about.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/python3
2+
""" Copyright© 2023-2024 LinuxUsersLinuxMint
3+
AdWMGUI Tüm Hakları GPL(Genel Kamu Lisansı) altında korunmaktadır.
4+
AdWMGUI All Rights Reserved under the GPL(General Public License).
5+
Bu Yazılımın Bir Kopyası GİTHUB da yayınlanmaktadır Görüntülemek için: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint
6+
A Copy of This Software is published on GITHUB To view: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint """
7+
8+
from tkinter import *
9+
from _tkinter import TclError
10+
from tkinter import messagebox
11+
from tkinter import filedialog
12+
from tkinter import simpledialog
13+
from tkinter import Tk
14+
15+
def AboutMsgBox():
16+
messagebox.showinfo("About", "AdWMGUI (Advanced Windows Manager GUI) version: 1.0, version_type: GUI Beta (For GUI), licence: GPL2")

AdWMFuncLib/about_help/help.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/python3
2+
""" Copyright© 2023-2024 LinuxUsersLinuxMint
3+
AdWMGUI Tüm Hakları GPL(Genel Kamu Lisansı) altında korunmaktadır.
4+
AdWMGUI All Rights Reserved under the GPL(General Public License).
5+
Bu Yazılımın Bir Kopyası GİTHUB da yayınlanmaktadır Görüntülemek için: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint
6+
A Copy of This Software is published on GITHUB To view: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint """
7+
8+
from tkinter import *
9+
from _tkinter import TclError
10+
from tkinter import messagebox
11+
from tkinter import filedialog
12+
from tkinter import simpledialog
13+
from tkinter import Tk
14+
15+
def HelpMsgBox():
16+
messagebox.showinfo("Help", "Help Web Site: https://linuxuserslinuxmint.github.io/")

adwm.py

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
#!/usr/bin/python3
2+
""" Copyright© 2023-2024 LinuxUsersLinuxMint
3+
AdWMGUI Tüm Hakları GPL(Genel Kamu Lisansı) altında korunmaktadır.
4+
AdWMGUI All Rights Reserved under the GPL(General Public License).
5+
Bu Yazılımın Bir Kopyası GİTHUB da yayınlanmaktadır Görüntülemek için: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint
6+
A Copy of This Software is published on GITHUB To view: https://github.com/LinuxUsersLinuxMint/LinuxUsersLinuxMint """
7+
8+
import AdWMFuncLib.Systemclean
9+
import AdWMFuncLib.Systemrepair
10+
import AdWMFuncLib.about_help.about
11+
import AdWMFuncLib.about_help.help
12+
from tkinter import *
13+
from _tkinter import TclError
14+
from tkinter import messagebox
15+
from tkinter import filedialog
16+
from tkinter import simpledialog
17+
from tkinter import Tk
18+
19+
window = Tk()
20+
window.title("AdWMGUI (Advanced Windows Manager GUI)")
21+
window.geometry("385x30")
22+
window.resizable(FALSE,FALSE)
23+
systemclean = Button(window, text="SystemClean", command=AdWMFuncLib.Systemclean.OpenCleanmgr)
24+
systemclean.pack(side=LEFT)
25+
advancedsystemclean = Button(window, text="DISM WinSxs Folder clean", command=AdWMFuncLib.Systemclean.AdvancedCleanup)
26+
advancedsystemclean.pack(side=LEFT)
27+
systemrepair = Button(window, text="SystemRepair", command=AdWMFuncLib.Systemrepair.RepairSystem)
28+
systemrepair.pack(side=LEFT)
29+
about = Button(window, text="About", command=AdWMFuncLib.about_help.about.AboutMsgBox)
30+
about.pack(side=LEFT)
31+
help = Button(window, text="Help", command=AdWMFuncLib.about_help.help.HelpMsgBox)
32+
help.pack(side=LEFT)
33+
window.mainloop()

0 commit comments

Comments
 (0)