Release 1.0
This commit is contained in:
parent
5911c11475
commit
4d0566b487
11
README.md
11
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
|
||||
|
13
main.py
13
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)
|
||||
|
Loading…
Reference in New Issue
Block a user