From e631f9c4520516766810d24283dd43204e473507 Mon Sep 17 00:00:00 2001 From: Henrik Takset <00heols@gmail.com> Date: Sun, 29 Jul 2018 22:30:08 +0200 Subject: [PATCH] Fix bug in PR #21 (see review commit 37fe50c) --- Metro Skin Installer/Metro Skin Installer/MainForm.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Metro Skin Installer/Metro Skin Installer/MainForm.cs b/Metro Skin Installer/Metro Skin Installer/MainForm.cs index 0f5f1d9..70aecf1 100644 --- a/Metro Skin Installer/Metro Skin Installer/MainForm.cs +++ b/Metro Skin Installer/Metro Skin Installer/MainForm.cs @@ -17,6 +17,11 @@ public MainForm() { InitializeComponent(); CheckForIllegalCrossThreadCalls = false; + if(SteamSkinPath == null) + { + MessageBox.Show("Steam couldn't be found. \nPlease install steam or reinstall if already installed."); + Environment.Exit(0); + } if (!hasPermission(SteamSkinPath)) { Environment.Exit(0);