diff options
| author | Michael <[email protected]> | 2017-06-28 08:19:44 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-06-28 08:19:44 -0400 |
| commit | 00cd41ea928781ad760cff3d14bd78d60758679d (patch) | |
| tree | 1ce9714d71831cef82ebfd161827a4db54d90405 /ShiftOS.WinForms/Applications/Installer.cs | |
| parent | cd2190f6caa16e8d909aa1d662996d690772a67f (diff) | |
| download | shiftos_thereturn-00cd41ea928781ad760cff3d14bd78d60758679d.tar.gz shiftos_thereturn-00cd41ea928781ad760cff3d14bd78d60758679d.tar.bz2 shiftos_thereturn-00cd41ea928781ad760cff3d14bd78d60758679d.zip | |
Slight... very slight... fileskimmer mods
Diffstat (limited to 'ShiftOS.WinForms/Applications/Installer.cs')
| -rw-r--r-- | ShiftOS.WinForms/Applications/Installer.cs | 10 |
1 files changed, 9 insertions, 1 deletions
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(); |
