Load custom settings from settings.ini (reading from commandline currently doesn't work)
This commit is contained in:
@@ -70,16 +70,12 @@ namespace SequenceEditor
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
|
||||
FileSystem.MountDefaultPackages();
|
||||
try
|
||||
{
|
||||
FileSystem.MountDefault( true );
|
||||
}
|
||||
catch( FileNotFoundException fnf )
|
||||
{
|
||||
if( fnf.FileName != "expand2.mix" )
|
||||
throw new InvalidOperationException( "Unable to load MIX files" );
|
||||
FileSystem.MountAftermathPackages();
|
||||
}
|
||||
catch( FileNotFoundException ){}
|
||||
|
||||
FileSystem.MountTemporary(new Package("temperat.mix"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user