Spaces:
Running
Running
admin commited on
Commit ·
2f53199
1
Parent(s): 80687d5
Auto sync at 2026-05-02 15:30:11
Browse files
utils.py
CHANGED
|
@@ -66,7 +66,7 @@ SHARE_WEIGHTS = False # Whether to share weights between the encoder and decode
|
|
| 66 |
|
| 67 |
if sys.platform.startswith("linux"):
|
| 68 |
apkname = "MuseScore.AppImage"
|
| 69 |
-
shutil.move(f"{MODEL_DIR}/{apkname}", "./")
|
| 70 |
extra_dir = "squashfs-root"
|
| 71 |
if not os.path.exists(extra_dir):
|
| 72 |
subprocess.run(["chmod", "+x", f"./{apkname}"])
|
|
|
|
| 66 |
|
| 67 |
if sys.platform.startswith("linux"):
|
| 68 |
apkname = "MuseScore.AppImage"
|
| 69 |
+
shutil.move(os.path.realpath(f"{MODEL_DIR}/{apkname}"), f"./{apkname}")
|
| 70 |
extra_dir = "squashfs-root"
|
| 71 |
if not os.path.exists(extra_dir):
|
| 72 |
subprocess.run(["chmod", "+x", f"./{apkname}"])
|