2
0

Update to masterpassword.app domain.

This commit is contained in:
Maarten Billemont
2018-06-03 16:26:08 -04:00
parent a7f82d3148
commit 073ef4f439
13 changed files with 47 additions and 39 deletions

View File

@@ -86,7 +86,7 @@ public class GUI implements UnlockFrame.SignInCallback {
continue;
String manifestRevision = attributes.getValue( Attributes.Name.IMPLEMENTATION_VERSION );
String upstreamRevisionURL = "https://masterpasswordapp.com/masterpassword-gui.jar.rev";
String upstreamRevisionURL = "https://masterpassword.app/masterpassword-gui.jar.rev";
CharSource upstream = Resources.asCharSource( URI.create( upstreamRevisionURL ).toURL(), Charsets.UTF_8 );
String upstreamRevision = upstream.readFirstLine();
if ((manifestRevision != null) && (upstreamRevision != null) && !manifestRevision.equalsIgnoreCase(
@@ -94,11 +94,11 @@ public class GUI implements UnlockFrame.SignInCallback {
logger.inf( "Local Revision: <%s>", manifestRevision );
logger.inf( "Upstream Revision: <%s>", upstreamRevision );
logger.wrn( "You are not running the current official version. Please update from:%n%s",
"https://masterpasswordapp.com/masterpassword-gui.jar" );
"https://masterpassword.app/masterpassword-gui.jar" );
JOptionPane.showMessageDialog( null,
strf( "A new version of Master Password is available.%n "
+ "Please download the latest version from %s",
"https://masterpasswordapp.com" ),
"https://masterpassword.app" ),
"Update Available", JOptionPane.WARNING_MESSAGE );
}
}