@@ -328,19 +328,19 @@ def parse_version_info(version_path):
328
328
os .makedirs (os .path .join (app_dir_path , "usr" ), exist_ok = True )
329
329
330
330
# Install program icon
331
- shutil . copyfile ( os .path .join (PATH , "xdg" , "openshot-qt.svg" ),
332
- os .path .join (app_dir_path , "openshot-qt.svg " ))
331
+ icon_256_png = os .path .join (PATH , "xdg" , "icon" , "256" , " openshot-qt.png" )
332
+ shutil . copyfile ( icon_256_png , os .path .join (app_dir_path , "openshot-qt.png " ))
333
333
334
- # Install .DirIcon AppImage icon (used on some distros such as Chrome OS)
334
+ # Install .DirIcon AppImage icon
335
335
# See: https://docs.appimage.org/reference/appdir.html
336
- shutil .copyfile (os .path .join (PATH , "xdg" , "icon" , "256" , "openshot-qt.png" ),
337
- os .path .join (app_dir_path , ".DirIcon" ))
336
+ # SVG icon not supported on Chrome OS (with AppImage desktop integration)
337
+ # PNG is assumed with desktop integration
338
+ shutil .copyfile (icon_256_png , os .path .join (app_dir_path , ".DirIcon" ))
338
339
339
340
dest = os .path .join (app_dir_path , "usr" , "share" , "pixmaps" )
340
341
os .makedirs (dest , exist_ok = True )
341
342
342
- shutil .copyfile (os .path .join (PATH , "xdg" , "openshot-qt.svg" ),
343
- os .path .join (dest , "openshot-qt.svg" ))
343
+ shutil .copyfile (icon_256_png , os .path .join (dest , "openshot-qt.png" ))
344
344
345
345
# Install MIME handler
346
346
dest = os .path .join (app_dir_path , "usr" , "share" , "mime" , "packages" )
0 commit comments