mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-27 07:05:53 +12:00
change sqllite libary
This commit is contained in:
parent
6627ca5dc4
commit
41a6038527
7 changed files with 25 additions and 14 deletions
|
@ -109,7 +109,13 @@ namespace HISP.Noobs
|
|||
ConfigReader.SqlLite = true;
|
||||
ConfigReader.LogLevel = 0;
|
||||
ConfigReader.CrossDomainPolicyFile = Path.Combine(BaseDir, "CrossDomainPolicy.xml");
|
||||
ConfigReader.DatabaseName = Path.Combine(BaseDir, "game1.db");
|
||||
|
||||
// Compatibility patch
|
||||
if (File.Exists(Path.Combine(BaseDir, "game1.db.db"))) {
|
||||
File.Move(Path.Combine(BaseDir, "game1.db.db"), Path.Combine(BaseDir, "game1.db"));
|
||||
}
|
||||
|
||||
ConfigReader.DatabaseName = Path.Combine(BaseDir, "game1");
|
||||
|
||||
|
||||
IncrementProgress();
|
||||
|
@ -175,7 +181,7 @@ namespace HISP.Noobs
|
|||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
MessageBox.Show("Horse Isle server failed to start: " + e.Message, "Error starting web server", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
MessageBox.Show("Horse Isle server failed to start: " + e.Message, "Error starting hi1 server", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
return;
|
||||
}
|
||||
IncrementProgress();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue