Skip to content

Commit

Permalink
fixed linux & Windows images (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
DattatreyaReddy authored Dec 8, 2022
1 parent b6dab69 commit 88656d8
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
working-directory: ${{ matrix.build_path }}
run: |
cp "$GITHUB_WORKSPACE/scripts/${{ env.pkg_name }}.desktop" .
cp "$GITHUB_WORKSPACE/assets/images/icon.png" "./${{ env.pkg_name }}.png"
cp "$GITHUB_WORKSPACE/assets/icons/launcher/sorayomi_icon.png" "./${{ env.pkg_name }}.png"
GZIP=-9 tar czf "$GITHUB_WORKSPACE/${{ env.pkg_name }}-${{ github.ref_name }}-${{ matrix.target }}-x64.tar.gz" *
- name: Build deb package
Expand Down Expand Up @@ -157,7 +157,7 @@ jobs:
$env:Path += ";C:\Program Files (x86)\WiX Toolset v3.11\bin"
$upgradeCode = [guid]::NewGuid().Guid
Copy-Item "${env:GITHUB_WORKSPACE}\scripts\${{ env.pkg_name }}-x64.wxs" .
Copy-Item "${env:GITHUB_WORKSPACE}\assets\images\icon.ico" .
Copy-Item "${env:GITHUB_WORKSPACE}\assets\icons\launcher\sorayomi_icon.ico" .
heat dir data -cg data -dr data -sreg -sfrag -gg -o data.wxs
candle -arch x64 -dVersion="${{ github.ref_name }}" -dUpgradeCode="$upgradeCode" -dIcon="icon.ico" "${{ env.pkg_name }}-x64.wxs" data.wxs
light -b data "${{ env.pkg_name }}-x64.wixobj" data.wixobj -o "${{ env.pkg_name }}-${{ github.ref_name }}-${{ matrix.target }}-x64.msi"
Expand Down
Binary file added assets/icons/launcher/sorayomi_icon.ico
Binary file not shown.
9 changes: 6 additions & 3 deletions lib/src/constants/gen/assets.gen.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 88656d8

Please sign in to comment.