diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8886e69c..13b14830 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,17 +30,17 @@ jobs: echo "Current ref: ${{ github.ref }}" - name: Clone Repo - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup JavaJDK - uses: actions/setup-java@v3 + uses: actions/setup-java@v4 with: java-version: '17' distribution: 'liberica' cache: 'gradle' - name: Setup Gradle - uses: gradle/gradle-build-action@v2 + uses: gradle/gradle-build-action@v3 with: gradle-version: 8.1.1 @@ -48,21 +48,21 @@ jobs: run: gradle clean distAll - name: Upload Exe - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ ! startsWith(github.ref, 'refs/tags/') }} with: name: ArkPets.exe path: desktop/build/dist/*.exe - name: Upload Zip - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ ! startsWith(github.ref, 'refs/tags/') }} with: name: ArkPets.zip path: desktop/build/dist/*.zip - name: Upload Jar - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 if: ${{ ! startsWith(github.ref, 'refs/tags/') }} with: name: ArkPets.jar diff --git a/desktop/src/cn/harryh/arkpets/ArkHomeFX.java b/desktop/src/cn/harryh/arkpets/ArkHomeFX.java index f88438b0..36cd8df3 100644 --- a/desktop/src/cn/harryh/arkpets/ArkHomeFX.java +++ b/desktop/src/cn/harryh/arkpets/ArkHomeFX.java @@ -134,10 +134,6 @@ public void stop() { Logger.debug("Launcher", "Finished stopping"); } - public void exit() { - rootModule.exit(); - } - public void popLoading(EventHandler handler) { rootModule.popLoading(handler); }