From 0c9094c0d10b9ce3feee7f7d84465a338c4e07f3 Mon Sep 17 00:00:00 2001 From: Suraj Yadav Date: Wed, 10 Jul 2024 00:20:11 +0530 Subject: [PATCH] Test release --- .github/workflows/setup/action.yaml | 2 +- src/main.cpp | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/setup/action.yaml b/.github/workflows/setup/action.yaml index e7fae08..3a2517b 100644 --- a/.github/workflows/setup/action.yaml +++ b/.github/workflows/setup/action.yaml @@ -19,7 +19,7 @@ runs: shell: bash run: cmake --build build --target package --config Release - uses: actions/upload-artifact@v3 - if: startsWith(github.ref, 'refs/tags/v') + # if: startsWith(github.ref, 'refs/tags/v') with: name: ${{ inputs.zip-output }} path: build/comic_reader-*.zip diff --git a/src/main.cpp b/src/main.cpp index 835a482..f19b123 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -43,7 +43,9 @@ bool MyApp::OnInit() { ::wxInitAllImageHandlers(); auto frame = new MyFrame(); - // frame->SetIcon(wxICON(app_icon)); +#if defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(__NT__) + frame->SetIcon(wxICON(app_icon)); +#endif frame->Show(true); frame->LoadComic(); frame->SetTitle(DEFAULT_FRAME_TITLE);