Set the forum url
This commit is contained in:
parent
f54e4d9b83
commit
fa273ec6a2
4 changed files with 10 additions and 7 deletions
|
@ -9,7 +9,7 @@ It is the successor to Grognak's Mod Manager ([GMM](http://www.ftlgame.com/forum
|
|||
|
||||
To download compiled binaries, [click here](https://sourceforge.net/projects/slipstreammodmanager/).
|
||||
|
||||
Comments can be made in a forum thread [here](http://).
|
||||
Comments can be made in a forum thread [here](http://www.ftlgame.com/forum/viewtopic.php?f=12&t=17102).
|
||||
|
||||
|
||||
Requirements
|
||||
|
|
|
@ -7,9 +7,6 @@
|
|||
<fileSet>
|
||||
<directory>skel_common</directory>
|
||||
<outputDirectory>/</outputDirectory>
|
||||
<includes>
|
||||
<include>*</include>
|
||||
</includes>
|
||||
</fileSet>
|
||||
<fileSet>
|
||||
<directory>skel_win</directory>
|
||||
|
|
|
@ -27,6 +27,8 @@ public class FTLModManager {
|
|||
|
||||
private static final String APP_NAME = "Slipstream Mod Manager";
|
||||
private static final ComparableVersion APP_VERSION = new ComparableVersion( "1.0" );
|
||||
private static final String APP_URL = "http://www.ftlgame.com/forum/viewtopic.php?f=12&t=17102";
|
||||
private static final String APP_AUTHOR = "Vhati";
|
||||
|
||||
|
||||
public static void main( String[] args ) {
|
||||
|
@ -166,7 +168,7 @@ public class FTLModManager {
|
|||
|
||||
// Create the GUI.
|
||||
try {
|
||||
final ManagerFrame frame = new ManagerFrame( config, APP_NAME, APP_VERSION );
|
||||
final ManagerFrame frame = new ManagerFrame( config, APP_NAME, APP_VERSION, APP_URL, APP_AUTHOR );
|
||||
frame.setDefaultCloseOperation( frame.EXIT_ON_CLOSE );
|
||||
frame.setVisible(true);
|
||||
|
||||
|
|
|
@ -85,6 +85,8 @@ public class ManagerFrame extends JFrame implements ActionListener, HashObserver
|
|||
private Properties config;
|
||||
private String appName;
|
||||
private ComparableVersion appVersion;
|
||||
private String appURL;
|
||||
private String appAuthor;
|
||||
|
||||
private HashMap<File,String> modFileHashes = new HashMap<File,String>();
|
||||
private ModDB modDB = new ModDB();
|
||||
|
@ -102,11 +104,13 @@ public class ManagerFrame extends JFrame implements ActionListener, HashObserver
|
|||
private JLabel statusLbl;
|
||||
|
||||
|
||||
public ManagerFrame( Properties config, String appName, ComparableVersion appVersion ) {
|
||||
public ManagerFrame( Properties config, String appName, ComparableVersion appVersion, String appURL, String appAuthor ) {
|
||||
super();
|
||||
this.config = config;
|
||||
this.appName = appName;
|
||||
this.appVersion = appVersion;
|
||||
this.appURL = appURL;
|
||||
this.appAuthor = appAuthor;
|
||||
|
||||
this.setTitle( String.format( "%s v%s", appName, appVersion ) );
|
||||
|
||||
|
@ -397,7 +401,7 @@ public class ManagerFrame extends JFrame implements ActionListener, HashObserver
|
|||
body += "Thanks for using this mod manager.\n";
|
||||
body += "Make sure to visit the forum for updates!";
|
||||
|
||||
infoArea.setDescription( appName, "Vhati", appVersion.toString(), "http://abc.net", body );
|
||||
infoArea.setDescription( appName, appAuthor, appVersion.toString(), appURL, body );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue