diff --git a/.github/workflows/osx.yml b/.github/workflows/osx.yml index 594a56a..2e15e5e 100644 --- a/.github/workflows/osx.yml +++ b/.github/workflows/osx.yml @@ -40,12 +40,12 @@ jobs: - name: macdeployqt id: macdeploy run: | - export FIRST_NAME="TheoreticalDiary-v$(cat text/VERSION.txt)-x86_64" - echo ::set-output name=first_name::${FIRST_NAME} - macdeployqt TheoreticalDiary.app + export FULL_NAME="TheoreticalDiary-v$(cat text/VERSION.txt)-x86_64.app" + echo ::set-output name=full_name::${FULL_NAME} + macdeployqt TheoreticalDiary.app -verbose=2 - name: Upload to Github uses: actions/upload-artifact@v2 with: - name: ${{steps.macdeploy.outputs.first_name}} + name: ${{steps.macdeploy.outputs.full_name}} path: TheoreticalDiary.app diff --git a/images/osx_icons/icons.icns b/images/osx_icons/icons.icns new file mode 100644 index 0000000..e8785e1 Binary files /dev/null and b/images/osx_icons/icons.icns differ diff --git a/theoreticaldiary.pro b/theoreticaldiary.pro index 2ce437e..c7daac4 100644 --- a/theoreticaldiary.pro +++ b/theoreticaldiary.pro @@ -11,6 +11,8 @@ macx:LIBS += \ QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.15 +ICON = images/osx_icons/icons.icns + win32:LIBS += \ -l"external-libs/cryptopp/cryptlib"