Add static strings to Program class

This commit is contained in:
miku-666
2022-08-31 20:36:18 +02:00
parent 7f4cbbb82d
commit 6f9f1f0e50
11 changed files with 47 additions and 59 deletions

View File

@@ -1,13 +1,15 @@
using System;
using System.IO;
using System.Windows.Forms;
namespace PckStudio
{
static class Program
{
public static string baseurl = "http://api.pckstudio.xyz/api/pck";
public static string backurl = "https://raw.githubusercontent.com/PhoenixARC/pckstudio.tk/main/studio/PCK/api/";
public static string Appdata = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + "/PCK-Studio/";
public static string BaseAPIUrl = "http://api.pckstudio.xyz/api/pck";
public static string BackUpAPIUrl = "https://raw.githubusercontent.com/PhoenixARC/pckstudio.tk/main/studio/PCK/api/";
public static string AppData = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), "PCK-Studio");
public static string AppDataCache = Path.Combine(AppData, "cache");
/// <summary>
/// The main entry point for the application.
/// </summary>