Skip to content

Commit

Permalink
Update wrapper to delete remaining files
Browse files Browse the repository at this point in the history
  • Loading branch information
soywiz committed Jun 28, 2024
1 parent 5a3c01a commit a7cf195
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions korge.bat
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ IF NOT EXIST "%INSTALLER_LOCAL_FILE%" (
COPY /Y "%INSTALLER_PATH%\korge-kotlin-compiler-all.jar" %INSTALLER_LOCAL_FILE% > NUL 2> NUL
DEL "%INSTALLER_PATH%\korge-kotlin-compiler-all.jar" > NUL 2> NUL
DEL "%INSTALLER_LOCAL_FILE%.tar.xz" > NUL 2> NUL
DEL "%INSTALLER_LOCAL_FILE%.tar.xz.sha256" > NUL 2> NUL
)

IF NOT EXIST "%JAVA%" (
Expand All @@ -28,6 +29,7 @@ IF NOT EXIST "%JAVA%" (
)
CALL :EXTRACT_TAR "%KORGEDIR%\jre-21.tar.xz" "%KORGEDIR%\jre-21" 1 "%JAVA%"
DEL "%KORGEDIR%\jre-21.tar.xz" > NUL 2> NUL
DEL "%KORGEDIR%\jre-21.tar.xz.sha256" > NUL 2> NUL
)

"%JAVA%" -jar "%INSTALLER_LOCAL_FILE%" %*
Expand Down

0 comments on commit a7cf195

Please sign in to comment.