Skip to content

Commit

Permalink
handle keyboard interrupts
Browse files Browse the repository at this point in the history
  • Loading branch information
pepeloni-away committed Nov 6, 2023
1 parent 44148ea commit 89e68c0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion revanced.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,4 +485,7 @@ def main():
subprocess.run(base_command)

if __name__ == "__main__":
main()
try:
main()
except KeyboardInterrupt:
print("\n\nThe script was interrupted by the user.")

0 comments on commit 89e68c0

Please sign in to comment.