mirror of
https://github.com/Stone-Red-Code/AlwaysUpToDate.git
synced 2026-09-04 00:46:05 +02:00
Added ExceptionHandler and NoUpdateAvalibleHandler
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -1,12 +1,12 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
<RootNamespace>AlwaysUpToDate_Test</RootNamespace>
|
||||
<StartupObject>AlwaysUpToDate_Test.Program</StartupObject>
|
||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
||||
<FileVersion>1.0.0.0</FileVersion>
|
||||
<AssemblyVersion>2.0.0.0</AssemblyVersion>
|
||||
<FileVersion>2.0.0.0</FileVersion>
|
||||
<PackageTags></PackageTags>
|
||||
<Authors>Stone_Red</Authors>
|
||||
<Company>Stone_Red</Company>
|
||||
@@ -16,5 +16,4 @@
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\AlwaysUpToDate\AlwaysUpToDate.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -1,23 +1,27 @@
|
||||
using System;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
using AlwaysUpToDate;
|
||||
|
||||
namespace AlwaysUpToDate_Test
|
||||
{
|
||||
internal class Program
|
||||
{
|
||||
static private Updater updater = new Updater(new TimeSpan(0, 0, 1), "https://raw.githubusercontent.com/Stone-Red-Code/Test/main/test.json", "./", false);
|
||||
static private Updater updater = new Updater(new TimeSpan(0, 0, 1), "https://raw.githubusercontent.com/Stone-Red-Code/Test/main/test.json", "./", true);
|
||||
|
||||
private static void Main(string[] args)
|
||||
private async static Task Main(string[] args)
|
||||
{
|
||||
updater.Start();
|
||||
updater.ProgressChanged += Updater_ProgressChanged;
|
||||
updater.UpdateAvailible += Updater_UpdateAvailible;
|
||||
updater.NoUpdateAvailible += Updater_NoUpdateAvailible;
|
||||
|
||||
Console.ReadLine();
|
||||
await Task.Delay(-1);
|
||||
}
|
||||
|
||||
private static void Updater_UpdateAvailible(string version, string additionalInformation)
|
||||
{
|
||||
updater.Stop();
|
||||
Console.WriteLine("New Update avalible: " + version);
|
||||
Console.WriteLine("Do you want to install the new update? (y/n)");
|
||||
|
||||
@@ -31,5 +35,10 @@ namespace AlwaysUpToDate_Test
|
||||
{
|
||||
Console.WriteLine($"{totalBytesDownloaded}/{totalFileSize} {progressPercentage}%");
|
||||
}
|
||||
|
||||
private static void Updater_NoUpdateAvailible()
|
||||
{
|
||||
Console.WriteLine("You are up to date");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,7 @@
|
||||
".NETCoreApp,Version=v3.1": {
|
||||
"AlwaysUpToDate-Test/1.0.0": {
|
||||
"dependencies": {
|
||||
"AlwaysUpToDate": "1.0.0"
|
||||
"AlwaysUpToDate": "1.0.0.2"
|
||||
},
|
||||
"runtime": {
|
||||
"AlwaysUpToDate-Test.dll": {}
|
||||
@@ -42,7 +42,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"AlwaysUpToDate/1.0.0": {
|
||||
"AlwaysUpToDate/1.0.0.2": {
|
||||
"dependencies": {
|
||||
"System.Text.Json": "5.0.2"
|
||||
},
|
||||
@@ -79,7 +79,7 @@
|
||||
"path": "system.text.json/5.0.2",
|
||||
"hashPath": "system.text.json.5.0.2.nupkg.sha512"
|
||||
},
|
||||
"AlwaysUpToDate/1.0.0": {
|
||||
"AlwaysUpToDate/1.0.0.2": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2
-1
@@ -3,7 +3,8 @@
|
||||
"additionalProbingPaths": [
|
||||
"C:\\Users\\David\\.dotnet\\store\\|arch|\\|tfm|",
|
||||
"C:\\Users\\David\\.nuget\\packages",
|
||||
"C:\\Microsoft\\Xamarin\\NuGet"
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
|
||||
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet"
|
||||
]
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
@@ -8,7 +8,7 @@
|
||||
".NETCoreApp,Version=v3.1": {
|
||||
"AlwaysUpToDate-Test/1.0.0": {
|
||||
"dependencies": {
|
||||
"AlwaysUpToDate": "1.0.0.2"
|
||||
"AlwaysUpToDate": "1.0.0.4"
|
||||
},
|
||||
"runtime": {
|
||||
"AlwaysUpToDate-Test.dll": {}
|
||||
@@ -42,7 +42,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"AlwaysUpToDate/1.0.0.2": {
|
||||
"AlwaysUpToDate/1.0.0.4": {
|
||||
"dependencies": {
|
||||
"System.Text.Json": "5.0.2"
|
||||
},
|
||||
@@ -79,7 +79,7 @@
|
||||
"path": "system.text.json/5.0.2",
|
||||
"hashPath": "system.text.json.5.0.2.nupkg.sha512"
|
||||
},
|
||||
"AlwaysUpToDate/1.0.0.2": {
|
||||
"AlwaysUpToDate/1.0.0.4": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
+1
-1
@@ -3,7 +3,7 @@
|
||||
"additionalProbingPaths": [
|
||||
"C:\\Users\\David\\.dotnet\\store\\|arch|\\|tfm|",
|
||||
"C:\\Users\\David\\.nuget\\packages",
|
||||
"C:\\Microsoft\\Xamarin\\NuGet"
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
]
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,453 @@
|
||||
<?xml version="1.0"?>
|
||||
<doc>
|
||||
<assembly>
|
||||
<name>AutoUpdater.NET</name>
|
||||
</assembly>
|
||||
<members>
|
||||
<member name="T:AutoUpdaterDotNET.RemindLaterFormat">
|
||||
<summary>
|
||||
Enum representing the remind later time span.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.RemindLaterFormat.Minutes">
|
||||
<summary>
|
||||
Represents the time span in minutes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.RemindLaterFormat.Hours">
|
||||
<summary>
|
||||
Represents the time span in hours.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.RemindLaterFormat.Days">
|
||||
<summary>
|
||||
Represents the time span in days.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:AutoUpdaterDotNET.Mode">
|
||||
<summary>
|
||||
Enum representing the effect of Mandatory flag.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.Mode.Normal">
|
||||
<summary>
|
||||
In this mode, it ignores Remind Later and Skip values set previously and hide both buttons.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.Mode.Forced">
|
||||
<summary>
|
||||
In this mode, it won't show close button in addition to Normal mode behaviour.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.Mode.ForcedDownload">
|
||||
<summary>
|
||||
In this mode, it will start downloading and applying update without showing standarad update dialog in addition to Forced mode behaviour.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:AutoUpdaterDotNET.AutoUpdater">
|
||||
<summary>
|
||||
Main class that lets you auto update applications by setting some static fields and executing its Start method.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.AutoUpdater.DownloadPath">
|
||||
<summary>
|
||||
Set it to folder path where you want to download the update file. If not provided then it defaults to Temp folder.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.AutoUpdater.AppTitle">
|
||||
<summary>
|
||||
Set the Application Title shown in Update dialog. Although AutoUpdater.NET will get it automatically, you can set this property if you like to give custom Title.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.AutoUpdater.AppCastURL">
|
||||
<summary>
|
||||
URL of the xml file that contains information about latest version of the application.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.AutoUpdater.OpenDownloadPage">
|
||||
<summary>
|
||||
Opens the download URL in default browser if true. Very usefull if you have portable application.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.AutoUpdater.BasicAuthDownload">
|
||||
<summary>
|
||||
Set Basic Authentication credentials required to download the file.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.AutoUpdater.BasicAuthXML">
|
||||
<summary>
|
||||
Set Basic Authentication credentials required to download the XML file.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.AutoUpdater.ShowSkipButton">
|
||||
<summary>
|
||||
If this is true users can see the skip button.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.AutoUpdater.ShowRemindLaterButton">
|
||||
<summary>
|
||||
If this is true users can see the Remind Later button.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.AutoUpdater.LetUserSelectRemindLater">
|
||||
<summary>
|
||||
If this is true users see dialog where they can set remind later interval otherwise it will take the interval from
|
||||
RemindLaterAt and RemindLaterTimeSpan fields.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.AutoUpdater.RemindLaterAt">
|
||||
<summary>
|
||||
Remind Later interval after user should be reminded of update.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.AutoUpdater.ReportErrors">
|
||||
<summary>
|
||||
AutoUpdater.NET will report errors if this is true.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.AutoUpdater.RunUpdateAsAdmin">
|
||||
<summary>
|
||||
Set this to false if your application doesn't need administrator privileges to replace the old version.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.AutoUpdater.Mandatory">
|
||||
<summary>
|
||||
Set this to true if you want to ignore previously assigned Remind Later and Skip settings. It will also hide Remind Later and Skip buttons.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.AutoUpdater.UpdateMode">
|
||||
<summary>
|
||||
Set this to any of the available modes to change behaviour of the Mandatory flag.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.AutoUpdater.Proxy">
|
||||
<summary>
|
||||
Set Proxy server to use for all the web requests in AutoUpdater.NET.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.AutoUpdater.RemindLaterTimeSpan">
|
||||
<summary>
|
||||
Set if RemindLaterAt interval should be in Minutes, Hours or Days.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:AutoUpdaterDotNET.AutoUpdater.ApplicationExitEventHandler">
|
||||
<summary>
|
||||
A delegate type to handle how to exit the application after update is downloaded.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="E:AutoUpdaterDotNET.AutoUpdater.ApplicationExitEvent">
|
||||
<summary>
|
||||
An event that developers can use to exit the application gracefully.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:AutoUpdaterDotNET.AutoUpdater.CheckForUpdateEventHandler">
|
||||
<summary>
|
||||
A delegate type for hooking up update notifications.
|
||||
</summary>
|
||||
<param name="args">An object containing all the parameters recieved from AppCast XML file. If there will be an error while looking for the XML file then this object will be null.</param>
|
||||
</member>
|
||||
<member name="E:AutoUpdaterDotNET.AutoUpdater.CheckForUpdateEvent">
|
||||
<summary>
|
||||
An event that clients can use to be notified whenever the update is checked.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:AutoUpdaterDotNET.AutoUpdater.ParseUpdateInfoHandler">
|
||||
<summary>
|
||||
A delegate type for hooking up parsing logic.
|
||||
</summary>
|
||||
<param name="args">An object containing the AppCast file received from server.</param>
|
||||
</member>
|
||||
<member name="E:AutoUpdaterDotNET.AutoUpdater.ParseUpdateInfoEvent">
|
||||
<summary>
|
||||
An event that clients can use to be notified whenever the AppCast file needs parsing.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.AutoUpdater.UpdateFormSize">
|
||||
<summary>
|
||||
Set if you want the default update form to have a different size.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:AutoUpdaterDotNET.AutoUpdater.Start(System.Reflection.Assembly)">
|
||||
<summary>
|
||||
Start checking for new version of application and display dialog to the user if update is available.
|
||||
</summary>
|
||||
<param name="myAssembly">Assembly to use for version checking.</param>
|
||||
</member>
|
||||
<member name="M:AutoUpdaterDotNET.AutoUpdater.Start(System.String,System.Reflection.Assembly)">
|
||||
<summary>
|
||||
Start checking for new version of application and display dialog to the user if update is available.
|
||||
</summary>
|
||||
<param name="appCast">URL of the xml file that contains information about latest version of the application.</param>
|
||||
<param name="myAssembly">Assembly to use for version checking.</param>
|
||||
</member>
|
||||
<member name="M:AutoUpdaterDotNET.AutoUpdater.ShowUpdateForm">
|
||||
<summary>
|
||||
Shows standard update dialog.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:AutoUpdaterDotNET.AutoUpdater.Exit">
|
||||
<summary>
|
||||
Detects and exits all instances of running assembly, including current.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:AutoUpdaterDotNET.AutoUpdater.DownloadUpdate">
|
||||
<summary>
|
||||
Opens the Download window that download the update and execute the installer when download completes.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:AutoUpdaterDotNET.UpdateInfoEventArgs">
|
||||
<summary>
|
||||
Object of this class gives you all the details about the update useful in handling the update logic yourself.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.UpdateInfoEventArgs.IsUpdateAvailable">
|
||||
<summary>
|
||||
If new update is available then returns true otherwise false.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.UpdateInfoEventArgs.DownloadURL">
|
||||
<summary>
|
||||
Download URL of the update file.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.UpdateInfoEventArgs.ChangelogURL">
|
||||
<summary>
|
||||
URL of the webpage specifying changes in the new update.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.UpdateInfoEventArgs.CurrentVersion">
|
||||
<summary>
|
||||
Returns newest version of the application available to download.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.UpdateInfoEventArgs.InstalledVersion">
|
||||
<summary>
|
||||
Returns version of the application currently installed on the user's PC.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.UpdateInfoEventArgs.Mandatory">
|
||||
<summary>
|
||||
Shows if the update is required or optional.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.UpdateInfoEventArgs.UpdateMode">
|
||||
<summary>
|
||||
Defines how the Mandatory flag should work.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.UpdateInfoEventArgs.InstallerArgs">
|
||||
<summary>
|
||||
Command line arguments used by Installer.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.UpdateInfoEventArgs.Checksum">
|
||||
<summary>
|
||||
Checksum of the update file.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.UpdateInfoEventArgs.HashingAlgorithm">
|
||||
<summary>
|
||||
Hash algorithm that generated the checksum provided in the XML file.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:AutoUpdaterDotNET.ParseUpdateInfoEventArgs">
|
||||
<summary>
|
||||
An object of this class contains the AppCast file received from server.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.ParseUpdateInfoEventArgs.RemoteData">
|
||||
<summary>
|
||||
Remote data received from the AppCast file.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.ParseUpdateInfoEventArgs.UpdateInfo">
|
||||
<summary>
|
||||
Set this object with values received from the AppCast file.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:AutoUpdaterDotNET.ParseUpdateInfoEventArgs.#ctor(System.String)">
|
||||
<summary>
|
||||
An object containing the AppCast file received from server.
|
||||
</summary>
|
||||
<param name="remoteData">A string containing remote data received from the AppCast file.</param>
|
||||
</member>
|
||||
<member name="T:AutoUpdaterDotNET.BasicAuthentication">
|
||||
<summary>
|
||||
Provides Basic Authentication header for web request.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:AutoUpdaterDotNET.BasicAuthentication.#ctor(System.String,System.String)">
|
||||
<summary>
|
||||
Initializes credentials for Basic Authentication.
|
||||
</summary>
|
||||
<param name="username">Username to use for Basic Authentication</param>
|
||||
<param name="password">Password to use for Basic Authentication</param>
|
||||
</member>
|
||||
<member name="M:AutoUpdaterDotNET.BasicAuthentication.ToString">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.DownloadUpdateDialog.components">
|
||||
<summary>
|
||||
Required designer variable.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:AutoUpdaterDotNET.DownloadUpdateDialog.Dispose(System.Boolean)">
|
||||
<summary>
|
||||
Clean up any resources being used.
|
||||
</summary>
|
||||
<param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
</member>
|
||||
<member name="M:AutoUpdaterDotNET.DownloadUpdateDialog.InitializeComponent">
|
||||
<summary>
|
||||
Required method for Designer support - do not modify
|
||||
the contents of this method with the code editor.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:AutoUpdaterDotNET.MyWebClient">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.MyWebClient.ResponseUri">
|
||||
<summary>
|
||||
Response Uri after any redirects.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:AutoUpdaterDotNET.MyWebClient.GetWebResponse(System.Net.WebRequest,System.IAsyncResult)">
|
||||
<inheritdoc />
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.RemindLaterForm.components">
|
||||
<summary>
|
||||
Required designer variable.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:AutoUpdaterDotNET.RemindLaterForm.Dispose(System.Boolean)">
|
||||
<summary>
|
||||
Clean up any resources being used.
|
||||
</summary>
|
||||
<param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
</member>
|
||||
<member name="M:AutoUpdaterDotNET.RemindLaterForm.InitializeComponent">
|
||||
<summary>
|
||||
Required method for Designer support - do not modify
|
||||
the contents of this method with the code editor.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="F:AutoUpdaterDotNET.UpdateForm.components">
|
||||
<summary>
|
||||
Required designer variable.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="M:AutoUpdaterDotNET.UpdateForm.Dispose(System.Boolean)">
|
||||
<summary>
|
||||
Clean up any resources being used.
|
||||
</summary>
|
||||
<param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
</member>
|
||||
<member name="M:AutoUpdaterDotNET.UpdateForm.InitializeComponent">
|
||||
<summary>
|
||||
Required method for Designer support - do not modify
|
||||
the contents of this method with the code editor.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="T:AutoUpdaterDotNET.Properties.Resources">
|
||||
<summary>
|
||||
A strongly-typed resource class, for looking up localized strings, etc.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.Properties.Resources.ResourceManager">
|
||||
<summary>
|
||||
Returns the cached ResourceManager instance used by this class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.Properties.Resources.Culture">
|
||||
<summary>
|
||||
Overrides the current thread's CurrentUICulture property for all
|
||||
resource lookups using this strongly typed resource class.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.Properties.Resources.clock_go">
|
||||
<summary>
|
||||
Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.Properties.Resources.clock_go_32">
|
||||
<summary>
|
||||
Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.Properties.Resources.clock_play">
|
||||
<summary>
|
||||
Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.Properties.Resources.download">
|
||||
<summary>
|
||||
Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.Properties.Resources.download_32">
|
||||
<summary>
|
||||
Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.Properties.Resources.DownloadSpeedMessage">
|
||||
<summary>
|
||||
Looks up a localized string similar to Downloading at {0}/s.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.Properties.Resources.FileIntegrityCheckFailedCaption">
|
||||
<summary>
|
||||
Looks up a localized string similar to Checksum differs.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.Properties.Resources.FileIntegrityCheckFailedMessage">
|
||||
<summary>
|
||||
Looks up a localized string similar to File integrity check failed and reported some errors..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.Properties.Resources.hand_point">
|
||||
<summary>
|
||||
Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.Properties.Resources.HashAlgorithmNotSupportedCaption">
|
||||
<summary>
|
||||
Looks up a localized string similar to Unsupported Hash Algorithm.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.Properties.Resources.HashAlgorithmNotSupportedMessage">
|
||||
<summary>
|
||||
Looks up a localized string similar to Hash algorithm provided in the XML file is not supported..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.Properties.Resources.update">
|
||||
<summary>
|
||||
Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.Properties.Resources.UpdateCheckFailedCaption">
|
||||
<summary>
|
||||
Looks up a localized string similar to Update Check Failed.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.Properties.Resources.UpdateCheckFailedMessage">
|
||||
<summary>
|
||||
Looks up a localized string similar to There is a problem reaching update server. Please check your internet connection and try again later..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.Properties.Resources.UpdateUnavailableCaption">
|
||||
<summary>
|
||||
Looks up a localized string similar to Update Unavailable.
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.Properties.Resources.UpdateUnavailableMessage">
|
||||
<summary>
|
||||
Looks up a localized string similar to There is no update available. Please try again later..
|
||||
</summary>
|
||||
</member>
|
||||
<member name="P:AutoUpdaterDotNET.Properties.Resources.ZipExtractor">
|
||||
<summary>
|
||||
Looks up a localized resource of type System.Byte[].
|
||||
</summary>
|
||||
</member>
|
||||
</members>
|
||||
</doc>
|
||||
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.2"/></startup></configuration>
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
Testing new file in new folder.
|
||||
@@ -14,18 +14,19 @@
|
||||
"outputPath": "C:\\Users\\David\\Google Drive\\Programmieren\\AlwaysUpToDate\\AlwaysUpToDate-Test\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Microsoft\\Xamarin\\NuGet\\"
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\David\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"netcoreapp3.1"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Users\\David\\AppData\\Roaming\\Cosmos User Kit\\packages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
@@ -57,23 +58,17 @@
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"downloadDependencies": [
|
||||
{
|
||||
"name": "Microsoft.NETCore.App.Host.win-x64",
|
||||
"version": "[3.1.13, 3.1.13]"
|
||||
}
|
||||
],
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.104\\RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.301\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"C:\\Users\\David\\Google Drive\\Programmieren\\AlwaysUpToDate\\AlwaysUpToDate\\AlwaysUpToDate.csproj": {
|
||||
"version": "1.0.0.2",
|
||||
"version": "1.0.0.4",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Users\\David\\Google Drive\\Programmieren\\AlwaysUpToDate\\AlwaysUpToDate\\AlwaysUpToDate.csproj",
|
||||
"projectName": "AlwaysUpToDate",
|
||||
@@ -82,18 +77,19 @@
|
||||
"outputPath": "C:\\Users\\David\\Google Drive\\Programmieren\\AlwaysUpToDate\\AlwaysUpToDate\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Microsoft\\Xamarin\\NuGet\\"
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\David\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"netstandard2.1"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Users\\David\\AppData\\Roaming\\Cosmos User Kit\\packages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
@@ -132,7 +128,7 @@
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.104\\RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.301\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,12 +5,13 @@
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\David\.nuget\packages\;C:\Microsoft\Xamarin\NuGet\</NuGetPackageFolders>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\David\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.8.1</NuGetToolVersion>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.10.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="$([MSBuild]::EnsureTrailingSlash($(NuGetPackageFolders)))" />
|
||||
<SourceRoot Include="C:\Users\David\.nuget\packages\" />
|
||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
|
||||
|
||||
@@ -11,13 +11,13 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("AlwaysUpToDate-Test")]
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Stone_Red")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("AlwaysUpToDate-Test")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("AlwaysUpToDate-Test")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("2.0.0.0")]
|
||||
|
||||
// Von der MSBuild WriteCodeFragment-Klasse generiert.
|
||||
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
41cd0daaf2ff1015abe08afd01a6caed13f77b4d
|
||||
da1ab41b008bcd4dcff766a53c1aef75d94dc828
|
||||
|
||||
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -13,11 +13,11 @@ using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Stone_Red")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("2.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("AlwaysUpToDate-Test")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("AlwaysUpToDate-Test")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("2.0.0.0")]
|
||||
|
||||
// Von der MSBuild WriteCodeFragment-Klasse generiert.
|
||||
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
220ae1cf5717286e9ea071dc72640aea7aaa7ede
|
||||
a28045461202f6924fb2ea0703ad1c06bfbde8b3
|
||||
|
||||
Binary file not shown.
BIN
Binary file not shown.
+1
-1
@@ -9,7 +9,6 @@ C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\bin
|
||||
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\bin\Release\netcoreapp3.1\System.Text.Json.dll
|
||||
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\bin\Release\netcoreapp3.1\AlwaysUpToDate.dll
|
||||
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\bin\Release\netcoreapp3.1\AlwaysUpToDate.pdb
|
||||
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\obj\Release\netcoreapp3.1\AlwaysUpToDate-Test.csprojAssemblyReference.cache
|
||||
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\obj\Release\netcoreapp3.1\AlwaysUpToDate-Test.AssemblyInfoInputs.cache
|
||||
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\obj\Release\netcoreapp3.1\AlwaysUpToDate-Test.AssemblyInfo.cs
|
||||
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\obj\Release\netcoreapp3.1\AlwaysUpToDate-Test.csproj.CoreCompileInputs.cache
|
||||
@@ -17,3 +16,4 @@ C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\obj
|
||||
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\obj\Release\netcoreapp3.1\AlwaysUpToDate-Test.dll
|
||||
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\obj\Release\netcoreapp3.1\AlwaysUpToDate-Test.pdb
|
||||
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\obj\Release\netcoreapp3.1\AlwaysUpToDate-Test.genruntimeconfig.cache
|
||||
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate-Test\obj\Release\netcoreapp3.1\AlwaysUpToDate-Test.csproj.AssemblyReference.cache
|
||||
|
||||
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -33,7 +33,7 @@
|
||||
"lib/netcoreapp3.0/System.Text.Json.dll": {}
|
||||
}
|
||||
},
|
||||
"AlwaysUpToDate/1.0.0.2": {
|
||||
"AlwaysUpToDate/1.0.0.4": {
|
||||
"type": "project",
|
||||
"framework": ".NETStandard,Version=v2.1",
|
||||
"dependencies": {
|
||||
@@ -129,7 +129,7 @@
|
||||
"version.txt"
|
||||
]
|
||||
},
|
||||
"AlwaysUpToDate/1.0.0.2": {
|
||||
"AlwaysUpToDate/1.0.0.4": {
|
||||
"type": "project",
|
||||
"path": "../AlwaysUpToDate/AlwaysUpToDate.csproj",
|
||||
"msbuildProject": "../AlwaysUpToDate/AlwaysUpToDate.csproj"
|
||||
@@ -137,12 +137,12 @@
|
||||
},
|
||||
"projectFileDependencyGroups": {
|
||||
".NETCoreApp,Version=v3.1": [
|
||||
"AlwaysUpToDate >= 1.0.0.2"
|
||||
"AlwaysUpToDate >= 1.0.0.4"
|
||||
]
|
||||
},
|
||||
"packageFolders": {
|
||||
"C:\\Users\\David\\.nuget\\packages\\": {},
|
||||
"C:\\Microsoft\\Xamarin\\NuGet\\": {}
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
@@ -154,18 +154,19 @@
|
||||
"outputPath": "C:\\Users\\David\\Google Drive\\Programmieren\\AlwaysUpToDate\\AlwaysUpToDate-Test\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Microsoft\\Xamarin\\NuGet\\"
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\David\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"netcoreapp3.1"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Users\\David\\AppData\\Roaming\\Cosmos User Kit\\packages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
@@ -197,18 +198,12 @@
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"downloadDependencies": [
|
||||
{
|
||||
"name": "Microsoft.NETCore.App.Host.win-x64",
|
||||
"version": "[3.1.13, 3.1.13]"
|
||||
}
|
||||
],
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.104\\RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.301\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,13 +1,12 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "h7cYyI/TV+CCEcTRZE632SBkNMDHVVkhARybMWUxxfebher2R2CBkRSQ+lToUnAxoLUV2REfEELT2Cq4ohNLhw==",
|
||||
"dgSpecHash": "erKGQQBRG/qpBJ/DeYanTrhnaE1OJBGbxzjzmGzKisWWCJVvRN/bislyQSzGDFKOIED6JTcx3WnTukz68rcZng==",
|
||||
"success": true,
|
||||
"projectFilePath": "C:\\Users\\David\\Google Drive\\Programmieren\\AlwaysUpToDate\\AlwaysUpToDate-Test\\AlwaysUpToDate-Test.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"C:\\Users\\David\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\5.0.0\\system.runtime.compilerservices.unsafe.5.0.0.nupkg.sha512",
|
||||
"C:\\Users\\David\\.nuget\\packages\\system.text.encodings.web\\5.0.1\\system.text.encodings.web.5.0.1.nupkg.sha512",
|
||||
"C:\\Users\\David\\.nuget\\packages\\system.text.json\\5.0.2\\system.text.json.5.0.2.nupkg.sha512",
|
||||
"C:\\Users\\David\\.nuget\\packages\\microsoft.netcore.app.host.win-x64\\3.1.13\\microsoft.netcore.app.host.win-x64.3.1.13.nupkg.sha512"
|
||||
"C:\\Users\\David\\.nuget\\packages\\system.text.json\\5.0.2\\system.text.json.5.0.2.nupkg.sha512"
|
||||
],
|
||||
"logs": []
|
||||
}
|
||||
@@ -1,18 +1,18 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.1</TargetFramework>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
|
||||
<PackageLicenseFile>LICENSE</PackageLicenseFile>
|
||||
<Version>1.0.0.2</Version>
|
||||
<Version>1.0.0.4</Version>
|
||||
<RepositoryUrl>https://github.com/Stone-Red-Code/AlwaysUpToDate</RepositoryUrl>
|
||||
<Description>A simple .NET auto updater</Description>
|
||||
<NeutralLanguage>en</NeutralLanguage>
|
||||
<Company>Stone_Red</Company>
|
||||
<Authors>Stone_Red</Authors>
|
||||
<AssemblyVersion>1.0.0.2</AssemblyVersion>
|
||||
<FileVersion>1.0.0.2</FileVersion>
|
||||
<AssemblyVersion>1.0.0.4</AssemblyVersion>
|
||||
<FileVersion>1.0.0.4</FileVersion>
|
||||
<PackageTags>Updater, AutoUpdate, Auto, C#</PackageTags>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -26,5 +26,4 @@
|
||||
<PackagePath></PackagePath>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
@@ -20,6 +20,14 @@ namespace AlwaysUpToDate
|
||||
|
||||
public event UpdateAvalibleHandler UpdateAvailible;
|
||||
|
||||
public delegate void NoUpdateAvalibleHandler();
|
||||
|
||||
public event NoUpdateAvalibleHandler NoUpdateAvailible;
|
||||
|
||||
public delegate void ExceptionHandler(Exception exception);
|
||||
|
||||
public event ExceptionHandler OnException;
|
||||
|
||||
private readonly Timer updateTimer = new Timer();
|
||||
private readonly string updateInfoUrl;
|
||||
private readonly string installPath;
|
||||
@@ -58,124 +66,162 @@ namespace AlwaysUpToDate
|
||||
|
||||
public async void UpdateTimer_Elapsed(object sender, ElapsedEventArgs e)
|
||||
{
|
||||
using HttpClient client = new HttpClient();
|
||||
HttpResponseMessage response = await client.GetAsync(updateInfoUrl);
|
||||
|
||||
Stream stream = await response.Content.ReadAsStreamAsync();
|
||||
UpdateInfo updateInfo = await JsonSerializer.DeserializeAsync<UpdateInfo>(stream);
|
||||
|
||||
Version assemblyVersion = Assembly.GetEntryAssembly().GetName().Version;
|
||||
bool succes = Version.TryParse(updateInfo.Version, out Version version);
|
||||
|
||||
if (!succes)
|
||||
return;
|
||||
|
||||
if (version > assemblyVersion && !updaing)
|
||||
try
|
||||
{
|
||||
updateUrl = updateInfo.FileUrl;
|
||||
if (!updateInfo.Mandatory)
|
||||
using HttpClient client = new HttpClient();
|
||||
HttpResponseMessage response = await client.GetAsync(updateInfoUrl);
|
||||
|
||||
Stream stream = await response.Content.ReadAsStreamAsync();
|
||||
UpdateInfo updateInfo = await JsonSerializer.DeserializeAsync<UpdateInfo>(stream);
|
||||
|
||||
Version assemblyVersion = Assembly.GetEntryAssembly().GetName().Version;
|
||||
bool succes = Version.TryParse(updateInfo.Version, out Version version);
|
||||
|
||||
if (!succes)
|
||||
return;
|
||||
|
||||
if (version > assemblyVersion && !updaing)
|
||||
{
|
||||
UpdateAvailible(updateInfo.Version, updateInfo.AdditionalInformation);
|
||||
updateUrl = updateInfo.FileUrl;
|
||||
if (!updateInfo.Mandatory)
|
||||
{
|
||||
if (UpdateAvailible != null)
|
||||
UpdateAvailible(updateInfo.Version, updateInfo.AdditionalInformation);
|
||||
}
|
||||
else
|
||||
{
|
||||
Update();
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Update();
|
||||
if (NoUpdateAvailible != null)
|
||||
NoUpdateAvailible();
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
if (OnException != null)
|
||||
OnException(ex);
|
||||
}
|
||||
}
|
||||
|
||||
private async Task DownloadFile()
|
||||
{
|
||||
updateTimer.Stop();
|
||||
updaing = true;
|
||||
using HttpClient client = new HttpClient();
|
||||
try
|
||||
{
|
||||
updateTimer.Stop();
|
||||
updaing = true;
|
||||
using HttpClient client = new HttpClient();
|
||||
|
||||
HttpResponseMessage response = client.GetAsync(updateUrl).Result;
|
||||
using Stream contentStream = response.Content.ReadAsStreamAsync().Result;
|
||||
await ProcessContentStream(response.Content.Headers.ContentLength, contentStream);
|
||||
HttpResponseMessage response = client.GetAsync(updateUrl).Result;
|
||||
using Stream contentStream = response.Content.ReadAsStreamAsync().Result;
|
||||
await ProcessContentStream(response.Content.Headers.ContentLength, contentStream);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
if (OnException != null)
|
||||
OnException(ex);
|
||||
}
|
||||
}
|
||||
|
||||
private void ExtractZipFile()
|
||||
{
|
||||
ZipArchive zipArchive = ZipFile.OpenRead(Path.Join(installPath, "Update.zip"));
|
||||
string executablePath = Process.GetCurrentProcess().MainModule.FileName;
|
||||
Console.WriteLine(executablePath);
|
||||
|
||||
foreach (ZipArchiveEntry entry in zipArchive.Entries)
|
||||
try
|
||||
{
|
||||
if (File.Exists(Path.Join(installPath, entry.FullName)))
|
||||
{
|
||||
string moveName = entry.FullName;
|
||||
while (File.Exists(Path.Join(installPath, moveName)))
|
||||
{
|
||||
moveName += "_OLD_";
|
||||
}
|
||||
File.Move(Path.Join(installPath, entry.FullName), Path.Join(installPath, moveName));
|
||||
}
|
||||
if (entry.FullName.EndsWith("/"))
|
||||
{
|
||||
if (!Directory.Exists(Path.Join(installPath, entry.FullName)))
|
||||
Directory.CreateDirectory(Path.Join(installPath, entry.FullName));
|
||||
}
|
||||
else
|
||||
{
|
||||
entry.ExtractToFile(Path.Join(installPath, entry.FullName), true);
|
||||
}
|
||||
}
|
||||
zipArchive.Dispose();
|
||||
ZipArchive zipArchive = ZipFile.OpenRead(Path.Join(installPath, "Update.zip"));
|
||||
string executablePath = Process.GetCurrentProcess().MainModule.FileName;
|
||||
Console.WriteLine(executablePath);
|
||||
|
||||
foreach (string filePath in Directory.GetFiles(installPath, "*.*", SearchOption.AllDirectories))
|
||||
foreach (ZipArchiveEntry entry in zipArchive.Entries)
|
||||
{
|
||||
if (File.Exists(Path.Join(installPath, entry.FullName)))
|
||||
{
|
||||
string moveName = entry.FullName;
|
||||
while (File.Exists(Path.Join(installPath, moveName)))
|
||||
{
|
||||
moveName += "_OLD_";
|
||||
}
|
||||
File.Move(Path.Join(installPath, entry.FullName), Path.Join(installPath, moveName));
|
||||
}
|
||||
if (entry.FullName.EndsWith("/"))
|
||||
{
|
||||
if (!Directory.Exists(Path.Join(installPath, entry.FullName)))
|
||||
Directory.CreateDirectory(Path.Join(installPath, entry.FullName));
|
||||
}
|
||||
else
|
||||
{
|
||||
entry.ExtractToFile(Path.Join(installPath, entry.FullName), true);
|
||||
}
|
||||
}
|
||||
zipArchive.Dispose();
|
||||
|
||||
foreach (string filePath in Directory.GetFiles(installPath, "*.*", SearchOption.AllDirectories))
|
||||
{
|
||||
if (filePath.Contains("_OLD_"))
|
||||
{
|
||||
try
|
||||
{
|
||||
File.Delete(filePath);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Debug.WriteLine(ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
File.Delete(Path.Join(installPath, "Update.zip"));
|
||||
Process.Start(executablePath);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
if (filePath.Contains("_OLD_"))
|
||||
{
|
||||
try
|
||||
{
|
||||
File.Delete(filePath);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Debug.WriteLine(ex);
|
||||
}
|
||||
}
|
||||
if (OnException != null)
|
||||
OnException(ex);
|
||||
}
|
||||
|
||||
File.Delete(Path.Join(installPath, "Update.zip"));
|
||||
Process.Start(executablePath);
|
||||
Environment.Exit(0);
|
||||
}
|
||||
|
||||
private async Task ProcessContentStream(long? totalDownloadSize, Stream contentStream)
|
||||
{
|
||||
long totalBytesRead = 0;
|
||||
int readCount = 0;
|
||||
byte[] buffer = new byte[8192];
|
||||
bool isMoreToRead = true;
|
||||
|
||||
using var fileStream = new FileStream($"{installPath}Update.zip", FileMode.Create, FileAccess.Write, FileShare.None, 8192, true);
|
||||
do
|
||||
try
|
||||
{
|
||||
int bytesRead = contentStream.ReadAsync(buffer, 0, buffer.Length).Result;
|
||||
if (bytesRead == 0)
|
||||
long totalBytesRead = 0;
|
||||
int readCount = 0;
|
||||
byte[] buffer = new byte[8192];
|
||||
bool isMoreToRead = true;
|
||||
|
||||
using var fileStream = new FileStream($"{installPath}Update.zip", FileMode.Create, FileAccess.Write, FileShare.None, 8192, true);
|
||||
do
|
||||
{
|
||||
isMoreToRead = false;
|
||||
TriggerProgressChanged(totalDownloadSize, totalBytesRead);
|
||||
continue;
|
||||
}
|
||||
int bytesRead = contentStream.ReadAsync(buffer, 0, buffer.Length).Result;
|
||||
if (bytesRead == 0)
|
||||
{
|
||||
isMoreToRead = false;
|
||||
TriggerProgressChanged(totalDownloadSize, totalBytesRead);
|
||||
continue;
|
||||
}
|
||||
|
||||
await fileStream.WriteAsync(buffer, 0, bytesRead);
|
||||
await fileStream.WriteAsync(buffer, 0, bytesRead);
|
||||
|
||||
totalBytesRead += bytesRead;
|
||||
readCount += 1;
|
||||
totalBytesRead += bytesRead;
|
||||
readCount += 1;
|
||||
|
||||
if (readCount >= 10)
|
||||
{
|
||||
readCount = 0;
|
||||
TriggerProgressChanged(totalDownloadSize, totalBytesRead);
|
||||
if (readCount >= 10)
|
||||
{
|
||||
readCount = 0;
|
||||
TriggerProgressChanged(totalDownloadSize, totalBytesRead);
|
||||
}
|
||||
}
|
||||
while (isMoreToRead);
|
||||
fileStream.Close();
|
||||
ExtractZipFile();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
if (OnException != null)
|
||||
OnException(ex);
|
||||
}
|
||||
while (isMoreToRead);
|
||||
fileStream.Close();
|
||||
ExtractZipFile();
|
||||
}
|
||||
|
||||
private void TriggerProgressChanged(long? totalDownloadSize, long totalBytesRead)
|
||||
@@ -187,7 +233,8 @@ namespace AlwaysUpToDate
|
||||
if (totalDownloadSize.HasValue)
|
||||
progressPercentage = Math.Round((double)totalBytesRead / totalDownloadSize.Value * 100, 2);
|
||||
|
||||
ProgressChanged(totalDownloadSize, totalBytesRead, progressPercentage);
|
||||
if (ProgressChanged != null)
|
||||
ProgressChanged(totalDownloadSize, totalBytesRead, progressPercentage);
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
@@ -7,7 +7,7 @@
|
||||
"targets": {
|
||||
".NETStandard,Version=v2.1": {},
|
||||
".NETStandard,Version=v2.1/": {
|
||||
"AlwaysUpToDate/1.0.0": {
|
||||
"AlwaysUpToDate/1.0.0.3": {
|
||||
"dependencies": {
|
||||
"System.Text.Json": "5.0.2"
|
||||
},
|
||||
@@ -99,7 +99,7 @@
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"AlwaysUpToDate/1.0.0": {
|
||||
"AlwaysUpToDate/1.0.0.3": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -7,7 +7,7 @@
|
||||
"targets": {
|
||||
".NETStandard,Version=v2.1": {},
|
||||
".NETStandard,Version=v2.1/": {
|
||||
"AlwaysUpToDate/1.0.0.2": {
|
||||
"AlwaysUpToDate/1.0.0.4": {
|
||||
"dependencies": {
|
||||
"System.Text.Json": "5.0.2"
|
||||
},
|
||||
@@ -99,7 +99,7 @@
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"AlwaysUpToDate/1.0.0.2": {
|
||||
"AlwaysUpToDate/1.0.0.4": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -5,7 +5,7 @@
|
||||
},
|
||||
"projects": {
|
||||
"C:\\Users\\David\\Google Drive\\Programmieren\\AlwaysUpToDate\\AlwaysUpToDate\\AlwaysUpToDate.csproj": {
|
||||
"version": "1.0.0.2",
|
||||
"version": "1.0.0.4",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Users\\David\\Google Drive\\Programmieren\\AlwaysUpToDate\\AlwaysUpToDate\\AlwaysUpToDate.csproj",
|
||||
"projectName": "AlwaysUpToDate",
|
||||
@@ -14,18 +14,19 @@
|
||||
"outputPath": "C:\\Users\\David\\Google Drive\\Programmieren\\AlwaysUpToDate\\AlwaysUpToDate\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Microsoft\\Xamarin\\NuGet\\"
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\David\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"netstandard2.1"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Users\\David\\AppData\\Roaming\\Cosmos User Kit\\packages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
@@ -64,7 +65,7 @@
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.104\\RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.301\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,12 +5,13 @@
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\David\.nuget\packages\;C:\Microsoft\Xamarin\NuGet\</NuGetPackageFolders>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\David\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.8.1</NuGetToolVersion>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.10.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="$([MSBuild]::EnsureTrailingSlash($(NuGetPackageFolders)))" />
|
||||
<SourceRoot Include="C:\Users\David\.nuget\packages\" />
|
||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>AlwaysUpToDate</id>
|
||||
<version>1.0.0.2</version>
|
||||
<authors>Stone_Red</authors>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<license type="file">LICENSE</license>
|
||||
<licenseUrl>https://aka.ms/deprecateLicenseUrl</licenseUrl>
|
||||
<description>A simple .NET auto updater</description>
|
||||
<tags>Updater, AutoUpdate, Auto, C#</tags>
|
||||
<repository url="https://github.com/Stone-Red-Code/AlwaysUpToDate" />
|
||||
<dependencies>
|
||||
<group targetFramework=".NETStandard2.1">
|
||||
<dependency id="System.Text.Json" version="5.0.2" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate\bin\Debug\netstandard2.1\AlwaysUpToDate.dll" target="lib\netstandard2.1\AlwaysUpToDate.dll" />
|
||||
<file src="C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\LICENSE" target="LICENSE" />
|
||||
</files>
|
||||
</package>
|
||||
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>AlwaysUpToDate</id>
|
||||
<version>1.0.0.3</version>
|
||||
<authors>Stone_Red</authors>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<license type="file">LICENSE</license>
|
||||
<licenseUrl>https://aka.ms/deprecateLicenseUrl</licenseUrl>
|
||||
<description>A simple .NET auto updater</description>
|
||||
<tags>Updater, AutoUpdate, Auto, C#</tags>
|
||||
<repository url="https://github.com/Stone-Red-Code/AlwaysUpToDate" />
|
||||
<dependencies>
|
||||
<group targetFramework=".NETStandard2.1">
|
||||
<dependency id="System.Text.Json" version="5.0.2" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate\bin\Debug\netstandard2.1\AlwaysUpToDate.dll" target="lib\netstandard2.1\AlwaysUpToDate.dll" />
|
||||
<file src="C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\LICENSE" target="LICENSE" />
|
||||
</files>
|
||||
</package>
|
||||
@@ -11,13 +11,16 @@
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("AlwaysUpToDate")]
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Stone_Red")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.0.1")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("0.0.0.1")]
|
||||
[assembly: System.Reflection.AssemblyDescriptionAttribute("A simple .NET auto updater")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.3")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0.3")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("AlwaysUpToDate")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("AlwaysUpToDate")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("0.0.0.1")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.3")]
|
||||
[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/Stone-Red-Code/AlwaysUpToDate")]
|
||||
[assembly: System.Resources.NeutralResourcesLanguageAttribute("en")]
|
||||
|
||||
// Von der MSBuild WriteCodeFragment-Klasse generiert.
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
729eef2dbbdce6380998e0e78ee670cb0f175576
|
||||
2c6a2bfedc9a0b31c678fa381f30102529e1114d
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>AlwaysUpToDate</id>
|
||||
<version>1.0.0.3</version>
|
||||
<authors>Stone_Red</authors>
|
||||
<license type="file">LICENSE</license>
|
||||
<licenseUrl>https://aka.ms/deprecateLicenseUrl</licenseUrl>
|
||||
<description>A simple .NET auto updater</description>
|
||||
<tags>Updater, AutoUpdate, Auto, C#</tags>
|
||||
<repository url="https://github.com/Stone-Red-Code/AlwaysUpToDate" />
|
||||
<dependencies>
|
||||
<group targetFramework=".NETStandard2.1">
|
||||
<dependency id="System.Text.Json" version="5.0.2" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate\bin\Release\netstandard2.1\AlwaysUpToDate.dll" target="lib\netstandard2.1\AlwaysUpToDate.dll" />
|
||||
<file src="C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\LICENSE" target="LICENSE" />
|
||||
</files>
|
||||
</package>
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
|
||||
<metadata>
|
||||
<id>AlwaysUpToDate</id>
|
||||
<version>1.0.0.4</version>
|
||||
<authors>Stone_Red</authors>
|
||||
<license type="file">LICENSE</license>
|
||||
<licenseUrl>https://aka.ms/deprecateLicenseUrl</licenseUrl>
|
||||
<description>A simple .NET auto updater</description>
|
||||
<tags>Updater, AutoUpdate, Auto, C#</tags>
|
||||
<repository url="https://github.com/Stone-Red-Code/AlwaysUpToDate" />
|
||||
<dependencies>
|
||||
<group targetFramework=".NETStandard2.1">
|
||||
<dependency id="System.Text.Json" version="5.0.2" exclude="Build,Analyzers" />
|
||||
</group>
|
||||
</dependencies>
|
||||
</metadata>
|
||||
<files>
|
||||
<file src="C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate\bin\Release\netstandard2.1\AlwaysUpToDate.dll" target="lib\netstandard2.1\AlwaysUpToDate.dll" />
|
||||
<file src="C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\LICENSE" target="LICENSE" />
|
||||
</files>
|
||||
</package>
|
||||
@@ -14,11 +14,11 @@ using System.Reflection;
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Stone_Red")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
|
||||
[assembly: System.Reflection.AssemblyDescriptionAttribute("A simple .NET auto updater")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.2")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0.2")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.4")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0.4")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("AlwaysUpToDate")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("AlwaysUpToDate")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.2")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.4")]
|
||||
[assembly: System.Reflection.AssemblyMetadataAttribute("RepositoryUrl", "https://github.com/Stone-Red-Code/AlwaysUpToDate")]
|
||||
[assembly: System.Resources.NeutralResourcesLanguageAttribute("en")]
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
ba7d291dd820afb22b3a6e5f1fd3d28d7f1f7d86
|
||||
bd15c4663558c6bae5a43a846dbe0075fe04cdc6
|
||||
|
||||
Binary file not shown.
BIN
Binary file not shown.
+1
-1
@@ -6,4 +6,4 @@ C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate\obj\Rele
|
||||
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate\obj\Release\netstandard2.1\AlwaysUpToDate.csproj.CoreCompileInputs.cache
|
||||
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate\obj\Release\netstandard2.1\AlwaysUpToDate.dll
|
||||
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate\obj\Release\netstandard2.1\AlwaysUpToDate.pdb
|
||||
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate\obj\Release\netstandard2.1\AlwaysUpToDate.csprojAssemblyReference.cache
|
||||
C:\Users\David\Google Drive\Programmieren\AlwaysUpToDate\AlwaysUpToDate\obj\Release\netstandard2.1\AlwaysUpToDate.csproj.AssemblyReference.cache
|
||||
|
||||
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -342,10 +342,10 @@
|
||||
},
|
||||
"packageFolders": {
|
||||
"C:\\Users\\David\\.nuget\\packages\\": {},
|
||||
"C:\\Microsoft\\Xamarin\\NuGet\\": {}
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0.2",
|
||||
"version": "1.0.0.4",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Users\\David\\Google Drive\\Programmieren\\AlwaysUpToDate\\AlwaysUpToDate\\AlwaysUpToDate.csproj",
|
||||
"projectName": "AlwaysUpToDate",
|
||||
@@ -354,18 +354,19 @@
|
||||
"outputPath": "C:\\Users\\David\\Google Drive\\Programmieren\\AlwaysUpToDate\\AlwaysUpToDate\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Microsoft\\Xamarin\\NuGet\\"
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\David\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"netstandard2.1"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"C:\\Users\\David\\AppData\\Roaming\\Cosmos User Kit\\packages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
@@ -404,7 +405,7 @@
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.104\\RuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.301\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "EfO7BdBy0M5BGjxlXu9Bm76B4MRwztbAUclTQyri0UOkGzQ9A0Htx2W1EWWHTFC1wciXhFiSGlagOYtltB8nLQ==",
|
||||
"dgSpecHash": "/RNWw4H0dQ19OHMwynX45dtE59c23pCCd8FJ9DHk8QmG4tqmJho0HoMn4XkGkDInXcE8eiLheAefIKfkqOsQzA==",
|
||||
"success": true,
|
||||
"projectFilePath": "C:\\Users\\David\\Google Drive\\Programmieren\\AlwaysUpToDate\\AlwaysUpToDate\\AlwaysUpToDate.csproj",
|
||||
"expectedPackageFiles": [
|
||||
|
||||
Reference in New Issue
Block a user