[cmake] changed app id from org.eden_emu.eden to dev.eden_emu.eden (#237)

it is better to match app id with website domain

Reviewed-on: #237
Reviewed-by: crueter <crueter@eden-emu.dev>
Co-authored-by: Guo Yunhe <i@guoyunhe.me>
Co-committed-by: Guo Yunhe <i@guoyunhe.me>
This commit is contained in:
Guo Yunhe 2025-08-31 04:56:23 +02:00 committed by crueter
parent ac30b209e5
commit 656ed8a864
Signed by: crueter
GPG key ID: 425ACD2D4830EBC6
9 changed files with 12 additions and 12 deletions

View file

@ -1,6 +1,6 @@
AppRun AppRun
eden.desktop eden.desktop
org.eden_emu.eden.desktop dev.eden_emu.eden.desktop
shared/bin/eden shared/bin/eden
shared/lib/lib.path shared/lib/lib.path
shared/lib/ld-linux-x86-64.so.2 shared/lib/ld-linux-x86-64.so.2

View file

@ -59,15 +59,15 @@ VERSION="$(echo "$EDEN_TAG")"
mkdir -p ./AppDir mkdir -p ./AppDir
cd ./AppDir cd ./AppDir
cp ../dist/org.eden_emu.eden.desktop . cp ../dist/dev.eden_emu.eden.desktop .
cp ../dist/org.eden_emu.eden.svg . cp ../dist/dev.eden_emu.eden.svg .
ln -sf ./org.eden_emu.eden.svg ./.DirIcon ln -sf ./dev.eden_emu.eden.svg ./.DirIcon
UPINFO='gh-releases-zsync|eden-emulator|Releases|latest|*.AppImage.zsync' UPINFO='gh-releases-zsync|eden-emulator|Releases|latest|*.AppImage.zsync'
if [ "$DEVEL" = 'true' ]; then if [ "$DEVEL" = 'true' ]; then
sed -i 's|Name=Eden|Name=Eden Nightly|' ./org.eden_emu.eden.desktop sed -i 's|Name=Eden|Name=Eden Nightly|' ./dev.eden_emu.eden.desktop
UPINFO="$(echo "$UPINFO" | sed 's|Releases|nightly|')" UPINFO="$(echo "$UPINFO" | sed 's|Releases|nightly|')"
fi fi

View file

@ -6,7 +6,7 @@
which png2icns || [ which yay && yay libicns ] || exit which png2icns || [ which yay && yay libicns ] || exit
which magick || exit which magick || exit
export EDEN_SVG_ICO="dist/org.eden_emu.eden.svg" export EDEN_SVG_ICO="dist/dev.eden_emu.eden.svg"
svgo --multipass $EDEN_SVG_ICO svgo --multipass $EDEN_SVG_ICO
magick -density 256x256 -background transparent $EDEN_SVG_ICO \ magick -density 256x256 -background transparent $EDEN_SVG_ICO \

View file

@ -858,14 +858,14 @@ endif()
# https://specifications.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html # https://specifications.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-latest.html
# https://www.freedesktop.org/software/appstream/docs/ # https://www.freedesktop.org/software/appstream/docs/
if(ENABLE_QT AND UNIX AND NOT APPLE) if(ENABLE_QT AND UNIX AND NOT APPLE)
install(FILES "dist/org.eden_emu.eden.desktop" install(FILES "dist/dev.eden_emu.eden.desktop"
DESTINATION "share/applications") DESTINATION "share/applications")
install(FILES "dist/org.eden_emu.eden.svg" install(FILES "dist/dev.eden_emu.eden.svg"
DESTINATION "share/icons/hicolor/scalable/apps") DESTINATION "share/icons/hicolor/scalable/apps")
# TODO: these files need to be updated. # TODO: these files need to be updated.
install(FILES "dist/org.eden_emu.eden.xml" install(FILES "dist/dev.eden_emu.eden.xml"
DESTINATION "share/mime/packages") DESTINATION "share/mime/packages")
install(FILES "dist/org.eden_emu.eden.metainfo.xml" install(FILES "dist/dev.eden_emu.eden.metainfo.xml"
DESTINATION "share/metainfo") DESTINATION "share/metainfo")
endif() endif()

View file

@ -10,7 +10,7 @@ Type=Application
Name=Eden Name=Eden
GenericName=Switch Emulator GenericName=Switch Emulator
Comment=Nintendo Switch video game console emulator Comment=Nintendo Switch video game console emulator
Icon=org.eden_emu.eden Icon=dev.eden_emu.eden
TryExec=eden TryExec=eden
Exec=eden %f Exec=eden %f
Categories=Game;Emulator;Qt; Categories=Game;Emulator;Qt;

View file

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

Before After
Before After

View file

@ -5757,7 +5757,7 @@ int main(int argc, char* argv[]) {
// Fix the Wayland appId. This needs to match the name of the .desktop file without the .desktop // Fix the Wayland appId. This needs to match the name of the .desktop file without the .desktop
// suffix. // suffix.
QGuiApplication::setDesktopFileName(QStringLiteral("org.eden_emu.eden")); QGuiApplication::setDesktopFileName(QStringLiteral("dev.eden_emu.eden"));
#endif #endif
SetHighDPIAttributes(); SetHighDPIAttributes();