mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Add extra check for directory creation; bump version number
This commit is contained in:
@@ -55,7 +55,7 @@ namespace SabreTools
|
||||
)
|
||||
)
|
||||
);
|
||||
if (!Directory.Exists(_outdir))
|
||||
if (_outdir != "" && !Directory.Exists(_outdir))
|
||||
{
|
||||
Directory.CreateDirectory(_outdir);
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace SabreTools
|
||||
private static Logger logger;
|
||||
private static string _dbName = "DATabase.sqlite";
|
||||
private static string _connectionString = "Data Source=" + _dbName + ";Version = 3;";
|
||||
private static string _version = "0.2.6.0";
|
||||
private static string _version = "0.2.6.1";
|
||||
private static string _header =
|
||||
@"+-----------------------------------------------------------------------------+
|
||||
| DATabase " + _version + @" |
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace SabreTools
|
||||
/// </summary>
|
||||
class Headerer
|
||||
{
|
||||
private static string _version = "0.2.6.0";
|
||||
private static string _version = "0.2.6.1";
|
||||
private static string _dbName = "Headerer.sqlite";
|
||||
private static string _connectionString = "Data Source=" + _dbName + ";Version = 3;";
|
||||
private static Dictionary<string, int> types;
|
||||
|
||||
2
SabreToolsUI/SabreToolsUI.Designer.cs
generated
2
SabreToolsUI/SabreToolsUI.Designer.cs
generated
@@ -261,7 +261,7 @@
|
||||
this.MainMenuStrip = this.menuStrip1;
|
||||
this.Name = "SabreToolsUI";
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "SabreTools UI 0.2.6.0";
|
||||
this.Text = "SabreTools UI 0.2.6.1";
|
||||
this.menuStrip1.ResumeLayout(false);
|
||||
this.menuStrip1.PerformLayout();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
Reference in New Issue
Block a user