From 00cd41ea928781ad760cff3d14bd78d60758679d Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 28 Jun 2017 08:19:44 -0400 Subject: Slight... very slight... fileskimmer mods --- ShiftOS.WinForms/Applications/Installer.cs | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'ShiftOS.WinForms/Applications/Installer.cs') diff --git a/ShiftOS.WinForms/Applications/Installer.cs b/ShiftOS.WinForms/Applications/Installer.cs index 284ac2c..ec93735 100644 --- a/ShiftOS.WinForms/Applications/Installer.cs +++ b/ShiftOS.WinForms/Applications/Installer.cs @@ -19,7 +19,8 @@ namespace ShiftOS.WinForms.Applications [MultiplayerOnly] [DefaultTitle("{TITLE_INSTALLER}")] [Launcher("{TITLE_INSTALLER}", true, "al_installer", "{AL_UTILITIES}")] - public partial class Installer : UserControl, IShiftOSWindow + [FileHandler("Name Pack", ".names", "fileiconnames")] + public partial class Installer : UserControl, IShiftOSWindow, IFileHandler { public Installer() { @@ -27,6 +28,13 @@ namespace ShiftOS.WinForms.Applications lbtitle.Text = "Select file"; } + public void OpenFile(string path) + { + var stpInstall = new StpInstallation(path); + AppearanceManager.SetupWindow(this); + InitiateInstall(stpInstall); + } + public void InitiateInstall(Installation install) { pnlselectfile.Hide(); -- cgit v1.2.3