mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-05-24 14:24:32 +00:00
* Add Console Installer Form * Improved FTPClient constructor * Add FTPClient.SetTimeoutLimit and made download and upload file accept a stream * Add new Panels and move old for reference * Update WiiU Install Panel * Update FTPClient.ListDirectory * Add Cemu Installer Panel * CemuInstallPanel - Add path validation * ConsoleInstaller - Removed PS3 support * Rename 'Additional-Features' folder to 'Features' * CemuInstallPanel - Add context item to add new custom pcks * CemuInstallerPanel - Add function to remove pck from DLC folder * CemuInstallPanel - Add directory exist check * Rename 'ConsoleInstaller' to 'PckManager' * Renamed Panels * FTPClient.cs - Prefixed private class members with an underscore * PckManager.cs - Renamed 'selectedPlatformComboBox' to 'supportedPlatformComboBox' * CemuPanel.cs - Add better Directory name validation * WiiUPanel.cs - Renamed some designer component names * PS3Panel.cs - Removed unused text box * PckManager.cs - Added message box for unimplemented panels * CemuPanel.cs - Improved file path handling * Removed PS3Panel.cs * PckManager.cs - For now only Cemu is supported ! * Moved Features folder to project root and changed namespace of PckManager * Removed StringExtensions and made method 'ContainsAny' generic and moved it to EnumerableExtensions
33 lines
1.3 KiB
C#
33 lines
1.3 KiB
C#
using System;
|
|
using System.Diagnostics;
|
|
using System.IO;
|
|
using System.Windows.Forms;
|
|
|
|
namespace PckStudio
|
|
{
|
|
static class Program
|
|
{
|
|
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 AppDataCache = Path.Combine(AppData, "cache");
|
|
|
|
public static MainForm MainInstance { get; private set; }
|
|
|
|
/// <summary>
|
|
/// The main entry point for the application.
|
|
/// </summary>
|
|
[STAThread]
|
|
static void Main(string[] args)
|
|
{
|
|
System.Globalization.CultureInfo.CurrentCulture = System.Globalization.CultureInfo.InvariantCulture;
|
|
|
|
MainInstance = new MainForm();
|
|
if (args.Length > 0 && File.Exists(args[0]) && args[0].EndsWith(".pck"))
|
|
MainInstance.LoadPckFromFile(args[0]);
|
|
Application.Run(MainInstance);
|
|
}
|
|
}
|
|
}
|