mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-12 13:12:16 +00:00
Add loading pck via terminal
This commit is contained in:
@@ -14,7 +14,10 @@ namespace PckStudio
|
||||
[STAThread]
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Application.Run(new MainForm());
|
||||
var f = new MainForm();
|
||||
if (args.Length > 0 && args[0].EndsWith(".pck"))
|
||||
f.LoadFromPath(args[0]);
|
||||
Application.Run(f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user