Skip to content

Commit

Permalink
v1.3
Browse files Browse the repository at this point in the history
Bump .net, fix broken urls, misc changes
  • Loading branch information
zoogies committed Apr 14, 2024
1 parent 7877773 commit e1f4c78
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 52 deletions.
6 changes: 3 additions & 3 deletions BSM/BSM/App.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8"/>
</startup>
</configuration>
</configuration>
4 changes: 3 additions & 1 deletion BSM/BSM/BSM.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@
<OutputType>WinExe</OutputType>
<RootNamespace>BSM</RootNamespace>
<AssemblyName>BSM</AssemblyName>
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
<Deterministic>true</Deterministic>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
Expand Down Expand Up @@ -80,6 +81,7 @@
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="app.manifest">
<SubType>Designer</SubType>
Expand Down
2 changes: 1 addition & 1 deletion BSM/BSM/Form1.Designer.cs

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

14 changes: 7 additions & 7 deletions BSM/BSM/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ private void Form1_Load(object sender, EventArgs e)
//check if newer version is available
using (WebClient client = new WebClient())
{
client.DownloadFile("https://raw.githubusercontent.com/Yoyolick/Boneworks-Save-Manager/master/BSM/resources/newest_version.txt", dataPath + "\\newest_version.txt");
client.DownloadFile("https://raw.githubusercontent.com/zoogies/Boneworks-Save-Manager/master/BSM/resources/newest_version.txt", dataPath + "\\newest_version.txt");
}
string version_number = File.ReadAllText(dataPath + "\\newest_version.txt");
if (version_number != "1.2\n")
if (version_number != "1.3\n")
{
MessageBox.Show("A newer version of BSM is available. You are currently using version " + version_number + "Please uninstall and download BSM again from the repo for an updated version with more features.", "Software out of date", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
Expand Down Expand Up @@ -348,7 +348,7 @@ public void ValidateFileSystem()
{
using (WebClient client = new WebClient())
{
client.DownloadFile("https://raw.githubusercontent.com/Yoyolick/Boneworks-Save-Manager/master/BSM/resources/newest_version.txt", dataPath + "\\newest_version.txt");
client.DownloadFile("https://raw.githubusercontent.com/zoogies/Boneworks-Save-Manager/master/BSM/resources/newest_version.txt", dataPath + "\\newest_version.txt");
builtsomething = true;
}
}
Expand All @@ -357,23 +357,23 @@ public void ValidateFileSystem()
{
using (WebClient client = new WebClient())
{
client.DownloadFile("https://raw.githubusercontent.com/Yoyolick/Boneworks-Save-Manager/master/BSM/resources/application_icon.ico", dataPath + "\\application_icon.ico");
client.DownloadFile("https://raw.githubusercontent.com/zoogies/Boneworks-Save-Manager/master/BSM/resources/application_icon.ico", dataPath + "\\application_icon.ico");
builtsomething = true;
}
}
if (!File.Exists(dataPath + "\\splash_image.jpg"))
{
using (WebClient client = new WebClient())
{
client.DownloadFile("https://raw.githubusercontent.com/Yoyolick/Boneworks-Save-Manager/master/BSM/resources/splash_image.jpg", dataPath + "\\splash_image.jpg");
client.DownloadFile("https://raw.githubusercontent.com/zoogies/Boneworks-Save-Manager/master/BSM/resources/splash_image.jpg", dataPath + "\\splash_image.jpg");
builtsomething = true;
}
}
if (!File.Exists(dataPath + "\\splash_image_light.png"))
{
using (WebClient client = new WebClient())
{
client.DownloadFile("https://raw.githubusercontent.com/Yoyolick/Boneworks-Save-Manager/master/BSM/resources/splash_image_light.png", dataPath + "\\splash_image_light.png");
client.DownloadFile("https://raw.githubusercontent.com/zoogies/Boneworks-Save-Manager/master/BSM/resources/splash_image_light.png", dataPath + "\\splash_image_light.png");
builtsomething = true;
}
}
Expand Down Expand Up @@ -479,7 +479,7 @@ private void BtnBrowseHelp_Click(object sender, EventArgs e)

private void Label5_Click(object sender, EventArgs e)
{
Process.Start("https://github.com/Yoyolick/Boneworks-Save-Manager/issues");
Process.Start("https://github.com/zoogies/Boneworks-Save-Manager/issues");
}

private void BtnBrowseBoneworks_Click(object sender, EventArgs e)
Expand Down
44 changes: 18 additions & 26 deletions BSM/BSM/Properties/Resources.Designer.cs

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

22 changes: 9 additions & 13 deletions BSM/BSM/Properties/Settings.Designer.cs

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

2 changes: 1 addition & 1 deletion BSM/resources/newest_version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2
1.3

0 comments on commit e1f4c78

Please sign in to comment.