Add one more AppImage asset path

This commit is contained in:
RichardG867
2025-12-20 16:42:07 -03:00
parent c9d38549ef
commit 401a9165ab

View File

@@ -1048,11 +1048,13 @@ usage:
asset_add_path(temp);
}
#elif !defined(_WIN32)
// Add the standard asset path within the AppImage.
// Add the standard asset paths within the AppImage.
p = getenv("APPDIR");
if (p && (p[0] != '\0')) {
path_append_filename(temp, p, "usr/local/share/" EMU_NAME "/assets");
asset_add_path(temp);
path_append_filename(temp, p, "usr/share/" EMU_NAME "/assets");
asset_add_path(temp);
}
#endif