From 4d0566b487f25f91431464073989d69d19b9a3e2 Mon Sep 17 00:00:00 2001 From: YourSandwich Date: Sun, 2 May 2021 15:43:51 +0200 Subject: [PATCH] Release 1.0 --- README.md | 11 +++++++++-- main.py | 13 ++----------- 2 files changed, 11 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 67ceba4..e0fd274 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,16 @@ # KernelChan + A Linux Kernel Manager for ArchLinux This Project is FOSS do with it, waht you want. This is my first time using PySide/PyQt. -Progress: -https://imgur.com/a/z4F6pM7 +Compilation dependencies: +Python3 +PySide2 +python-beautifulsoup4 +PyInstaller + +Compilation: +pyinstaller --name="KernelChan" --icon=icon.png --onefile --windowed main.py diff --git a/main.py b/main.py index 83126db..3d74acc 100644 --- a/main.py +++ b/main.py @@ -3,20 +3,15 @@ from PySide2.QtGui import QGuiApplication, QIcon, QFont from getKernelInfo import KernelVerList, KernelURL import sys,os,time -#!!! If you run it as Sudo it will install you the Kernel - - #! Base # TODO: Fix InstallationWindow wired behavior. # TODO: Implement resizable Windows # TODO: Clean the code. # TODO: Fix KernelVer sorting - -# TODO: First Release 1.0 # TODO: Aur Package #! Features -# TODO: Being able to se what is currently installed. +# TODO: Being able to see what is currently installed. # TODO: Being able to choose download destination? # TODO: Add Linux Headers, as optional download. # TODO: Asking for Sudo @@ -96,8 +91,7 @@ class InstallProcess(QWidget): def Installation(self): #! It works os.system("wget "+ URL + " -P ~/ && pacman -U "+ URL + " --noconfirm") - os.system("echo it works!") - print("done") + print("Installation finished!") def center(self): qRect = self.frameGeometry() @@ -126,9 +120,6 @@ def selected(): URL = [name for name in KernelURL if TheSelect in name] URL = '+'.join(URL).strip("'['']'").split("+", 1)[0] - print(URL) - - def main(): global App,window App = QApplication(sys.argv)