Skip to content

Commit 8333c90

Browse files
authored
Merge pull request #3801 from OpenShot/fix-appimage-icon
Adding .DirIcon to root of AppImage (a 256x256 PNG icon)
2 parents 9f25e92 + 1a5550e commit 8333c90

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

installer/build-server.py

+5
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,11 @@ def parse_version_info(version_path):
331331
shutil.copyfile(os.path.join(PATH, "xdg", "openshot-qt.svg"),
332332
os.path.join(app_dir_path, "openshot-qt.svg"))
333333

334+
# Install .DirIcon AppImage icon (used on some distros such as Chrome OS)
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"))
338+
334339
dest = os.path.join(app_dir_path, "usr", "share", "pixmaps")
335340
os.makedirs(dest, exist_ok=True)
336341

0 commit comments

Comments
 (0)