Fiexed for Fedora 39

binary is obsolete
added requierements.txt + preinstall.sh
This commit is contained in:
mal0
2024-03-28 22:31:30 -04:00
parent 8c97ad6871
commit 4326d565d7
5 changed files with 73 additions and 13 deletions
+5
View File
@@ -0,0 +1,5 @@
project_vnv
build
dist
rice-cook.spec
+21 -3
View File
@@ -32,10 +32,28 @@ ________________________________________________________________________________
![](images/a.png)
# How to run :
- copy binary from [releases](https://github.com/acidburnmonkey/rice-cook/releases) and data.txt into a dotfiles backup forlder
- Must run with sudo -HE flags
```
sudo -HE ./rice-cook
git clone https://github.com/acidburnmonkey/rice-cook.git && cd rice-cook
```
```
chmod +x preinstall.sh && sudo ./preinstall.sh
```
```
sudo pip3 install -r requierements.txt
```
### Now move rice-cook.py & data.txt into dofiles directry and run it:
```
sudo python3 rice-cook.py
```
Should look like this .
```
|-dotfiles
|---nvim
|---ranger
|---etc...
|---data.txt
|---rice-cook.py
```
## Donate
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
#check for update and cash them
sudo dnf check-update
# DNF reqs
sudo dnf install -y python3-tkinter python3-devel python3-pip
#pip
python3 -m pip3 install --upgrade pip
+24
View File
@@ -0,0 +1,24 @@
beautifulsoup4==4.12.3
certifi==2024.2.2
charset-normalizer==3.3.2
filelock==3.13.3
gdown==5.1.0
idna==3.6
markdown-it-py==3.0.0
mdurl==0.1.2
MouseInfo==0.1.3
PyAutoGUI==0.9.54
PyGetWindow==0.0.9
Pygments==2.17.2
PyMsgBox==1.0.9
pyperclip==1.8.2
PyRect==0.2.0
PyScreeze==0.1.30
PySocks==1.7.1
python3-xlib==0.15
pytweening==1.2.0
requests==2.31.0
rich==13.7.1
soupsieve==2.5
tqdm==4.66.2
urllib3==2.2.1
+11 -9
View File
@@ -36,21 +36,23 @@ console = Console(theme=ap_theme)
user = os.getlogin()
home = os.path.join('/home',user)
def main():
setup = ''
confirm_user =''
# confirm_user =''
local_user = user
sudo_check()
console.print(f"Setting up for user {user} ", style='promp')
while(True):
confirm_user = input(" y/n ")
if (confirm_user.lower() == 'n'):
user = imput('Type username : ')
continue
elif (confirm_user.lower() == 'y'):
break
console.print(f"Setting up for user {local_user} ", style='promp')
# while(True):
# confirm_user = input(" y/n ")
# if (confirm_user.lower() == 'n'):
# user := input('Type username : ')
# continue
# elif (confirm_user.lower() == 'y'):
# break
#set temporary resolution for sesion