Skip to content

Commit

Permalink
- Fix linux icon
Browse files Browse the repository at this point in the history
  • Loading branch information
ParticleG committed Jul 18, 2024
1 parent 6494a13 commit ff11caf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@ jobs:
with:
name: ${{ env.CORE_LOVE_ARTIFACT_NAME }}
path: ${{ env.CORE_LOVE_PACKAGE_PATH }}
- name: Add icon to love package
run: |
cp ./.github/build/linux/${{ env.BUILD_TYPE }}/icon.png ./icon.png
zip -u ${{ env.CORE_LOVE_PACKAGE_PATH }} ./icon.png
rm ./icon.png
- name: Rename love package
run: |
mkdir -p ${{ env.OUTPUT_FOLDER }}
Expand Down Expand Up @@ -260,9 +255,9 @@ jobs:
name: ${{ env.CORE_LOVE_ARTIFACT_NAME }}
- name: Add icon to love package
run: |
cp ./.github/build/linux/${{ env.BUILD_TYPE }}/icon.png assets/image/icon.png
zip -u ${{ env.CORE_LOVE_PACKAGE_PATH }} assets/image/icon.png
rm assets/image/icon.png
cp ./.github/build/linux/${{ env.BUILD_TYPE }}/icon.png ./icon.png
zip -u ${{ env.CORE_LOVE_PACKAGE_PATH }} ./icon.png
rm ./icon.png
- name: Build Linux packages
id: build-packages
uses: 26F-Studio/love-actions-linux@v1
Expand Down
4 changes: 3 additions & 1 deletion conf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,7 @@ function love.conf(t)
W.minwidth,W.minheight=288,180
end
W.title='Smart Bingo v1.0'
W.icon='icon.png'
if fs.getInfo('icon.png') then
W.icon='icon.png'
end
end

0 comments on commit ff11caf

Please sign in to comment.