Skip to content

Commit

Permalink
Merge pull request #15 from felipealfonsog/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
felipealfonsog authored Feb 21, 2024
2 parents 9321ed8 + 2f67d97 commit b27425b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/upd8all_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def main():

# Request sudo password at the start of the program
sudo_password = getpass.getpass(prompt="Enter your sudo password: ")
print() # Add a newline after entering the password

# Update packages
update_pacman(sudo_password)
Expand Down Expand Up @@ -115,6 +116,7 @@ def main():
# Check if the user wants to quit
if selected_option == 'q':
print("Exiting the program.")
timer_thread.cancel() # Cancel the timer immediately
sys.exit(0)

package_manager = ""
Expand Down
2 changes: 2 additions & 0 deletions src/upd8all_updater_unstable.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ def main():

# Request sudo password at the start of the program
sudo_password = getpass.getpass(prompt="Enter your sudo password: ")
print() # Add a newline after entering the password

# Update packages
update_pacman(sudo_password)
Expand Down Expand Up @@ -115,6 +116,7 @@ def main():
# Check if the user wants to quit
if selected_option == 'q':
print("Exiting the program.")
timer_thread.cancel() # Cancel the timer immediately
sys.exit(0)

package_manager = ""
Expand Down

0 comments on commit b27425b

Please sign in to comment.