mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-23 09:35:22 +00:00
47 lines
1.4 KiB
C#
47 lines
1.4 KiB
C#
using System;
|
|
using System.IO;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
using System.Threading;
|
|
using System.Windows.Forms;
|
|
using PckStudio.Classes;
|
|
|
|
namespace PckStudio
|
|
{
|
|
|
|
|
|
static class Program
|
|
{
|
|
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 bool IsDev = false;
|
|
public static FormMain formMain;
|
|
/// <summary>
|
|
/// The main entry point for the application.
|
|
/// </summary>
|
|
[STAThread]
|
|
static void Main(string[] args)
|
|
{
|
|
try
|
|
{
|
|
if (args[0] == "-dev")
|
|
IsDev = true;
|
|
}
|
|
catch { }
|
|
Application.EnableVisualStyles();
|
|
Application.SetCompatibleTextRenderingDefault(false);
|
|
|
|
PckStudio.Forms.goodbye gg = new PckStudio.Forms.goodbye();
|
|
PckStudio.Forms.Job gj = new PckStudio.Forms.Job();
|
|
|
|
|
|
if(!System.IO.File.Exists(Environment.CurrentDirectory + "\\goodbyemark"))
|
|
gg.ShowDialog();
|
|
if(!System.IO.File.Exists(Environment.CurrentDirectory + "\\discordmark"))
|
|
gj.ShowDialog();
|
|
Application.Run(new FormMain());
|
|
}
|
|
}
|
|
}
|