mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-07-04 21:54:18 +00:00
Fix for file arguments no longer opening the PCK
This commit is contained in:
@@ -48,7 +48,7 @@ namespace PckStudio
|
||||
RPC.Initialize();
|
||||
MainInstance = new MainForm();
|
||||
if (args.Length > 0 && File.Exists(args[0]) && args[0].EndsWith(".pck"))
|
||||
MainInstance.LoadPckFromFile(args[0]);
|
||||
MainInstance.InitPckFromFile(args[0]);
|
||||
Application.ApplicationExit += (sender, e) => { RPC.Deinitialize(); };
|
||||
Application.Run(MainInstance);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user