Skip to content

Commit e9401d6

Browse files
committed
change executable name (uc2 → uncso2)
1 parent dbb6adb commit e9401d6

3 files changed

Lines changed: 9 additions & 7 deletions

File tree

CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ set(CMAKE_AUTOUIC ON)
7979
set(CMAKE_AUTOUIC_SEARCH_PATHS "${UNCSO2_ROOT_DIR}/resources/layouts")
8080

8181
#
82-
# add source files to the project
82+
# Add source files to the project
8383
#
8484
set(UNCSO2_SOURCES_BASE
8585
"sources/archivebasenode.cpp"
@@ -145,7 +145,8 @@ set(UNCSO2_RESOURCES "resources/icons-uncso2.qrc")
145145
set(UNCSO2_RESOURCES_BREEZE "resources/icons-breeze.qrc")
146146

147147
set(UNCSO2_RESOURCES_LAYOUTS
148-
"resources/layouts/aboutdialog.ui" "resources/layouts/loadindexdialog.ui"
148+
"resources/layouts/aboutdialog.ui"
149+
"resources/layouts/loadindexdialog.ui"
149150
"resources/layouts/mainwindow.ui"
150151
"resources/layouts/pkgpropertiesdialog.ui")
151152

@@ -194,6 +195,7 @@ if(WIN32)
194195
else()
195196
add_executable(uc2 ${UNCSO2_ALL_SOURCES})
196197
endif()
198+
set_target_properties(uc2 PROPERTIES OUTPUT_NAME "uncso2")
197199

198200
# add fallback menu icons
199201
add_dependencies(uc2 icons-breeze)
@@ -231,7 +233,7 @@ target_include_directories(uc2 PRIVATE "headers/layouts")
231233
target_include_directories(uc2 PRIVATE ${UNCSO2_GENERATED_DIR})
232234

233235
#
234-
# link libraries
236+
# Link libraries
235237
#
236238
target_include_directories(uc2 PRIVATE "${UNCSO2_LIB_GSL_DIR}/include")
237239

tf.harmony.UnCSO2.desktop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[Desktop Entry]
22
Type=Application
33
Name=UnCSO2
4-
Exec=uc2 %f
4+
Exec=uncso2 %f
55
Icon=tf.harmony.UnCSO2
66
Comment=Extract Counter-Strike: Online 2 and Titanfall Online game files
77
Terminal=false

tf.harmony.UnCSO2.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ id: tf.harmony.UnCSO2
22
runtime: org.kde.Platform
33
runtime-version: '6.10'
44
sdk: org.kde.Sdk
5-
command: uc2
5+
command: uncso2
66
finish-args:
77
- --socket=wayland
88
- --socket=fallback-x11
99
- --share=ipc
1010
- --device=dri
1111
modules:
12-
- name: uc2
12+
- name: uncso2
1313
buildsystem: cmake-ninja
1414
#builddir: true
1515
config-opts:
@@ -33,5 +33,5 @@ modules:
3333
- install -Dm644 ${FLATPAK_ID}.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop
3434
- install -Dm644 ${FLATPAK_ID}.svg ${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg
3535
#- install -Dm644 ${FLATPAK_ID}-mime.xml ${FLATPAK_DEST}/share/mime/packages/${FLATPAK_ID}-mime.xml
36-
- install -Dm755 uc2 ${FLATPAK_DEST}/bin/uc2
36+
- install -Dm755 uncso2 ${FLATPAK_DEST}/bin/uncso2
3737
- install -Dm755 libuncso2/libuncso2.so* -t ${FLATPAK_DEST}/lib/

0 commit comments

Comments
 (0)