11from lastversion import latest
22from getpass import getpass
3+ from rich .console import Console
4+ c = Console ()
35
46#class for storing download data on individual download links
57class Dwn :
@@ -28,19 +30,19 @@ def assembleUrl(self, missing):
2830#this functions displays info on a specific tool
2931def showInfo (tool ):
3032 # print basic info
31- print (f"Name: { tool .name } " )
32- if tool .command == 1 : print ("Download links:" )
33- elif tool .command == 2 : print ("Powershell commands:" )
34- elif tool .command == 3 : print ("Links that will open:" )
35- elif tool .command == 4 : print ("Links that will be retrieved:" )
36- elif tool .command == 5 : print ("Will be written to a new file:" )
37- for i in range (len (tool .dwn )): print (f"\t { tool .getDwn (i )} " )
33+ c . print (f"Name: { tool .name } " )
34+ if tool .command == 1 : c . print ("Download links:" )
35+ elif tool .command == 2 : c . print ("Powershell commands:" )
36+ elif tool .command == 3 : c . print ("Links that will open:" )
37+ elif tool .command == 4 : c . print ("Links that will be retrieved:" )
38+ elif tool .command == 5 : c . print ("Will be written to a new file:" )
39+ for i in range (len (tool .dwn )): c . print (f"\t { tool .getDwn (i )} " )
3840
3941 #check if tool.info leads to a website, if not, print it
4042
41- print ("Additional info:" )
42- if tool .info == "" : print ("\t whoopsie, we dont have any additional info on this tool :/" )
43- else : print (f"\t { tool .info } " )
43+ c . print ("Additional info:" )
44+ if tool .info == "" : c . print ("\t whoopsie, we dont have any additional info on this tool :/" )
45+ else : c . print (f"\t { tool .info } " )
4446
4547 getpass ("\n ... press ENTER to continue ..." , stream = None )
4648
@@ -66,9 +68,9 @@ def __init__(self, name, code, command, gotLatest, latestfn, info, dwn):
6668
6769 def getLatest (self ):
6870 if not self .gotlatest :
69- print ("Checking for latest version..." )
71+ c . print ("Checking for latest version..." )
7072 self .latest = self .latestfn ()
71- print (f"Found it: { self .latest } " )
73+ c . print (f"Found it: { self .latest } " )
7274 self .gotlatest = True
7375
7476 def getDwn (self , num ):
@@ -897,8 +899,8 @@ def getDesc(self, num):
897899 r"https://archlinux.org/" ,
898900 [
899901 Dwn (
900- "Arch-2023.11 .01.iso" , "Latest" , "Arch 2023.11 .01" ,
901- r"https://mirror.rackspace.com/archlinux/iso/2023.11 .01/archlinux-2023.11 .01-x86_64.iso"
902+ "Arch-2023.12 .01.iso" , "Latest" , "Arch 2023.12 .01" ,
903+ r"https://mirror.rackspace.com/archlinux/iso/2023.12 .01/archlinux-2023.12 .01-x86_64.iso"
902904 )
903905 ]
904906 ),
@@ -998,11 +1000,11 @@ def getDesc(self, num):
9981000 [
9991001 Dwn (
10001002 "CachyOS KDE" , "KDE Plasma" , "CachyOS-KDE.iso" ,
1001- r"https://mirror.cachyos.org/ISO/kde/231118 /cachyos-kde-linux-231118 .iso"
1003+ r"https://mirror.cachyos.org/ISO/kde/231210 /cachyos-kde-linux-231210 .iso"
10021004 ),
10031005 Dwn (
10041006 "CachyOS GNOME" , "GNOME" , "CachyOS-GNOME.iso" ,
1005- r"https://mirror.cachyos.org/ISO/gnome/231118 /cachyos-gnome-linux-231118 .iso"
1007+ r"https://mirror.cachyos.org/ISO/gnome/231210 /cachyos-gnome-linux-231210 .iso"
10061008 ),
10071009 # Dwn(
10081010 # "CachyOS Xfce", "Xfce", "CachyOS-Xfce.iso",
0 commit comments