Fixes profiler needing elevation on Vista (registering COM object under HKCU now)
git-svn-id: svn://svn.ijw.co.nz/svn/OpenRa@1944 993157c7-ee19-0410-b2c4-bb4e9862e678
This commit is contained in:
@@ -27,14 +27,9 @@ namespace OpenRa.Game
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static void Run( string[] args )
|
static void Run( string[] args )
|
||||||
{
|
{
|
||||||
Application.EnableVisualStyles();
|
new MainWindow( new Settings( args ) ).Run();
|
||||||
Application.SetCompatibleTextRenderingDefault( false );
|
|
||||||
|
|
||||||
Settings settings = new Settings( args );
|
|
||||||
|
|
||||||
new MainWindow( settings ).Run();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user