Skip to content

Commit

Permalink
Final release! Version 1.0.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
krisdb2009 committed Aug 5, 2018
1 parent 4e19264 commit 018064f
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 51 deletions.
2 changes: 0 additions & 2 deletions SuperCAL/Main.cs
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,6 @@ private async void ReCAL_Click(object sender, EventArgs e)
private async void ReDownloadCAL_Click(object sender, EventArgs e)
{
await Wipe.Do(true);
CenterToScreen();
Left = Left - 440;
}

private void LogRTB_DoubleClick(object sender, EventArgs e)
Expand Down
5 changes: 2 additions & 3 deletions SuperCAL/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down Expand Up @@ -33,7 +32,7 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.0.0.0")]
[assembly: AssemblyFileVersion("0.0.0.0")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: NeutralResourcesLanguage("en")]

30 changes: 0 additions & 30 deletions SuperCAL/Properties/Settings.Designer.cs

This file was deleted.

7 changes: 0 additions & 7 deletions SuperCAL/Properties/Settings.settings

This file was deleted.

9 changes: 0 additions & 9 deletions SuperCAL/SuperCAL.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,6 @@
<None Include="Properties\app.manifest">
<SubType>Designer</SubType>
</None>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
</None>
<Compile Include="Properties\Settings.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
</ItemGroup>
<ItemGroup>
<BootstrapperPackage Include=".NETFramework,Version=v4.6">
Expand Down
25 changes: 25 additions & 0 deletions SuperCAL/Wipe.cs
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,31 @@ await Task.Run(() => {
DeleteDirectory(@"C:\Micros\Simphony");
RegClear(false);
RegClear(true);
if(softWipe)
{
Logger.Log("Adding HwConfigured value to the CAL registry key...");
try
{
RegistryKey regKey32 = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry32).OpenSubKey(MicrosRegRoot + @"\CAL", true);
regKey32.SetValue("HwConfigured", 1);
regKey32.Close();
}
catch (Exception)
{
Logger.Warning("Failed to set HwConfigured key in the 32 bit hive.");
}
try
{
RegistryKey regKey64 = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, RegistryView.Registry64).OpenSubKey(MicrosRegRoot + @"\CAL", true);
regKey64.SetValue("HwConfigured", 1);
regKey64.Close();
}
catch (Exception)
{
Logger.Warning("Failed to set HwConfigured key in the 64 bit hive.");
}
Logger.Good("Done.");
}
});
await McrsCalSrvc.Start();
}
Expand Down
Binary file modified SuperCAL/supercal.ico
Binary file not shown.

0 comments on commit 018064f

Please sign in to comment.