File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ set(CMAKE_AUTOUIC ON)
7979set (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#
8484set (UNCSO2_SOURCES_BASE
8585 "sources/archivebasenode.cpp"
@@ -145,7 +145,8 @@ set(UNCSO2_RESOURCES "resources/icons-uncso2.qrc")
145145set (UNCSO2_RESOURCES_BREEZE "resources/icons-breeze.qrc" )
146146
147147set (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)
194195else ()
195196 add_executable (uc2 ${UNCSO2_ALL_SOURCES} )
196197endif ()
198+ set_target_properties (uc2 PROPERTIES OUTPUT_NAME "uncso2" )
197199
198200# add fallback menu icons
199201add_dependencies (uc2 icons-breeze )
@@ -231,7 +233,7 @@ target_include_directories(uc2 PRIVATE "headers/layouts")
231233target_include_directories (uc2 PRIVATE ${UNCSO2_GENERATED_DIR} )
232234
233235#
234- # link libraries
236+ # Link libraries
235237#
236238target_include_directories (uc2 PRIVATE "${UNCSO2_LIB_GSL_DIR} /include" )
237239
Original file line number Diff line number Diff line change 11[Desktop Entry]
22Type =Application
33Name =UnCSO2
4- Exec =uc2 %f
4+ Exec =uncso2 %f
55Icon =tf.harmony.UnCSO2
66Comment =Extract Counter-Strike: Online 2 and Titanfall Online game files
77Terminal =false
Original file line number Diff line number Diff line change @@ -2,14 +2,14 @@ id: tf.harmony.UnCSO2
22runtime : org.kde.Platform
33runtime-version : ' 6.10'
44sdk : org.kde.Sdk
5- command : uc2
5+ command : uncso2
66finish-args :
77 - --socket=wayland
88 - --socket=fallback-x11
99 - --share=ipc
1010 - --device=dri
1111modules :
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/
You can’t perform that action at this time.
0 commit comments