fix filename

This commit is contained in:
Anthony Calosa
2024-10-30 16:37:06 +08:00
parent c1e7e4a3c1
commit eefc20a1ac

View File

@@ -228,7 +228,7 @@ public class AutoUpdater {
GuiBase.getInterface().download(new GuiDownloadZipService("Auto Updater", localizer.getMessage("lblNewVersionDownloading"), packageUrl, System.getProperty("user.home") + "/Downloads/", null, null) {
@Override
public void downloadAndUnzip() {
packagePath = download(version + "-upgrade.tar.bz2");
packagePath = download(version + "-upgrade.jar");
if (packagePath != null) {
restartAndUpdate(packagePath);
}