Skip to content

Commit fb9fc95

Browse files
committed
Update to latest version of ZoraSharp
1 parent 7145b7a commit fb9fc95

10 files changed

+29
-27
lines changed

ZoraGenWpf/GitHubReleaseJsonConverter.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
/*
1+
/*
22
* Copyright © 2013-2018, Amy Nagle.
33
* All rights reserved.
4-
*
4+
*
55
* This file is part of ZoraGen WPF.
66
*
77
* ZoraGen WPF is free software: you can redistribute it and/or modify
@@ -13,7 +13,7 @@
1313
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1414
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1515
* GNU General Public License for more details.
16-
*
16+
*
1717
* You should have received a copy of the GNU General Public License
1818
* along with ZoraGen WPF. If not, see <http://www.gnu.org/licenses/>.
1919
*/
@@ -26,7 +26,7 @@
2626

2727
namespace Zyrenth.ZoraGen.Wpf
2828
{
29-
class GitHubReleaseJsonConverter
29+
internal class GitHubReleaseJsonConverter
3030
{
3131
public IEnumerable<Type> SupportedTypes
3232
{

ZoraGenWpf/MainWindow.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ private void CheckForUpdates(bool silentCheck)
183183
Extensions.SetAllowUnsafeHeaderParsing();
184184

185185
// GitHub requires a user agent
186-
((HttpWebRequest)request).UserAgent = "ZoraGen updater";
186+
( (HttpWebRequest)request ).UserAgent = "ZoraGen updater";
187187

188188

189189
using (Stream objStream = request.GetResponse().GetResponseStream())

ZoraGenWpf/Properties/AssemblyInfo.cs

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
/*
1+
/*
22
* Copyright © 2013-2018, Amy Nagle.
33
* All rights reserved.
4-
*
4+
*
55
* This file is part of ZoraGen WPF.
66
*
77
* ZoraGen WPF is free software: you can redistribute it and/or modify
@@ -13,7 +13,7 @@
1313
* but WITHOUT ANY WARRANTY; without even the implied warranty of
1414
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1515
* GNU General Public License for more details.
16-
*
16+
*
1717
* You should have received a copy of the GNU General Public License
1818
* along with ZoraGen WPF. If not, see <http://www.gnu.org/licenses/>.
1919
*/
@@ -24,24 +24,24 @@
2424
using System.Runtime.InteropServices;
2525
using System.Windows;
2626

27-
// General Information about an assembly is controlled through the following
27+
// General Information about an assembly is controlled through the following
2828
// set of attributes. Change these attribute values to modify the information
2929
// associated with an assembly.
3030
[assembly: AssemblyTitle("ZoraGen WPF")]
3131
[assembly: AssemblyDescription("")]
3232
[assembly: AssemblyConfiguration("")]
3333
[assembly: AssemblyCompany("")]
3434
[assembly: AssemblyProduct("ZoraGen WPF")]
35-
[assembly: AssemblyCopyright("Copyright © Amy Nagle 2013 - 2018")]
35+
[assembly: AssemblyCopyright("Copyright © Amy Nagle 2013 - 2021")]
3636
[assembly: AssemblyTrademark("")]
3737
[assembly: AssemblyCulture("")]
3838

39-
// Setting ComVisible to false makes the types in this assembly not visible
40-
// to COM components. If you need to access a type in this assembly from
39+
// Setting ComVisible to false makes the types in this assembly not visible
40+
// to COM components. If you need to access a type in this assembly from
4141
// COM, set the ComVisible attribute to true on that type.
4242
[assembly: ComVisible(false)]
4343

44-
//In order to begin building localizable applications, set
44+
//In order to begin building localizable applications, set
4545
//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
4646
//inside a <PropertyGroup>. For example, if you are using US english
4747
//in your source files, set the <UICulture> to en-US. Then uncomment
@@ -53,22 +53,22 @@
5353

5454
[assembly: ThemeInfo(
5555
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
56-
//(used if a resource is not found in the page,
56+
//(used if a resource is not found in the page,
5757
// or application resource dictionaries)
5858
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
59-
//(used if a resource is not found in the page,
59+
//(used if a resource is not found in the page,
6060
// app, or any theme specific resource dictionaries)
6161
)]
6262

6363

6464
// Version information for an assembly consists of the following four values:
6565
//
6666
// Major Version
67-
// Minor Version
67+
// Minor Version
6868
// Build Number
6969
// Revision
7070
//
71-
// You can specify all the values or you can default the Build and Revision Numbers
71+
// You can specify all the values or you can default the Build and Revision Numbers
7272
// by using the '*' as shown below:
7373
// [assembly: AssemblyVersion("1.0.*")]
7474
[assembly: AssemblyVersion("2.2.0.*")]

ZoraGenWpf/Properties/Resources.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ZoraGenWpf/Properties/Settings.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ZoraGenWpf/RingImageConverter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*
22
* Copyright © 2013-2018, Amy Nagle.
33
* All rights reserved.
44
*
@@ -30,7 +30,7 @@
3030

3131
namespace Zyrenth.ZoraGen.Wpf
3232
{
33-
class RingImageConverter : IValueConverter
33+
internal class RingImageConverter : IValueConverter
3434
{
3535
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
3636
{

ZoraGenWpf/ViewSecretsWindow.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/*
1+
/*
22
* Copyright © 2013-2018, Amy Nagle.
33
* All rights reserved.
44
*
@@ -39,7 +39,7 @@ namespace Zyrenth.ZoraGen.Wpf
3939
/// </summary>
4040
public partial class ViewSecretsWindow : Window
4141
{
42-
GameInfo _info;
42+
private GameInfo _info;
4343

4444
public ViewSecretsWindow()
4545
{

ZoraGenWpf/ZoraGenWpf.csproj

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<PropertyGroup>
44
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
55
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
@@ -10,7 +10,7 @@
1010
<AppDesignerFolder>Properties</AppDesignerFolder>
1111
<RootNamespace>Zyrenth.ZoraGen.Wpf</RootNamespace>
1212
<AssemblyName>ZoraGen</AssemblyName>
13-
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
13+
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
1414
<TargetFrameworkProfile>
1515
</TargetFrameworkProfile>
1616
<FileAlignment>512</FileAlignment>
@@ -46,6 +46,7 @@
4646
<DefineConstants>DEBUG;TRACE</DefineConstants>
4747
<ErrorReport>prompt</ErrorReport>
4848
<WarningLevel>4</WarningLevel>
49+
<Prefer32Bit>false</Prefer32Bit>
4950
</PropertyGroup>
5051
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
5152
<PlatformTarget>x86</PlatformTarget>
@@ -55,6 +56,7 @@
5556
<DefineConstants>TRACE</DefineConstants>
5657
<ErrorReport>prompt</ErrorReport>
5758
<WarningLevel>4</WarningLevel>
59+
<Prefer32Bit>false</Prefer32Bit>
5860
</PropertyGroup>
5961
<PropertyGroup>
6062
<ApplicationIcon>Farore.ico</ApplicationIcon>

ZoraGenWpf/app.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<?xml version="1.0"?>
22
<configuration>
3-
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>
3+
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6"/></startup></configuration>

0 commit comments

Comments
 (0)