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

Commit

Permalink
Fix #8
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikx committed Jun 11, 2017
1 parent 8911c9c commit 686ec76
Show file tree
Hide file tree
Showing 17 changed files with 26 additions and 7 deletions.
Binary file modified .vs/Metro Skin Installer/v15/.suo
Binary file not shown.
4 changes: 2 additions & 2 deletions Metro Skin Installer.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 14
VisualStudioVersion = 14.0.25420.1
# Visual Studio 15
VisualStudioVersion = 15.0.26403.7
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Metro Skin Installer", "Metro Skin Installer\Metro Skin Installer.csproj", "{76AA02C1-1B9C-4114-89BD-27C4A1915A6F}"
EndProject
Expand Down
6 changes: 3 additions & 3 deletions Metro Skin Installer/Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 16 additions & 1 deletion Metro Skin Installer/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ public string getSteamSkinPath()
}
private void downloadStarter(bool debug, bool isPatch)
{
button4.Enabled = false;
button4.Text = "Close";
button5.Enabled = false;
button5.Text = "Close";
string steamSkinPath = getSteamSkinPath();
if (Directory.Exists(steamSkinPath))
{
Expand Down Expand Up @@ -155,6 +159,11 @@ private void downloadStarter(bool debug, bool isPatch)
}
private void button4_Click(object sender, EventArgs e)
{
if (button4.Text == "Close")
{
Application.Exit();
return;
}
bool debug = false;
bool isPatch = false;
downloadStarter(debug, isPatch);
Expand Down Expand Up @@ -207,6 +216,7 @@ private void UnZipfile(string steamDir, string path, string isPatch)
if (isPatch != "True")
{
richTextBox1.AppendText("\nAll done!");
button4.Enabled = true;
}
}
if (path.Contains("patchfiles"))
Expand Down Expand Up @@ -262,11 +272,16 @@ private void InstallPatch(string steamDir)
File.Delete(Path.GetTempPath() + "custom.styles");
}
richTextBox1.AppendText("\nAll done!");

button5.Enabled = true;
}

private void button5_Click(object sender, EventArgs e)
{
if (button5.Text == "Close")
{
Application.Exit();
return;
}
bool debug = false;
bool isPatch = true;
downloadStarter(debug, isPatch);
Expand Down
3 changes: 2 additions & 1 deletion Metro Skin Installer/Metro Skin Installer.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,13 @@
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<ItemGroup>
<Reference Include="Ionic.Zip, Version=1.9.1.8, Culture=neutral, PublicKeyToken=edbe51ad942a3f5c, processorArchitecture=MSIL">
Expand Down
3 changes: 3 additions & 0 deletions Metro Skin Installer/Metro Skin Installer.csproj.user
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,7 @@
<FallbackCulture>en-US</FallbackCulture>
<VerifyUploadedFiles>false</VerifyUploadedFiles>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|AnyCPU'">
<EnableUnmanagedDebugging>true</EnableUnmanagedDebugging>
</PropertyGroup>
</Project>
Binary file modified Metro Skin Installer/bin/Debug/Metro Skin Installer.exe
Binary file not shown.
Binary file modified Metro Skin Installer/bin/Debug/Metro Skin Installer.pdb
Binary file not shown.
Binary file modified Metro Skin Installer/bin/Release/Metro Skin Installer.exe
Binary file not shown.
Binary file modified Metro Skin Installer/bin/Release/Metro Skin Installer.pdb
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified Metro Skin Installer/obj/Debug/Metro Skin Installer.exe
Binary file not shown.
Binary file modified Metro Skin Installer/obj/Debug/Metro Skin Installer.pdb
Binary file not shown.
Binary file not shown.
Binary file modified Metro Skin Installer/obj/Release/Metro Skin Installer.exe
Binary file not shown.
Binary file modified Metro Skin Installer/obj/Release/Metro Skin Installer.pdb
Binary file not shown.

0 comments on commit 686ec76

Please sign in to comment.