Allow FAQ URL to be customized.
This commit is contained in:
@@ -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 { }
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user