@@ -350,7 +350,7 @@ def parse_version_info(version_path):
350
350
351
351
# Copy .desktop file, replacing Exec= commandline
352
352
desk_in = os .path .join (PATH , "xdg" , "org.openshot.OpenShot.desktop" )
353
- desk_out = os .path .join (app_dir_path , "openshot-qt .desktop" )
353
+ desk_out = os .path .join (app_dir_path , "org. openshot.OpenShot .desktop" )
354
354
with open (desk_in , "r" ) as inf , open (desk_out , "w" ) as outf :
355
355
for line in inf :
356
356
if line .startswith ("Exec=" ):
@@ -364,12 +364,12 @@ def parse_version_info(version_path):
364
364
desktop_wrapper = os .path .join (app_dir_path , "usr" , "bin" , "openshot-qt.wrapper" )
365
365
shutil .copyfile ("/home/ubuntu/apps/AppImageKit/desktopintegration" , desktop_wrapper )
366
366
367
- # Copy encodings folder
368
- #shutil.copytree(os.path.join(app_dir_path, "usr", "bin", "lib", "encodings"),
369
- # os.path.join(app_dir_path, "usr", "bin", "encodings"))
370
-
371
- # Create AppRun file
367
+ # Create symlink for AppRun (our openshot-qt-launch script)
372
368
app_run_path = os .path .join (app_dir_path , "AppRun" )
369
+ os .symlink (os .path .relpath (launcher_path , app_dir_path ), app_run_path )
370
+
371
+ # Create AppRun.64 file (the real one)
372
+ app_run_path = os .path .join (app_dir_path , "AppRun.64" )
373
373
shutil .copyfile ("/home/ubuntu/apps/AppImageKit/AppRun" , app_run_path )
374
374
375
375
# Add execute bit to file mode for AppRun and scripts
0 commit comments