Skip to content

Commit

Permalink
Adding debug statement cos i have no idea
Browse files Browse the repository at this point in the history
  • Loading branch information
Nadeem-05 committed May 28, 2024
1 parent 7a89095 commit cb08f2b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src-tauri/py/rename.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
os.rename(src_path, dest_path)
elif platform == "darwin":
import platform
print(platform.processor())
if platform.processor() == "i386":
src_path = 'src-tauri/sidecars/apps'
dest_path = 'src-tauri/sidecars/apps-x86_64-apple-darwin'
Expand All @@ -20,5 +21,5 @@
elif platform == "win32":
src_path = f'src-tauri/sidecars/apps.exe'
dest_path = f'src-tauri/sidecars/apps-x86_64-pc-windows-msvc.exe'
os.rename()
os.rename(src_path, dest_path)

0 comments on commit cb08f2b

Please sign in to comment.