Release 1.0

This commit is contained in:
YourSandwich 2021-05-02 15:43:51 +02:00
parent 5911c11475
commit 4d0566b487
2 changed files with 11 additions and 13 deletions

View File

@ -1,9 +1,16 @@
# KernelChan # KernelChan
A Linux Kernel Manager for ArchLinux A Linux Kernel Manager for ArchLinux
This Project is FOSS do with it, waht you want. This Project is FOSS do with it, waht you want.
This is my first time using PySide/PyQt. This is my first time using PySide/PyQt.
Progress: Compilation dependencies:
https://imgur.com/a/z4F6pM7 Python3
PySide2
python-beautifulsoup4
PyInstaller
Compilation:
pyinstaller --name="KernelChan" --icon=icon.png --onefile --windowed main.py

13
main.py
View File

@ -3,20 +3,15 @@ from PySide2.QtGui import QGuiApplication, QIcon, QFont
from getKernelInfo import KernelVerList, KernelURL from getKernelInfo import KernelVerList, KernelURL
import sys,os,time import sys,os,time
#!!! If you run it as Sudo it will install you the Kernel
#! Base #! Base
# TODO: Fix InstallationWindow wired behavior. # TODO: Fix InstallationWindow wired behavior.
# TODO: Implement resizable Windows # TODO: Implement resizable Windows
# TODO: Clean the code. # TODO: Clean the code.
# TODO: Fix KernelVer sorting # TODO: Fix KernelVer sorting
# TODO: First Release 1.0
# TODO: Aur Package # TODO: Aur Package
#! Features #! 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: Being able to choose download destination?
# TODO: Add Linux Headers, as optional download. # TODO: Add Linux Headers, as optional download.
# TODO: Asking for Sudo # TODO: Asking for Sudo
@ -96,8 +91,7 @@ class InstallProcess(QWidget):
def Installation(self): def Installation(self):
#! It works #! It works
os.system("wget "+ URL + " -P ~/ && pacman -U "+ URL + " --noconfirm") os.system("wget "+ URL + " -P ~/ && pacman -U "+ URL + " --noconfirm")
os.system("echo it works!") print("Installation finished!")
print("done")
def center(self): def center(self):
qRect = self.frameGeometry() qRect = self.frameGeometry()
@ -126,9 +120,6 @@ def selected():
URL = [name for name in KernelURL if TheSelect in name] URL = [name for name in KernelURL if TheSelect in name]
URL = '+'.join(URL).strip("'['']'").split("+", 1)[0] URL = '+'.join(URL).strip("'['']'").split("+", 1)[0]
print(URL)
def main(): def main():
global App,window global App,window
App = QApplication(sys.argv) App = QApplication(sys.argv)