Skip to content

Commit

Permalink
Update executable names to follow new naming scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenSauce04 committed May 13, 2024
1 parent 36b46ce commit 467afbb
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .ci/macos-universal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ BASE_ARTIFACT_ARCH="${BASE_ARTIFACT##*-}"
mv $BASE_ARTIFACT $BUNDLE_DIR

# Executable binary paths that need to be combined.
BIN_PATHS=(lime lime-room lime-qt.app/Contents/MacOS/lime-qt)
BIN_PATHS=(lime3ds-cli lime3ds-room lime3ds-gui.app/Contents/MacOS/lime3ds-gui)

# Dylib paths that need to be combined.
IFS=$'\n'
Expand All @@ -37,7 +37,7 @@ for OTHER_ARTIFACT in "${ARTIFACTS_LIST[@]:1}"; do
done

# Re-sign executables and bundles after combining.
APP_PATHS=(lime lime-room lime-qt.app)
APP_PATHS=(lime3ds-cli lime3ds-room lime3ds-gui.app)
for APP_PATH in "${APP_PATHS[@]}"; do
codesign --deep -fs - $BUNDLE_DIR/$APP_PATH
done
4 changes: 2 additions & 2 deletions dist/lime3ds-cli.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ GenericName[fr]=Émulateur 3DS
Comment=Nintendo 3DS video game console emulator
Comment[fr]=Émulateur de console de jeu Nintendo 3DS
Icon=lime
TryExec=lime
Exec=lime %f
TryExec=lime3ds-cli
Exec=lime3ds-cli %f
Categories=Game;Emulator;
MimeType=application/x-ctr-3dsx;application/x-ctr-cci;application/x-ctr-cia;application/x-ctr-cxi;
Keywords=3DS;Nintendo;
Expand Down
4 changes: 2 additions & 2 deletions dist/lime3ds-gui.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ GenericName[fr]=Émulateur 3DS
Comment=Nintendo 3DS video game console emulator
Comment[fr]=Émulateur de console de jeu Nintendo 3DS
Icon=lime
TryExec=lime-qt
Exec=lime-qt %f
TryExec=lime3ds-gui
Exec=lime3ds-gui %f
Categories=Game;Emulator;Qt;
MimeType=application/x-ctr-3dsx;application/x-ctr-cci;application/x-ctr-cia;application/x-ctr-cxi;
Keywords=3DS;Nintendo;
Expand Down
4 changes: 2 additions & 2 deletions dist/lime3ds-room.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Type=Application
Name=Lime3DS Room
Comment=Multiplayer room host for Lime3DS
Icon=lime
TryExec=lime-room
Exec=lime-room %f
TryExec=lime3ds-room
Exec=lime3ds-room %f
Categories=Game;Emulator;
Keywords=3DS;Nintendo
2 changes: 2 additions & 0 deletions src/dedicated_room/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ add_executable(lime-room
lime-room.rc
)

set_target_properties(lime-room PROPERTIES OUTPUT_NAME "lime3ds-room")

create_target_directory_groups(lime-room)

target_link_libraries(lime-room PRIVATE lime_common network)
Expand Down
2 changes: 2 additions & 0 deletions src/lime/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ add_executable(lime
resource.h
)

set_target_properties(lime PROPERTIES OUTPUT_NAME "lime3ds-cli")

if (ENABLE_SOFTWARE_RENDERER)
target_sources(lime PRIVATE
emu_window/emu_window_sdl2_sw.cpp
Expand Down
2 changes: 2 additions & 0 deletions src/lime_qt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,8 @@ add_executable(lime-qt
util/util.h
)

set_target_properties(lime-qt PROPERTIES OUTPUT_NAME "lime3ds-gui")

file(GLOB COMPAT_LIST
${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.qrc
${PROJECT_BINARY_DIR}/dist/compatibility_list/compatibility_list.json)
Expand Down

0 comments on commit 467afbb

Please sign in to comment.