i dont want to talk about it

This commit is contained in:
Lynne Megido 2020-09-04 00:19:13 +10:00
parent faeb2a6334
commit 45eba46c8e
Signed by: lynnesbian
GPG key ID: F0A184B5213D9F90

View file

@ -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);
}