Program.cs - Update 'AppData' path to use the product name of the application

This commit is contained in:
miku-666
2023-08-06 10:43:25 +02:00
parent 66e13bf9a9
commit affaa3ff17

View File

@@ -11,7 +11,7 @@ namespace PckStudio
public static readonly string ProjectUrl = "https://github.com/PhoenixARC/-PCK-Studio";
public static readonly string BaseAPIUrl = "http://api.pckstudio.xyz/api/pck";
public static readonly string BackUpAPIUrl = "https://raw.githubusercontent.com/PhoenixARC/pckstudio.tk/main/studio/PCK/api/";
public static readonly string AppData = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "PCK-Studio");
public static readonly string AppData = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), Application.ProductName);
public static readonly string AppDataCache = Path.Combine(AppData, "cache");
public static MainForm MainInstance { get; private set; }