Skip to content

Commit

Permalink
Version: 0.1.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuel-de-Oliveira committed Sep 17, 2021
1 parent d4bbdf1 commit 932cc5c
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 20 deletions.
4 changes: 2 additions & 2 deletions Main.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

with open('lib/setting.json', 'r') as f: setting = json.loads(f.read())
consoleClear()
print('CanUseTimer Terminal\'s version: 0.1.4.1 BETA.\n'
print('CanUseTimer\'s version: 0.1.4.1 BETA.\n'
'This software is open to free use and study code,\n'
'for more info: https://github.com/samuel-de-oliveira/CanUseTimer-Terminal.\n')
'for more info: https://github.com/samuel-de-oliveira/CanUseTimer.\n')

while True:
line(style='double_line')
Expand Down
18 changes: 12 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# CanUseTimer-Terminal ![Logo](Images/CanUseTimerLogo.png)
# CanUseTimer ![Logo](Images/CanUseTimerLogo.png)

---
## What is it?
Expand All @@ -8,18 +8,23 @@ this the program is soft and run anywhere, it means that can run in
probally any computer with bad hardware and any operating system
(Windows, Linux and MacOS X). In future I will create a grafical
interface based in it, but I don't know a good grafical interface
Library or API to use in my project
Library or API to use in my project, but probally not will come in
few days.

If you want to know how to install or configure or do something in
the program, you need to read the [wiki](https://github.com/samuel-de-oliveira/CanUseTimer-terminal/wiki)
to know more about the program, have wiki for every OS. If you want
to help with something you can make forks or report errors in github
site, you will help a lot :wink:.

---
## Release notes (0.1.4.1) 🗒️
- Times List updated;
- config file added(read wiki to know more about);
- The name of project is CanUseTimer and not CanUseTimer-Terminal anymore (The terminal version will be official);
- +2 penalty added;
- Bug fixes.

---
### How to install?
To install you need see the [wiki](https://github.com/Samuel-de-Oliveira/CanUseTimer-Terminal/wiki)

---
## Why use?
- Lightweight program (Almost 120Kb of space);
Expand All @@ -41,3 +46,4 @@ To install you need see the [wiki](https://github.com/Samuel-de-Oliveira/CanUseT
**Version: 0.1.4.1 BETA**

##### Created by: *Samuel de Oliveira 2021*
##### follow me for more!
12 changes: 6 additions & 6 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ if [ $num == 'y' ] || [ $num == 'Y' ]; then
# Is more simple than you think
echo -e "\nThe installing starts!\n"

if [ ! -d /opt/CanUseTimer-Terminal/ ]; then
if [ ! -d /opt/CanUseTimer/ ]; then
echo "Creating main directorie in /opt/..."
sudo mkdir /opt/CanUseTimer-Terminal
sudo mkdir /opt/CanUseTimer
fi

echo "Creating Keyboard Python lib..."
sudo cp -rf python-libs/keyboard/ /opt/CanUseTimer-Terminal/
sudo cp -rf python-libs/keyboard/ /opt/CanUseTimer/

echo "Creating executer..."
sudo cp lib/canusetimer-terminal /usr/bin/
sudo cp lib/canusetimer /usr/bin/

echo "Coping files..."
sudo cp *.py /opt/CanUseTimer-Terminal/
sudo cp *.py /opt/CanUseTimer/

echo "Coping libs..."
sudo cp -rf lib/ /opt/CanUseTimer-Terminal/
sudo cp -rf lib/ /opt/CanUseTimer/

echo -e "\nEverything is done!\n"

Expand Down
12 changes: 6 additions & 6 deletions uninstall.sh
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
#!/bin/bash
#-*------------------ The CanUseTimer Uninstaller ------------------*-#

echo -e "\nEverything in /opt/CanUseTimer-Terminal will be removed, are you sure? [Y/n]"; read num
echo -e "\nEverything in /opt/CanUseTimer will be removed, are you sure? [Y/n]"; read num

if [ $num == 'y' ] || [ $num == 'Y' ]; then

# The script only remove the CanUseTimer-Terminal directory from /opt/ and executer from /bin/
# The script only remove the CanUseTimer directory from /opt/ and executer from /bin/

echo -e "\nRemoving the program...\n"

if [ -f /usr/bin/canusetimer-terminal ]; then
if [ -f /usr/bin/canusetimer ]; then
echo "Removing executer..."
sudo rm /usr/bin/canusetimer-terminal
sudo rm /usr/bin/canusetimer
fi
if [ -d /opt/CanUseTimer-Terminal/ ]; then
if [ -d /opt/CanUseTimer/ ]; then
echo "Removing directory..."
sudo rm -rf /opt/CanUseTimer-Terminal/
sudo rm -rf /opt/CanUseTimer/
fi
echo -e "\nEverything is removed!\n"

Expand Down

0 comments on commit 932cc5c

Please sign in to comment.