..
This commit is contained in:
@@ -129,7 +129,7 @@ namespace Project
|
||||
var chTable = PUB.userList.GetChanges();
|
||||
if (chTable != null)
|
||||
{
|
||||
string fn = AppDomain.CurrentDomain.BaseDirectory + "users.xml";
|
||||
string fn = UTIL.MakePath("Data", "users.xml");
|
||||
PUB.userList.WriteXml(fn, true);
|
||||
PUB.userList.AcceptChanges();
|
||||
}
|
||||
@@ -352,7 +352,7 @@ namespace Project
|
||||
var fi = new System.IO.FileInfo( UTIL.MakePath("data","zpl.txt"));
|
||||
if (fi.Exists == false)
|
||||
{
|
||||
System.IO.File.WriteAllText(fi.FullName, Properties.Settings.Default.ZPL7, System.Text.Encoding.Default);
|
||||
//System.IO.File.WriteAllText(fi.FullName, Properties.Settings.Default.ZPL7, System.Text.Encoding.Default);
|
||||
UTIL.MsgI("New ZPL file has been created\n" + fi.FullName);
|
||||
}
|
||||
using (var f = new Dialog.fZPLEditor(fi.FullName))
|
||||
|
||||
Reference in New Issue
Block a user