Allow FAQ URL to be customized.

This commit is contained in:
Paul Chote
2017-03-13 09:50:02 +00:00
parent 044a5e18ee
commit 31a91a0269

View File

@@ -27,6 +27,7 @@ namespace OpenRA
// Constants to be replaced by the wrapper / compilation script // Constants to be replaced by the wrapper / compilation script
const string DisplayName = "DISPLAY_NAME"; const string DisplayName = "DISPLAY_NAME";
const string FaqUrl = "FAQ_URL";
[STAThread] [STAThread]
static void Main(string[] args) static void Main(string[] args)
@@ -158,7 +159,7 @@ namespace OpenRA
{ {
try try
{ {
Process.Start("http://wiki.openra.net/FAQ"); Process.Start(FaqUrl);
} }
catch { } catch { }
} }