diff --git a/.github/workflows/scripts/linux/appimage-qt.sh b/.github/workflows/scripts/linux/appimage-qt.sh index 1c6951dc2c..d454f02cd0 100755 --- a/.github/workflows/scripts/linux/appimage-qt.sh +++ b/.github/workflows/scripts/linux/appimage-qt.sh @@ -37,7 +37,7 @@ BUILDDIR=$2 DEPSDIR=$3 NAME=$4 -BINARY=pcsx2-qt +BINARY=yaps2-qt APPDIRNAME=PCSX2.AppDir STRIP=strip @@ -111,7 +111,7 @@ EXTRA_PLATFORM_PLUGINS="libqwayland.so" \ DEPLOY_PLATFORM_THEMES="1" \ QMAKE="$DEPSDIR/bin/qmake" \ NO_STRIP="1" \ -$LINUXDEPLOY --plugin qt --appdir="$OUTDIR" --executable="$BUILDDIR/bin/pcsx2-qt" ${EXTRA_LIBS_ARGS[@]} \ +$LINUXDEPLOY --plugin qt --appdir="$OUTDIR" --executable="$BUILDDIR/bin/yaps2-qt" ${EXTRA_LIBS_ARGS[@]} \ --desktop-file="net.pcsx2.PCSX2.desktop" --icon-file="PCSX2.png" echo "Copying resources into AppDir..." diff --git a/.github/workflows/scripts/linux/flatpak/net.pcsx2.PCSX2.json b/.github/workflows/scripts/linux/flatpak/net.pcsx2.PCSX2.json index 729766901a..89613b1f9c 100644 --- a/.github/workflows/scripts/linux/flatpak/net.pcsx2.PCSX2.json +++ b/.github/workflows/scripts/linux/flatpak/net.pcsx2.PCSX2.json @@ -14,7 +14,7 @@ "autodownload": true } }, - "command": "pcsx2-qt", + "command": "yaps2-qt", "finish-args": [ "--device=all", "--share=network", diff --git a/.github/workflows/scripts/linux/pcsx2-qt.desktop b/.github/workflows/scripts/linux/pcsx2-qt.desktop index 30ae545b42..213d7c0b6a 100644 --- a/.github/workflows/scripts/linux/pcsx2-qt.desktop +++ b/.github/workflows/scripts/linux/pcsx2-qt.desktop @@ -6,7 +6,7 @@ Name=PCSX2 StartupWMClass=PCSX2 GenericName=PlayStation 2 Emulator Comment=Sony PlayStation 2 emulator -Exec=pcsx2-qt +Exec=yaps2-qt Icon=PCSX2 Keywords=game;emulator; Categories=Game;Emulator; diff --git a/pcsx2-qt/CMakeLists.txt b/pcsx2-qt/CMakeLists.txt index 32af247c82..53f16f799c 100644 --- a/pcsx2-qt/CMakeLists.txt +++ b/pcsx2-qt/CMakeLists.txt @@ -367,6 +367,11 @@ endif() fixup_file_properties(pcsx2-qt) setup_main_executable(pcsx2-qt) +# yaps2 fork: emit the application binary as "yaps2-qt" instead of "pcsx2-qt". +# The CMake target stays named pcsx2-qt so the build graph, install() rules and +# ctest references are untouched; only the produced file name changes. +set_target_properties(pcsx2-qt PROPERTIES OUTPUT_NAME "yaps2-qt") + # Opt-in non-PIE link for cross-run VU program cache validation. # A PIE build is loaded at an ASLR-randomized image base, so a cached # program's recorded image base mismatches on every cold boot and diff --git a/pcsx2-sdl/CMakeLists.txt b/pcsx2-sdl/CMakeLists.txt index 1ddcf8406a..4aba6a4639 100644 --- a/pcsx2-sdl/CMakeLists.txt +++ b/pcsx2-sdl/CMakeLists.txt @@ -1,5 +1,9 @@ add_executable(pcsx2-sdl) +# yaps2 fork: emit the handheld frontend binary as "yaps2-sdl" instead of +# "pcsx2-sdl". Target name stays pcsx2-sdl; only the produced file changes. +set_target_properties(pcsx2-sdl PROPERTIES OUTPUT_NAME "yaps2-sdl") + if (PACKAGE_MODE) install(TARGETS pcsx2-sdl DESTINATION ${CMAKE_INSTALL_BINDIR}) else()