From 0015ebd5ed3b06dd192938b03c770fd781cf1ddc Mon Sep 17 00:00:00 2001 From: Saif Mahmud Date: Thu, 21 Sep 2023 13:06:24 -0500 Subject: [PATCH] repush --- .github/workflows/main.yml | 8 +++----- src/Game.java | 2 +- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8b28562..f256a79 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -97,7 +97,6 @@ jobs: --name ${{ env.FILE_NAME }} \ --main-jar ${{ env.FILE_NAME }}-${{ env.VERSION }}.jar \ --main-class ${{ env.MAIN_CLASS }} \ - --resource-dir assets \ --icon assets/icon/${{ env.ICON_NAME }}.icns \ --app-version ${{ needs.build.outputs.stripped_version }} \ --type dmg \ @@ -190,12 +189,11 @@ jobs: --name ${{ env.FILE_NAME }} ` --main-jar ${{ env.FILE_NAME }}-${{ env.VERSION }}.jar ` --main-class ${{ env.MAIN_CLASS }} ` - --resource-dir assets ` --icon assets/icon/${{ env.ICON_NAME }}.ico ` --win-shortcut ` --win-menu ` --app-version ${{ needs.build.outputs.stripped_version }} ` - --type exe ` + --type msi ` --dest . - name: List contents of out directory (Windows) @@ -210,8 +208,8 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: upload_url: ${{ needs.build.outputs.release_upload_url }} - asset_path: ${{ env.FILE_NAME }}-${{ needs.build.outputs.stripped_version }}.exe - asset_name: ${{ env.FILE_NAME }}-${{ needs.build.outputs.stripped_version }}-windows.exe + asset_path: ${{ env.FILE_NAME }}-${{ needs.build.outputs.stripped_version }}.msi + asset_name: ${{ env.FILE_NAME }}-${{ needs.build.outputs.stripped_version }}-windows.msi asset_content_type: application/octet-stream diff --git a/src/Game.java b/src/Game.java index dbf97ad..ec9aa71 100644 --- a/src/Game.java +++ b/src/Game.java @@ -333,7 +333,7 @@ private Tile fetchTile(int mouseX, int mouseY) { // delayed timer to animate the ant and making it smoother movement. public void delayPaint() { - int delay = 150; + int delay = 250; Timer timer = new Timer(delay, new ActionListener() { LinkedList> allPath2D = ant.getAllPath2D(); Tile subNodeToBeDrawn = null;