diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1a9bf557a..0ab6b17fb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -101,11 +101,6 @@ jobs: with: name: ${{ env.CORE_LOVE_ARTIFACT_NAME }} path: ${{ env.CORE_LOVE_PACKAGE_PATH }} - - name: Add icon to love package - run: | - cp ${{ env.BUILD_ASSETS_FOLDER }}/linux/${{ env.BUILD_TYPE }}/icon.png media/image/icon.png - zip -u ${{ env.CORE_LOVE_PACKAGE_PATH }} media/image/icon.png - rm media/image/icon.png - name: Rename love package run: | mkdir -p ${{ env.OUTPUT_FOLDER }} diff --git a/conf.lua b/conf.lua index 306f8e473..ef90b59e0 100644 --- a/conf.lua +++ b/conf.lua @@ -66,7 +66,7 @@ function love.conf(t) W.minwidth,W.minheight=640,360 end W.title="Techmino "..require"version".string -- Window title - if fs.getInfo('media/image/icon.png') then + if system=='Linux' and fs.getInfo('media/image/icon.png') then W.icon='media/image/icon.png' end end