Skip to content

Commit

Permalink
Last update of the gitenk projects
Browse files Browse the repository at this point in the history
  • Loading branch information
robertocarlosmedina committed Oct 7, 2021
1 parent 3d8714d commit d18b20d
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
Binary file modified gitenk.deb
Binary file not shown.
7 changes: 4 additions & 3 deletions gitenk/DEBIAN/postinst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ sudo mandb

echo "\nDependencies installation:"

@REM sudo apt install python3-pip &
pip3 install pynput &
pip install stdiomask &
apt install figlet &
apt install lolcat &
pip3 install stdiomask &
sudo apt install figlet &
sudo apt install lolcat &
4 changes: 2 additions & 2 deletions gitenk/usr/bin/gitenk
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ then
figlet -f slant -k -c gitenk | lolcat -a -d 1
figlet -f term -k -c Roberto Carlos Medina | lolcat -a -d 1
figlet -f term -k -c [email protected] | lolcat
figlet -f circle -k -c 2021 | lolcat
figlet -f term -c Use 'gitenk help' to get help.
figlet -f term -k -c 2021 | lolcat
figlet -f term -c Use "gitenk help" to get help.
echo ""
else
if [ -z "$2" ]
Expand Down
6 changes: 6 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
from src.taskHandler import FunctionThreadTask
from src.action import GitAction


gitAction = GitAction()
# List of the possible commands for the package and their possible
# subcommands that can be used
Expand Down Expand Up @@ -75,3 +76,8 @@

if(not validOperation):
print("gitenk error: command error.")

# commands to be used
# dpkg-deb --build gitenk
# sudo apt purge gitenk
# sudo dpkg -i gitenk.deb
1 change: 0 additions & 1 deletion src/authetication.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ def changeCedentials(self,newUserName=None,newToken=None):
elif(newToken != None):
username = self.readCredentials()[0]
file_credentials = open("/usr/bin/credentials.txt", "w")
print(newToken)
file_credentials.write(f"{username[0:-1]}")
file_credentials.write("\n")
file_credentials.write(f"{newToken}")
Expand Down

0 comments on commit d18b20d

Please sign in to comment.