File tree Expand file tree Collapse file tree
HMCL/src/main/java/org/jackhuang/hmcl Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ private Metadata() {
4949 public static final String ABOUT_URL = PUBLISH_URL + "/about" ;
5050 public static final String DOWNLOAD_URL = PUBLISH_URL + "/download" ;
5151 public static final String HMCL_UPDATE_URL = System .getProperty ("hmcl.update_source.override" , PUBLISH_URL + "/api/update_link" );
52+ public static final String MANUAL_UPDATE_URL = "https://github.com/HMCL-dev/HMCL/releases" ;
5253
5354 public static final String DOCS_URL = "https://docs.hmcl.net" ;
5455 public static final String CONTACT_URL = DOCS_URL + "/help.html" ;
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ public static boolean processArguments(String[] args) {
6767 performMigration ();
6868 } catch (IOException e ) {
6969 LOG .warning ("Failed to perform migration" , e );
70- SwingUtils .showErrorDialog (i18n ("fatal.apply_update_failure" , Metadata .PUBLISH_URL ) + "\n " + StringUtils .getStackTrace (e ));
70+ SwingUtils .showErrorDialog (i18n ("fatal.apply_update_failure" , Metadata .MANUAL_UPDATE_URL ) + "\n " + StringUtils .getStackTrace (e ));
7171 }
7272 return true ;
7373 }
@@ -82,7 +82,7 @@ public static boolean processArguments(String[] args) {
8282 applyUpdate (Paths .get (args [1 ]));
8383 } catch (IOException e ) {
8484 LOG .warning ("Failed to apply update" , e );
85- SwingUtils .showErrorDialog (i18n ("fatal.apply_update_failure" , Metadata .PUBLISH_URL ) + "\n " + StringUtils .getStackTrace (e ));
85+ SwingUtils .showErrorDialog (i18n ("fatal.apply_update_failure" , Metadata .MANUAL_UPDATE_URL ) + "\n " + StringUtils .getStackTrace (e ));
8686 }
8787 return true ;
8888 }
You can’t perform that action at this time.
0 commit comments