Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Fix bug in PR #21 (see review commit
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikx committed Jul 29, 2018
1 parent 2f1509d commit e631f9c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Metro Skin Installer/Metro Skin Installer/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e631f9c

Please sign in to comment.