mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 11:18:01 +00:00
fix filename
This commit is contained in:
@@ -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) {
|
GuiBase.getInterface().download(new GuiDownloadZipService("Auto Updater", localizer.getMessage("lblNewVersionDownloading"), packageUrl, System.getProperty("user.home") + "/Downloads/", null, null) {
|
||||||
@Override
|
@Override
|
||||||
public void downloadAndUnzip() {
|
public void downloadAndUnzip() {
|
||||||
packagePath = download(version + "-upgrade.tar.bz2");
|
packagePath = download(version + "-upgrade.jar");
|
||||||
if (packagePath != null) {
|
if (packagePath != null) {
|
||||||
restartAndUpdate(packagePath);
|
restartAndUpdate(packagePath);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user