Set the forum url

This commit is contained in:
Vhati 2013-08-22 05:28:07 -04:00
parent f54e4d9b83
commit fa273ec6a2
4 changed files with 10 additions and 7 deletions

View file

@ -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/). 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 Requirements

View file

@ -7,9 +7,6 @@
<fileSet> <fileSet>
<directory>skel_common</directory> <directory>skel_common</directory>
<outputDirectory>/</outputDirectory> <outputDirectory>/</outputDirectory>
<includes>
<include>*</include>
</includes>
</fileSet> </fileSet>
<fileSet> <fileSet>
<directory>skel_win</directory> <directory>skel_win</directory>

View file

@ -27,6 +27,8 @@ public class FTLModManager {
private static final String APP_NAME = "Slipstream Mod Manager"; private static final String APP_NAME = "Slipstream Mod Manager";
private static final ComparableVersion APP_VERSION = new ComparableVersion( "1.0" ); 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 ) { public static void main( String[] args ) {
@ -166,7 +168,7 @@ public class FTLModManager {
// Create the GUI. // Create the GUI.
try { 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.setDefaultCloseOperation( frame.EXIT_ON_CLOSE );
frame.setVisible(true); frame.setVisible(true);

View file

@ -85,6 +85,8 @@ public class ManagerFrame extends JFrame implements ActionListener, HashObserver
private Properties config; private Properties config;
private String appName; private String appName;
private ComparableVersion appVersion; private ComparableVersion appVersion;
private String appURL;
private String appAuthor;
private HashMap<File,String> modFileHashes = new HashMap<File,String>(); private HashMap<File,String> modFileHashes = new HashMap<File,String>();
private ModDB modDB = new ModDB(); private ModDB modDB = new ModDB();
@ -102,11 +104,13 @@ public class ManagerFrame extends JFrame implements ActionListener, HashObserver
private JLabel statusLbl; private JLabel statusLbl;
public ManagerFrame( Properties config, String appName, ComparableVersion appVersion ) { public ManagerFrame( Properties config, String appName, ComparableVersion appVersion, String appURL, String appAuthor ) {
super(); super();
this.config = config; this.config = config;
this.appName = appName; this.appName = appName;
this.appVersion = appVersion; this.appVersion = appVersion;
this.appURL = appURL;
this.appAuthor = appAuthor;
this.setTitle( String.format( "%s v%s", appName, appVersion ) ); 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 += "Thanks for using this mod manager.\n";
body += "Make sure to visit the forum for updates!"; 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 );
} }
/** /**