File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5454 if : runner.os == 'Windows'
5555 shell : cmd
5656 run : |
57- mkdir release\windows
58- xcopy /E /Y build\Release\* release\windows\
57+ mkdir release
58+ xcopy /E /Y build\Release\* release\
5959
6060 - name : Package (macOS)
6161 if : runner.os == 'macOS'
@@ -74,14 +74,14 @@ jobs:
7474 if : runner.os == 'Windows'
7575 shell : powershell
7676 run : |
77- Compress-Archive -Path release\windows -DestinationPath release\ FrameExtractor-windows-${{ matrix.arch }}.zip
77+ Compress-Archive -Path release -DestinationPath FrameExtractor-windows-${{ matrix.arch }}.zip
7878
7979 - name : Upload Artifact
8080 uses : actions/upload-artifact@v4
8181 with :
8282 name : FrameExtractor-${{ matrix.os }}-${{ matrix.arch }}
8383 path : |
84- release/*
84+ release/FrameExtractor- *
8585
8686 appimage :
8787 name : Build AppImage
Original file line number Diff line number Diff line change @@ -18,21 +18,26 @@ find_package(Qt6 REQUIRED COMPONENTS Widgets)
1818qt_standard_project_setup ()
1919
2020# Add main executable
21- add_executable (FrameExtractor MACOSX_BUNDLE
21+ add_executable (FrameExtractor
2222src/FrameExtractor.cpp
2323src/utils/find_ffmpeg.cpp
2424)
2525
26+ # Apply subsystem GUI (Windows only)
27+ if (WIN32 )
28+ set_target_properties (FrameExtractor PROPERTIES WIN32_EXECUTABLE TRUE )
29+ endif ()
30+
2631# Link Qt libraries
2732target_link_libraries (FrameExtractor
2833Qt6::Widgets
2934)
3035
3136if (WIN32 )
32- target_link_libraries (FrameExtractor dwmapi )
37+ target_link_libraries (FrameExtractor dwmapi )
3338endif ()
3439
35- # Optional: install target to AppDir structure
40+ # install target to AppDir structure
3641install (TARGETS FrameExtractor DESTINATION usr/bin)
3742install (FILES packaging/FrameExtractor.desktop DESTINATION .)
3843install (FILES packaging/AppRun DESTINATION . PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ)
You can’t perform that action at this time.
0 commit comments