i dont want to talk about it
This commit is contained in:
parent
faeb2a6334
commit
45eba46c8e
1 changed files with 3 additions and 0 deletions
|
@ -133,6 +133,9 @@ namespace Buypeeb {
|
|||
string j = JsonSerializer.Serialize(this.settings);
|
||||
string p = System.IO.Path.Combine(this.location, "userdata.json");
|
||||
Console.WriteLine(j);
|
||||
if (!Directory.Exists(this.location)) {
|
||||
Directory.CreateDirectory(this.location);
|
||||
}
|
||||
if (!File.Exists(p)) {
|
||||
File.CreateText(p);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue