Skip to content

Commit

Permalink
add remsparkle.diff
Browse files Browse the repository at this point in the history
  • Loading branch information
stm7128 committed Nov 26, 2024
1 parent a0da620 commit 08db646
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ jobs:
fetch-depth: 1
submodules: recursive

- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1
submodules: recursive

- name: Add safe git directory
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}

Expand Down Expand Up @@ -118,11 +124,6 @@ jobs:
working-directory: build
run: find . -type f \( -iname \*.dll -o -iname \*.exe \) -exec /strawberry-mxe/usr/bin/${{matrix.arch}}-w64-mingw32.shared-strip {} \;

- name: Strip gdb.exe
if: matrix.buildtype == 'debug'
working-directory: build
run: /strawberry-mxe/usr/bin/${{matrix.arch}}-w64-mingw32.shared-strip gdb.exe

- name: Copy nsis files
working-directory: build
run: cp ${GITHUB_WORKSPACE}/dist/windows/*.nsh ${GITHUB_WORKSPACE}/dist/windows/*.ico .
Expand Down Expand Up @@ -165,6 +166,7 @@ jobs:
- name: Build Windows installer
working-directory: build
run: makensis strawberry.nsi

- name: Upload Release Artifacts
uses: actions/upload-artifact@v3
with:
Expand Down
34 changes: 34 additions & 0 deletions remsparkle.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
--- dist\windows\strawberry.nsi.in
+++ dist\windows\strawberry.nsi.in
@@ -319,7 +319,6 @@
File "liborc-0.4-0.dll"
File "libpng16-16.dll"
File "libpsl-5.dll"
- File "libqtsparkle-qt6.dll"
File "libsoup-3.0-0.dll"
File "libspeex-1.dll"
File "libsqlite3-0.dll"
@@ -417,7 +416,6 @@
File "opus.dll"
File "orc-0.4-0.dll"
File "psl-5.dll"
- File "qtsparkle-qt6.dll"
File "soup-3.0-0.dll"
File "sqlite3.dll"
File "tag.dll"
@@ -843,7 +841,6 @@
Delete "$INSTDIR\liborc-0.4-0.dll"
Delete "$INSTDIR\libpng16-16.dll"
Delete "$INSTDIR\libpsl-5.dll"
- Delete "$INSTDIR\libqtsparkle-qt6.dll"
Delete "$INSTDIR\libsoup-3.0-0.dll"
Delete "$INSTDIR\libspeex-1.dll"
Delete "$INSTDIR\libsqlite3-0.dll"
@@ -941,7 +938,6 @@
Delete "$INSTDIR\opus.dll"
Delete "$INSTDIR\orc-0.4-0.dll"
Delete "$INSTDIR\psl-5.dll"
- Delete "$INSTDIR\qtsparkle-qt6.dll"
Delete "$INSTDIR\soup-3.0-0.dll"
Delete "$INSTDIR\sqlite3.dll"
Delete "$INSTDIR\tag.dll"

0 comments on commit 08db646

Please sign in to comment.