Skip to content

Commit 163a5e2

Browse files
committed
Enabled SourceLink.
1 parent 1cb170d commit 163a5e2

21 files changed

Lines changed: 166 additions & 170 deletions

LICENSE renamed to LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright {yyyy} {name of copyright owner}
189+
Copyright 2020 Gregor Mohorko
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,11 @@ protected override void OnStartup(StartupEventArgs e)
128128
```
129129

130130
## Requirements
131-
.NET Framework 4.6.1
131+
.NET Framework 4.7.1
132132

133133
## Author and License
134-
Grega Mohorko ([www.mohorko.info](https://www.mohorko.info))
134+
Gregor Mohorko ([www.mohorko.info](https://www.mohorko.info))
135135

136-
Copyright (c) 2018 Grega Mohorko
136+
Copyright (c) 2020 Gregor Mohorko
137137

138-
[Apache License 2.0](./LICENSE)
138+
[Apache License 2.0](./LICENSE.md)

src/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ publish/
148148

149149
# NuGet Packages
150150
*.nupkg
151+
*.snupkg
151152
# The packages folder can be ignored because of Package Restore
152153
**/packages/*
153154
# except build/, which is used as an MSBuild target.

src/BlueUpdate/BlueUpdate Updater/App.config

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8" ?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<!--
33
MIT License
44
@@ -28,6 +28,6 @@ Author: GregaMohorko
2828
-->
2929
<configuration>
3030
<startup>
31-
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
31+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.1"/>
3232
</startup>
33-
</configuration>
33+
</configuration>

src/BlueUpdate/BlueUpdate Updater/App.xaml.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
MIT License
33
4-
Copyright (c) 2018 Grega Mohorko
4+
Copyright (c) 2020 Gregor Mohorko
55
66
Permission is hereby granted, free of charge, to any person obtaining a copy
77
of this software and associated documentation files (the "Software"), to deal
@@ -23,7 +23,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2323
2424
Project: BlueUpdate Updater
2525
Created: 2017-10-29
26-
Author: GregaMohorko
26+
Author: Gregor Mohorko
2727
*/
2828

2929
using System;
@@ -55,13 +55,13 @@ protected override void OnStartup(StartupEventArgs e)
5555

5656
UpdatableApp appToUpdate;
5757
UpdaterBehavior updaterBehavior=UpdaterBehavior.SHOW_MESSAGES;
58-
ICredentials credentials = null;
58+
ICredentials credentials;
5959
string arguments = null;
6060

6161
try {
6262
// set the current application as the updater
6363
var assembly = ReflectionUtility.GetAssemblyInformation(ReflectionUtility.GetAssembly(ReflectionUtility.AssemblyType.APPLICATION));
64-
UpdatableApp.Current = new UpdatableApp(BlueUpdateConstants.UpdaterName, assembly.Version, null, null, BlueUpdateConstants.UpdaterDirectoryName);
64+
UpdatableApp.Current = new UpdatableApp(BlueUpdateConstants.UPDATER_NAME, assembly.Version, null, null, BlueUpdateConstants.UPDATER_DIRECTORY_NAME);
6565

6666
// check arguments
6767
if(e.Args.Length < 9 || e.Args.Length > 10) {

src/BlueUpdate/BlueUpdate Updater/BlueUpdate Updater.csproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@
99
<AppDesignerFolder>Properties</AppDesignerFolder>
1010
<RootNamespace>BlueUpdate_Updater</RootNamespace>
1111
<AssemblyName>BlueUpdate Updater</AssemblyName>
12-
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
12+
<TargetFrameworkVersion>v4.7.1</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
1414
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
1515
<WarningLevel>4</WarningLevel>
1616
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
17+
<TargetFrameworkProfile />
1718
</PropertyGroup>
1819
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1920
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -47,8 +48,8 @@
4748
<AssemblyOriginatorKeyFile>GM.StrongNameKey.snk</AssemblyOriginatorKeyFile>
4849
</PropertyGroup>
4950
<ItemGroup>
50-
<Reference Include="GM.Utility, Version=1.2.7.0, Culture=neutral, PublicKeyToken=a1ae152199607549, processorArchitecture=MSIL">
51-
<HintPath>..\packages\GM.Utility.1.2.7\lib\netstandard2.0\GM.Utility.dll</HintPath>
51+
<Reference Include="GM.Utility, Version=1.3.0.0, Culture=neutral, PublicKeyToken=a1ae152199607549, processorArchitecture=MSIL">
52+
<HintPath>..\packages\GM.Utility.1.3.0\lib\netstandard2.0\GM.Utility.dll</HintPath>
5253
</Reference>
5354
<Reference Include="System" />
5455
<Reference Include="System.Data" />

src/BlueUpdate/BlueUpdate Updater/BlueUpdate Updater.licenseheader

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ extensions: .cs
33
/*
44
MIT License
55

6-
Copyright (c) %CurrentYear% Grega Mohorko
6+
Copyright (c) %CurrentYear% Gregor Mohorko
77

88
Permission is hereby granted, free of charge, to any person obtaining a copy
99
of this software and associated documentation files (the "Software"), to deal
@@ -32,7 +32,7 @@ extensions: .xaml .xml .config .xsd
3232
<!--
3333
MIT License
3434

35-
Copyright (c) %CurrentYear% Grega Mohorko
35+
Copyright (c) %CurrentYear% Gregor Mohorko
3636

3737
Permission is hereby granted, free of charge, to any person obtaining a copy
3838
of this software and associated documentation files (the "Software"), to deal

src/BlueUpdate/BlueUpdate Updater/CodeBits/ByteSizeFriendlyName.cs

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,24 @@
1-
/* Documentation: http://codebits.codeplex.com/wikipage?title=ByteSizeFriendlyName */
1+
#region --- License & Copyright Notice ---
2+
/*
3+
Useful code blocks that can included in your C# projects through NuGet
4+
Copyright (c) 2012-2019 Jeevan James
5+
All rights reserved.
6+
7+
Licensed under the Apache License, Version 2.0 (the "License");
8+
you may not use this file except in compliance with the License.
9+
You may obtain a copy of the License at
10+
11+
http://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing, software
14+
distributed under the License is distributed on an "AS IS" BASIS,
15+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
See the License for the specific language governing permissions and
17+
limitations under the License.
18+
*/
19+
#endregion
20+
21+
/* Documentation: https://github.com/JeevanJames/CodeBits/wiki/ByteSizeFriendlyName */
222

323
using System;
424
using System.Collections.Generic;
@@ -7,7 +27,12 @@ namespace CodeBits
727
{
828
public static partial class ByteSizeFriendlyName
929
{
10-
public static string Build(long bytes, FriendlyNameOptions options = null)
30+
public static string Build(long bytes)
31+
{
32+
return Build(bytes, null);
33+
}
34+
35+
public static string Build(long bytes, FriendlyNameOptions options)
1136
{
1237
if (bytes < 0)
1338
throw new ArgumentOutOfRangeException("bytes", "bytes cannot be a negative value");

src/BlueUpdate/BlueUpdate Updater/Properties/AssemblyInfo.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
3838
[assembly: AssemblyTitle("BlueUpdate Updater")]
3939
[assembly: AssemblyDescription("A toolkit for automatic updating of .NET applications from the web. Can be used as a deployment tool.")]
4040
[assembly: AssemblyConfiguration("")]
41-
[assembly: AssemblyCompany("Grega Mohorko")]
41+
[assembly: AssemblyCompany("Gregor Mohorko")]
4242
[assembly: AssemblyProduct("BlueUpdate Updater")]
43-
[assembly: AssemblyCopyright("Copyright © Grega Mohorko 2018")]
43+
[assembly: AssemblyCopyright("Copyright © Gregor Mohorko 2020")]
4444
[assembly: AssemblyTrademark("")]
4545
[assembly: AssemblyCulture("")]
4646

@@ -79,5 +79,5 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
7979
// You can specify all the values or you can default the Build and Revision Numbers
8080
// by using the '*' as shown below:
8181
// [assembly: AssemblyVersion("1.0.*")]
82-
[assembly: AssemblyVersion("1.0.3.3")]
83-
[assembly: AssemblyFileVersion("1.0.3.3")]
82+
[assembly: AssemblyVersion("1.0.4.0")]
83+
[assembly: AssemblyFileVersion("1.0.4.0")]

src/BlueUpdate/BlueUpdate Updater/Properties/Resources.Designer.cs

Lines changed: 52 additions & 59 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)