Add PCKFile.cs super buggy build state!!!!

This commit is contained in:
miku-666
2022-06-01 09:23:27 +02:00
parent 712544d22c
commit f3b1b654eb
41 changed files with 2365 additions and 3411 deletions

View File

@@ -16,29 +16,14 @@ namespace PckStudio
public static string baseurl = "https://www.pckstudio.xyz/studio/PCK/api/";
public static string backurl = "https://raw.githubusercontent.com/PhoenixARC/pckstudio.tk/main/studio/PCK/api/";
public static string Appdata = System.Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + "/PCK Studio/";
public static bool IsDev = false;
public static FormMain formMain;
public static bool IsDev;
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] args)
{
try
{
if (args[0] == "-dev")
IsDev = true;
}
catch { }
PckStudio.Forms.goodbye gg = new PckStudio.Forms.goodbye();
PckStudio.Forms.Job gj = new PckStudio.Forms.Job();
if(!System.IO.File.Exists(Appdata + "\\goodbyemark"))
gg.ShowDialog();
if(!System.IO.File.Exists(Appdata + "\\discordmark"))
gj.ShowDialog();
IsDev = args.Length > 0 && args[0] == "-dev";
Application.Run(new PckStudio.FormMain());
}
}