mirror of
https://github.com/Stone-Red-Code/DiscordCLI.git
synced 2026-09-04 00:55:58 +02:00
Auto update [Test 1]
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -3,13 +3,18 @@
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputType>Exe</OutputType>
|
<OutputType>Exe</OutputType>
|
||||||
<TargetFramework>net5.0</TargetFramework>
|
<TargetFramework>net5.0</TargetFramework>
|
||||||
<AssemblyVersion>1.0.0.0</AssemblyVersion>
|
<AssemblyVersion>0.0.3.1</AssemblyVersion>
|
||||||
<FileVersion>1.0.0.0</FileVersion>
|
<FileVersion>0.0.3.1</FileVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
<PackageReference Include="AlwaysUpToDate" Version="1.0.0.3" />
|
||||||
<PackageReference Include="ColorMineStandard" Version="1.0.0" />
|
<PackageReference Include="ColorMineStandard" Version="1.0.0" />
|
||||||
<PackageReference Include="DSharpPlus" Version="3.2.3" />
|
<PackageReference Include="DSharpPlus" Version="3.2.3" />
|
||||||
<PackageReference Include="Stone_Red-C-Sharp-Utilities" Version="1.0.2.1" />
|
<PackageReference Include="Stone_Red-C-Sharp-Utilities" Version="1.0.2.1" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="Properties\PublishProfiles\" />
|
||||||
|
</ItemGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<_LastSelectedProfileId>C:\Users\David\Google Drive\Programmieren\DiscordCLI\DiscordCLI\Properties\PublishProfiles\Windows.pubxml</_LastSelectedProfileId>
|
<_LastSelectedProfileId>C:\Users\David\Google Drive\Programmieren\DiscordCLI\src\DiscordCLI\Properties\PublishProfiles\DiscordCLI.pubxml</_LastSelectedProfileId>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -79,7 +79,10 @@ namespace DiscordCLI
|
|||||||
{
|
{
|
||||||
if (previousInputs.Count > 10)
|
if (previousInputs.Count > 10)
|
||||||
previousInputs.RemoveAt(0);
|
previousInputs.RemoveAt(0);
|
||||||
previousInputs.Add(new string(Input));
|
|
||||||
|
if (previousInputs.Count == 0 || previousInputs[previousInputs.Count - 1] != Input)
|
||||||
|
previousInputs.Add(new string(Input));
|
||||||
|
|
||||||
Input = prefix + Input;
|
Input = prefix + Input;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -4,25 +4,40 @@ using System.Threading.Tasks;
|
|||||||
using System;
|
using System;
|
||||||
using DSharpPlus.Exceptions;
|
using DSharpPlus.Exceptions;
|
||||||
using Stone_Red_Utilities.ConsoleExtentions;
|
using Stone_Red_Utilities.ConsoleExtentions;
|
||||||
|
using System.Reflection;
|
||||||
|
using AlwaysUpToDate;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
namespace DiscordCLI
|
namespace DiscordCLI
|
||||||
{
|
{
|
||||||
internal class Program
|
internal class Program
|
||||||
{
|
{
|
||||||
public static void Main() => new Program().MainAsync().GetAwaiter().GetResult();
|
|
||||||
|
|
||||||
private DiscordClient client;
|
|
||||||
private InputManager inputManager;
|
|
||||||
private OutputManager outputManager;
|
|
||||||
private CommandsManager commandsManager;
|
|
||||||
|
|
||||||
public const string tokenPath = "token.txt";
|
public const string tokenPath = "token.txt";
|
||||||
|
|
||||||
public async Task MainAsync()
|
private DiscordClient client;
|
||||||
|
private CommandsManager commandsManager;
|
||||||
|
private InputManager inputManager;
|
||||||
|
private OutputManager outputManager;
|
||||||
|
|
||||||
|
private Updater updater = new Updater(new TimeSpan(0), "https://github.com/Stone-Red-Code/DiscordCLI/tree/develop/update/updateInfo.json", "./", true);
|
||||||
|
|
||||||
|
public static void Main() => new Program().Setup().GetAwaiter().GetResult();
|
||||||
|
|
||||||
|
private async Task Setup()
|
||||||
{
|
{
|
||||||
Console.ForegroundColor = ConsoleColor.White;
|
Console.ForegroundColor = ConsoleColor.White;
|
||||||
Console.OutputEncoding = System.Text.Encoding.UTF8;
|
Console.OutputEncoding = System.Text.Encoding.UTF8;
|
||||||
|
|
||||||
|
updater.UpdateAvailible += Updater_UpdateAvailible;
|
||||||
|
updater.NoUpdateAvailible += Updater_NoUpdateAvailible;
|
||||||
|
updater.ProgressChanged += Updater_ProgressChanged;
|
||||||
|
updater.Start();
|
||||||
|
|
||||||
|
await Task.Delay(-1);
|
||||||
|
}
|
||||||
|
|
||||||
|
private async Task Start()
|
||||||
|
{
|
||||||
string token = string.Empty;
|
string token = string.Empty;
|
||||||
if (File.Exists(tokenPath))
|
if (File.Exists(tokenPath))
|
||||||
token = File.ReadAllText(tokenPath);
|
token = File.ReadAllText(tokenPath);
|
||||||
@@ -70,6 +85,23 @@ namespace DiscordCLI
|
|||||||
await inputManager.ReadInput();
|
await inputManager.ReadInput();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private async void Updater_NoUpdateAvailible()
|
||||||
|
{
|
||||||
|
await Start();
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Updater_ProgressChanged(long? totalFileSize, long totalBytesDownloaded, double? progressPercentage)
|
||||||
|
{
|
||||||
|
Console.CursorLeft = 0;
|
||||||
|
ConsoleExt.Write($"Downloading Update: {totalBytesDownloaded}/{totalFileSize} {progressPercentage}", ConsoleColor.Yellow);
|
||||||
|
}
|
||||||
|
|
||||||
|
private void Updater_UpdateAvailible(string version, string additionalInformation)
|
||||||
|
{
|
||||||
|
Console.WriteLine($"New version avalible! {version}");
|
||||||
|
updater.Start();
|
||||||
|
}
|
||||||
|
|
||||||
private async Task Client_MessageCreated(DSharpPlus.EventArgs.MessageCreateEventArgs e)
|
private async Task Client_MessageCreated(DSharpPlus.EventArgs.MessageCreateEventArgs e)
|
||||||
{
|
{
|
||||||
await outputManager.WriteMessage(e.Message, e.Channel, e.Guild);
|
await outputManager.WriteMessage(e.Message, e.Channel, e.Guild);
|
||||||
|
|||||||
+1
-1
@@ -6,7 +6,7 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
|||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<Configuration>Release</Configuration>
|
<Configuration>Release</Configuration>
|
||||||
<Platform>Any CPU</Platform>
|
<Platform>Any CPU</Platform>
|
||||||
<PublishDir>bin\Release\net5.0\publish\Linux-arm</PublishDir>
|
<PublishDir>bin\Release\net5.0\publish\DiscordCLI</PublishDir>
|
||||||
<PublishProtocol>FileSystem</PublishProtocol>
|
<PublishProtocol>FileSystem</PublishProtocol>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
+1
-1
@@ -4,6 +4,6 @@ https://go.microsoft.com/fwlink/?LinkID=208121.
|
|||||||
-->
|
-->
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<History>True|2021-05-27T05:47:04.1968183Z;True|2021-05-27T07:46:41.8745649+02:00;</History>
|
<History>True|2021-05-29T15:07:22.9610987Z;True|2021-05-29T16:21:45.0240481+02:00;</History>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
|
||||||
-->
|
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
|
||||||
<History>True|2021-05-27T05:47:11.2358523Z;</History>
|
|
||||||
</PropertyGroup>
|
|
||||||
</Project>
|
|
||||||
@@ -1,16 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
|
||||||
-->
|
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Any CPU</Platform>
|
|
||||||
<PublishDir>bin\Release\net5.0\publish\Linux-x64</PublishDir>
|
|
||||||
<PublishProtocol>FileSystem</PublishProtocol>
|
|
||||||
<TargetFramework>net5.0</TargetFramework>
|
|
||||||
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
|
|
||||||
<SelfContained>false</SelfContained>
|
|
||||||
<PublishSingleFile>True</PublishSingleFile>
|
|
||||||
</PropertyGroup>
|
|
||||||
</Project>
|
|
||||||
@@ -1,14 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="utf-8"?>
|
|
||||||
<!--
|
|
||||||
https://go.microsoft.com/fwlink/?LinkID=208121.
|
|
||||||
-->
|
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
||||||
<PropertyGroup>
|
|
||||||
<Configuration>Release</Configuration>
|
|
||||||
<Platform>Any CPU</Platform>
|
|
||||||
<PublishDir>bin\Release\net5.0\publish\Windows</PublishDir>
|
|
||||||
<PublishProtocol>FileSystem</PublishProtocol>
|
|
||||||
<TargetFramework>net5.0</TargetFramework>
|
|
||||||
<SelfContained>false</SelfContained>
|
|
||||||
</PropertyGroup>
|
|
||||||
</Project>
|
|
||||||
Binary file not shown.
@@ -8,6 +8,7 @@
|
|||||||
".NETCoreApp,Version=v5.0": {
|
".NETCoreApp,Version=v5.0": {
|
||||||
"DiscordCLI/1.0.0": {
|
"DiscordCLI/1.0.0": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"AlwaysUpToDate": "1.0.0.3",
|
||||||
"ColorMineStandard": "1.0.0",
|
"ColorMineStandard": "1.0.0",
|
||||||
"DSharpPlus": "3.2.3",
|
"DSharpPlus": "3.2.3",
|
||||||
"Stone_Red-C-Sharp-Utilities": "1.0.2.1"
|
"Stone_Red-C-Sharp-Utilities": "1.0.2.1"
|
||||||
@@ -16,6 +17,17 @@
|
|||||||
"DiscordCLI.dll": {}
|
"DiscordCLI.dll": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"AlwaysUpToDate/1.0.0.3": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.Text.Json": "5.0.2"
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/netstandard2.1/AlwaysUpToDate.dll": {
|
||||||
|
"assemblyVersion": "1.0.0.3",
|
||||||
|
"fileVersion": "1.0.0.3"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"ColorMineStandard/1.0.0": {
|
"ColorMineStandard/1.0.0": {
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"lib/netstandard2.0/ColorMineStandard.dll": {
|
"lib/netstandard2.0/ColorMineStandard.dll": {
|
||||||
@@ -903,6 +915,14 @@
|
|||||||
"System.Text.Encoding": "4.3.0"
|
"System.Text.Encoding": "4.3.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"System.Text.Json/5.0.2": {
|
||||||
|
"runtime": {
|
||||||
|
"lib/netcoreapp3.0/System.Text.Json.dll": {
|
||||||
|
"assemblyVersion": "5.0.0.0",
|
||||||
|
"fileVersion": "5.0.521.16609"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"System.Text.RegularExpressions/4.3.0": {
|
"System.Text.RegularExpressions/4.3.0": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"System.Runtime": "4.3.0"
|
"System.Runtime": "4.3.0"
|
||||||
@@ -998,6 +1018,13 @@
|
|||||||
"serviceable": false,
|
"serviceable": false,
|
||||||
"sha512": ""
|
"sha512": ""
|
||||||
},
|
},
|
||||||
|
"AlwaysUpToDate/1.0.0.3": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-vJCFkNoEa4cnf4Bck20k0DaPsLk1kgP8uH2B2dbOSpXv+kzVzLAaUsPWO1cm3Yo8bs3Z8JwG3J4xz4AcRzh3yg==",
|
||||||
|
"path": "alwaysuptodate/1.0.0.3",
|
||||||
|
"hashPath": "alwaysuptodate.1.0.0.3.nupkg.sha512"
|
||||||
|
},
|
||||||
"ColorMineStandard/1.0.0": {
|
"ColorMineStandard/1.0.0": {
|
||||||
"type": "package",
|
"type": "package",
|
||||||
"serviceable": true,
|
"serviceable": true,
|
||||||
@@ -1614,6 +1641,13 @@
|
|||||||
"path": "system.text.encoding.extensions/4.3.0",
|
"path": "system.text.encoding.extensions/4.3.0",
|
||||||
"hashPath": "system.text.encoding.extensions.4.3.0.nupkg.sha512"
|
"hashPath": "system.text.encoding.extensions.4.3.0.nupkg.sha512"
|
||||||
},
|
},
|
||||||
|
"System.Text.Json/5.0.2": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-I47dVIGiV6SfAyppphxqupertT/5oZkYLDCX6vC3HpOI4ZLjyoKAreUoem2ie6G0RbRuFrlqz/PcTQjfb2DOfQ==",
|
||||||
|
"path": "system.text.json/5.0.2",
|
||||||
|
"hashPath": "system.text.json.5.0.2.nupkg.sha512"
|
||||||
|
},
|
||||||
"System.Text.RegularExpressions/4.3.0": {
|
"System.Text.RegularExpressions/4.3.0": {
|
||||||
"type": "package",
|
"type": "package",
|
||||||
"serviceable": true,
|
"serviceable": true,
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -8,14 +8,26 @@
|
|||||||
".NETCoreApp,Version=v5.0": {
|
".NETCoreApp,Version=v5.0": {
|
||||||
"DiscordCLI/1.0.0": {
|
"DiscordCLI/1.0.0": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"AlwaysUpToDate": "1.0.0.3",
|
||||||
"ColorMineStandard": "1.0.0",
|
"ColorMineStandard": "1.0.0",
|
||||||
"DSharpPlus": "3.2.3",
|
"DSharpPlus": "3.2.3",
|
||||||
"Stone_Red-C-Sharp-Utilities": "1.0.0.2"
|
"Stone_Red-C-Sharp-Utilities": "1.0.2.1"
|
||||||
},
|
},
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"DiscordCLI.dll": {}
|
"DiscordCLI.dll": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"AlwaysUpToDate/1.0.0.3": {
|
||||||
|
"dependencies": {
|
||||||
|
"System.Text.Json": "5.0.2"
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/netstandard2.1/AlwaysUpToDate.dll": {
|
||||||
|
"assemblyVersion": "1.0.0.3",
|
||||||
|
"fileVersion": "1.0.0.3"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"ColorMineStandard/1.0.0": {
|
"ColorMineStandard/1.0.0": {
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"lib/netstandard2.0/ColorMineStandard.dll": {
|
"lib/netstandard2.0/ColorMineStandard.dll": {
|
||||||
@@ -186,11 +198,11 @@
|
|||||||
"runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.2": {},
|
"runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.2": {},
|
||||||
"runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.2": {},
|
"runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.2": {},
|
||||||
"runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.2": {},
|
"runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl/4.3.2": {},
|
||||||
"Stone_Red-C-Sharp-Utilities/1.0.0.2": {
|
"Stone_Red-C-Sharp-Utilities/1.0.2.1": {
|
||||||
"runtime": {
|
"runtime": {
|
||||||
"lib/netstandard2.1/Stone_Red-C-Sharp-Utilities.dll": {
|
"lib/netstandard2.1/Stone_Red-C-Sharp-Utilities.dll": {
|
||||||
"assemblyVersion": "1.0.0.2",
|
"assemblyVersion": "1.0.2.1",
|
||||||
"fileVersion": "1.0.0.2"
|
"fileVersion": "1.0.2.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -903,6 +915,14 @@
|
|||||||
"System.Text.Encoding": "4.3.0"
|
"System.Text.Encoding": "4.3.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"System.Text.Json/5.0.2": {
|
||||||
|
"runtime": {
|
||||||
|
"lib/netcoreapp3.0/System.Text.Json.dll": {
|
||||||
|
"assemblyVersion": "5.0.0.0",
|
||||||
|
"fileVersion": "5.0.521.16609"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"System.Text.RegularExpressions/4.3.0": {
|
"System.Text.RegularExpressions/4.3.0": {
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"System.Runtime": "4.3.0"
|
"System.Runtime": "4.3.0"
|
||||||
@@ -998,6 +1018,13 @@
|
|||||||
"serviceable": false,
|
"serviceable": false,
|
||||||
"sha512": ""
|
"sha512": ""
|
||||||
},
|
},
|
||||||
|
"AlwaysUpToDate/1.0.0.3": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-vJCFkNoEa4cnf4Bck20k0DaPsLk1kgP8uH2B2dbOSpXv+kzVzLAaUsPWO1cm3Yo8bs3Z8JwG3J4xz4AcRzh3yg==",
|
||||||
|
"path": "alwaysuptodate/1.0.0.3",
|
||||||
|
"hashPath": "alwaysuptodate.1.0.0.3.nupkg.sha512"
|
||||||
|
},
|
||||||
"ColorMineStandard/1.0.0": {
|
"ColorMineStandard/1.0.0": {
|
||||||
"type": "package",
|
"type": "package",
|
||||||
"serviceable": true,
|
"serviceable": true,
|
||||||
@@ -1173,12 +1200,12 @@
|
|||||||
"path": "runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl/4.3.2",
|
"path": "runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl/4.3.2",
|
||||||
"hashPath": "runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl.4.3.2.nupkg.sha512"
|
"hashPath": "runtime.ubuntu.16.10-x64.runtime.native.system.security.cryptography.openssl.4.3.2.nupkg.sha512"
|
||||||
},
|
},
|
||||||
"Stone_Red-C-Sharp-Utilities/1.0.0.2": {
|
"Stone_Red-C-Sharp-Utilities/1.0.2.1": {
|
||||||
"type": "package",
|
"type": "package",
|
||||||
"serviceable": true,
|
"serviceable": true,
|
||||||
"sha512": "sha512-/oH1XweI6G2VjeXuutq3XhHAPiSpotfPnsRMK0n8BXFOqG85y0AXQGaKiEdhCZZOpLHFrNY8rtLepMgLJrsY9w==",
|
"sha512": "sha512-QzwH0QvsDiBvCJTFroZBhN/pMEIiz0C8TNkQci+pxCbnjfTtVkxAYsgmlshCl5oHFJh7VYDLcGAULcMBARSb+w==",
|
||||||
"path": "stone_red-c-sharp-utilities/1.0.0.2",
|
"path": "stone_red-c-sharp-utilities/1.0.2.1",
|
||||||
"hashPath": "stone_red-c-sharp-utilities.1.0.0.2.nupkg.sha512"
|
"hashPath": "stone_red-c-sharp-utilities.1.0.2.1.nupkg.sha512"
|
||||||
},
|
},
|
||||||
"System.AppContext/4.3.0": {
|
"System.AppContext/4.3.0": {
|
||||||
"type": "package",
|
"type": "package",
|
||||||
@@ -1614,6 +1641,13 @@
|
|||||||
"path": "system.text.encoding.extensions/4.3.0",
|
"path": "system.text.encoding.extensions/4.3.0",
|
||||||
"hashPath": "system.text.encoding.extensions.4.3.0.nupkg.sha512"
|
"hashPath": "system.text.encoding.extensions.4.3.0.nupkg.sha512"
|
||||||
},
|
},
|
||||||
|
"System.Text.Json/5.0.2": {
|
||||||
|
"type": "package",
|
||||||
|
"serviceable": true,
|
||||||
|
"sha512": "sha512-I47dVIGiV6SfAyppphxqupertT/5oZkYLDCX6vC3HpOI4ZLjyoKAreUoem2ie6G0RbRuFrlqz/PcTQjfb2DOfQ==",
|
||||||
|
"path": "system.text.json/5.0.2",
|
||||||
|
"hashPath": "system.text.json.5.0.2.nupkg.sha512"
|
||||||
|
},
|
||||||
"System.Text.RegularExpressions/4.3.0": {
|
"System.Text.RegularExpressions/4.3.0": {
|
||||||
"type": "package",
|
"type": "package",
|
||||||
"serviceable": true,
|
"serviceable": true,
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"runtimeOptions": {
|
||||||
|
"tfm": "net5.0",
|
||||||
|
"framework": {
|
||||||
|
"name": "Microsoft.NETCore.App",
|
||||||
|
"version": "5.0.0"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
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("DiscordCLI")]
|
[assembly: System.Reflection.AssemblyCompanyAttribute("DiscordCLI")]
|
||||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("0.0.3.1")]
|
||||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||||
[assembly: System.Reflection.AssemblyProductAttribute("DiscordCLI")]
|
[assembly: System.Reflection.AssemblyProductAttribute("DiscordCLI")]
|
||||||
[assembly: System.Reflection.AssemblyTitleAttribute("DiscordCLI")]
|
[assembly: System.Reflection.AssemblyTitleAttribute("DiscordCLI")]
|
||||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
[assembly: System.Reflection.AssemblyVersionAttribute("0.0.3.1")]
|
||||||
|
|
||||||
// Von der MSBuild WriteCodeFragment-Klasse generiert.
|
// Von der MSBuild WriteCodeFragment-Klasse generiert.
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
b19e6f37bddcbdb1df945fddaf2581ec8ab2932c
|
9b99ab83dcda73570f129246f1c0607940ee987c
|
||||||
|
|||||||
Binary file not shown.
@@ -1 +1 @@
|
|||||||
d66ea650fdd7843db4c6a535455ec0e4db621eb3
|
cbaf3c5b762f0a41704c9c99f67bfcfa1eaa46b2
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -46,6 +46,10 @@
|
|||||||
"net5.0": {
|
"net5.0": {
|
||||||
"targetAlias": "net5.0",
|
"targetAlias": "net5.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"AlwaysUpToDate": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[1.0.0.3, )"
|
||||||
|
},
|
||||||
"ColorMineStandard": {
|
"ColorMineStandard": {
|
||||||
"target": "Package",
|
"target": "Package",
|
||||||
"version": "[1.0.0, )"
|
"version": "[1.0.0, )"
|
||||||
|
|||||||
Binary file not shown.
@@ -1 +1 @@
|
|||||||
6b3b4647b7644f9b16fb8ec3b15a9fe904531b35
|
cf150e1bfaf277cbd1170fe306a9139e981a800b
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -1 +1 @@
|
|||||||
3e2c7be251ce3e62a6541dac29e1895e802a69f2
|
7913be6fc5baee9a6c6e2d3d32160d2ff9b796ff
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
@@ -2,6 +2,18 @@
|
|||||||
"version": 3,
|
"version": 3,
|
||||||
"targets": {
|
"targets": {
|
||||||
"net5.0": {
|
"net5.0": {
|
||||||
|
"AlwaysUpToDate/1.0.0.3": {
|
||||||
|
"type": "package",
|
||||||
|
"dependencies": {
|
||||||
|
"System.Text.Json": "5.0.2"
|
||||||
|
},
|
||||||
|
"compile": {
|
||||||
|
"lib/netstandard2.1/AlwaysUpToDate.dll": {}
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/netstandard2.1/AlwaysUpToDate.dll": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
"ColorMineStandard/1.0.0": {
|
"ColorMineStandard/1.0.0": {
|
||||||
"type": "package",
|
"type": "package",
|
||||||
"compile": {
|
"compile": {
|
||||||
@@ -1526,6 +1538,15 @@
|
|||||||
"ref/netstandard1.3/System.Text.Encoding.Extensions.dll": {}
|
"ref/netstandard1.3/System.Text.Encoding.Extensions.dll": {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"System.Text.Json/5.0.2": {
|
||||||
|
"type": "package",
|
||||||
|
"compile": {
|
||||||
|
"lib/netcoreapp3.0/System.Text.Json.dll": {}
|
||||||
|
},
|
||||||
|
"runtime": {
|
||||||
|
"lib/netcoreapp3.0/System.Text.Json.dll": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
"System.Text.RegularExpressions/4.3.0": {
|
"System.Text.RegularExpressions/4.3.0": {
|
||||||
"type": "package",
|
"type": "package",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -1673,6 +1694,19 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"libraries": {
|
"libraries": {
|
||||||
|
"AlwaysUpToDate/1.0.0.3": {
|
||||||
|
"sha512": "vJCFkNoEa4cnf4Bck20k0DaPsLk1kgP8uH2B2dbOSpXv+kzVzLAaUsPWO1cm3Yo8bs3Z8JwG3J4xz4AcRzh3yg==",
|
||||||
|
"type": "package",
|
||||||
|
"path": "alwaysuptodate/1.0.0.3",
|
||||||
|
"files": [
|
||||||
|
".nupkg.metadata",
|
||||||
|
".signature.p7s",
|
||||||
|
"LICENSE",
|
||||||
|
"alwaysuptodate.1.0.0.3.nupkg.sha512",
|
||||||
|
"alwaysuptodate.nuspec",
|
||||||
|
"lib/netstandard2.1/AlwaysUpToDate.dll"
|
||||||
|
]
|
||||||
|
},
|
||||||
"ColorMineStandard/1.0.0": {
|
"ColorMineStandard/1.0.0": {
|
||||||
"sha512": "sR4zFOJ6wT0bFgjivk4plQrO3q7j/ew6aKJY48ssNoXBvq7jiLB9PtuS4UOGqOcxEM571QSJKeNU3GmKFXc/dw==",
|
"sha512": "sR4zFOJ6wT0bFgjivk4plQrO3q7j/ew6aKJY48ssNoXBvq7jiLB9PtuS4UOGqOcxEM571QSJKeNU3GmKFXc/dw==",
|
||||||
"type": "package",
|
"type": "package",
|
||||||
@@ -5350,6 +5384,28 @@
|
|||||||
"system.text.encoding.extensions.nuspec"
|
"system.text.encoding.extensions.nuspec"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"System.Text.Json/5.0.2": {
|
||||||
|
"sha512": "I47dVIGiV6SfAyppphxqupertT/5oZkYLDCX6vC3HpOI4ZLjyoKAreUoem2ie6G0RbRuFrlqz/PcTQjfb2DOfQ==",
|
||||||
|
"type": "package",
|
||||||
|
"path": "system.text.json/5.0.2",
|
||||||
|
"files": [
|
||||||
|
".nupkg.metadata",
|
||||||
|
".signature.p7s",
|
||||||
|
"Icon.png",
|
||||||
|
"LICENSE.TXT",
|
||||||
|
"THIRD-PARTY-NOTICES.TXT",
|
||||||
|
"lib/net461/System.Text.Json.dll",
|
||||||
|
"lib/net461/System.Text.Json.xml",
|
||||||
|
"lib/netcoreapp3.0/System.Text.Json.dll",
|
||||||
|
"lib/netcoreapp3.0/System.Text.Json.xml",
|
||||||
|
"lib/netstandard2.0/System.Text.Json.dll",
|
||||||
|
"lib/netstandard2.0/System.Text.Json.xml",
|
||||||
|
"system.text.json.5.0.2.nupkg.sha512",
|
||||||
|
"system.text.json.nuspec",
|
||||||
|
"useSharedDesignerContext.txt",
|
||||||
|
"version.txt"
|
||||||
|
]
|
||||||
|
},
|
||||||
"System.Text.RegularExpressions/4.3.0": {
|
"System.Text.RegularExpressions/4.3.0": {
|
||||||
"sha512": "RpT2DA+L660cBt1FssIE9CAGpLFdFPuheB7pLpKpn6ZXNby7jDERe8Ua/Ne2xGiwLVG2JOqziiaVCGDon5sKFA==",
|
"sha512": "RpT2DA+L660cBt1FssIE9CAGpLFdFPuheB7pLpKpn6ZXNby7jDERe8Ua/Ne2xGiwLVG2JOqziiaVCGDon5sKFA==",
|
||||||
"type": "package",
|
"type": "package",
|
||||||
@@ -5869,6 +5925,7 @@
|
|||||||
},
|
},
|
||||||
"projectFileDependencyGroups": {
|
"projectFileDependencyGroups": {
|
||||||
"net5.0": [
|
"net5.0": [
|
||||||
|
"AlwaysUpToDate >= 1.0.0.3",
|
||||||
"ColorMineStandard >= 1.0.0",
|
"ColorMineStandard >= 1.0.0",
|
||||||
"DSharpPlus >= 3.2.3",
|
"DSharpPlus >= 3.2.3",
|
||||||
"Stone_Red-C-Sharp-Utilities >= 1.0.2.1"
|
"Stone_Red-C-Sharp-Utilities >= 1.0.2.1"
|
||||||
@@ -5921,6 +5978,10 @@
|
|||||||
"net5.0": {
|
"net5.0": {
|
||||||
"targetAlias": "net5.0",
|
"targetAlias": "net5.0",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"AlwaysUpToDate": {
|
||||||
|
"target": "Package",
|
||||||
|
"version": "[1.0.0.3, )"
|
||||||
|
},
|
||||||
"ColorMineStandard": {
|
"ColorMineStandard": {
|
||||||
"target": "Package",
|
"target": "Package",
|
||||||
"version": "[1.0.0, )"
|
"version": "[1.0.0, )"
|
||||||
|
|||||||
@@ -1,9 +1,10 @@
|
|||||||
{
|
{
|
||||||
"version": 2,
|
"version": 2,
|
||||||
"dgSpecHash": "Sd5hpdPX468vitJPajPRcSMeE6uWNGkfdaCwfOPZjTBB+77H8fvWa+ejKX0QBCdfNu4FyA2bZOqgsxhGYcKcVA==",
|
"dgSpecHash": "xN3R9JWvaILB1RFf8ZjeIPjgIebiqc6JTEiUoqzxRfWNpvvikqipFUp/rsvByUHMKTc8/bP4JPTnC3EWatCf8w==",
|
||||||
"success": true,
|
"success": true,
|
||||||
"projectFilePath": "C:\\Users\\David\\Google Drive\\Programmieren\\DiscordCLI\\src\\DiscordCLI\\DiscordCLI.csproj",
|
"projectFilePath": "C:\\Users\\David\\Google Drive\\Programmieren\\DiscordCLI\\src\\DiscordCLI\\DiscordCLI.csproj",
|
||||||
"expectedPackageFiles": [
|
"expectedPackageFiles": [
|
||||||
|
"C:\\Users\\David\\.nuget\\packages\\alwaysuptodate\\1.0.0.3\\alwaysuptodate.1.0.0.3.nupkg.sha512",
|
||||||
"C:\\Users\\David\\.nuget\\packages\\colorminestandard\\1.0.0\\colorminestandard.1.0.0.nupkg.sha512",
|
"C:\\Users\\David\\.nuget\\packages\\colorminestandard\\1.0.0\\colorminestandard.1.0.0.nupkg.sha512",
|
||||||
"C:\\Users\\David\\.nuget\\packages\\dsharpplus\\3.2.3\\dsharpplus.3.2.3.nupkg.sha512",
|
"C:\\Users\\David\\.nuget\\packages\\dsharpplus\\3.2.3\\dsharpplus.3.2.3.nupkg.sha512",
|
||||||
"C:\\Users\\David\\.nuget\\packages\\microsoft.csharp\\4.3.0\\microsoft.csharp.4.3.0.nupkg.sha512",
|
"C:\\Users\\David\\.nuget\\packages\\microsoft.csharp\\4.3.0\\microsoft.csharp.4.3.0.nupkg.sha512",
|
||||||
@@ -92,6 +93,7 @@
|
|||||||
"C:\\Users\\David\\.nuget\\packages\\system.security.principal.windows\\4.3.0\\system.security.principal.windows.4.3.0.nupkg.sha512",
|
"C:\\Users\\David\\.nuget\\packages\\system.security.principal.windows\\4.3.0\\system.security.principal.windows.4.3.0.nupkg.sha512",
|
||||||
"C:\\Users\\David\\.nuget\\packages\\system.text.encoding\\4.3.0\\system.text.encoding.4.3.0.nupkg.sha512",
|
"C:\\Users\\David\\.nuget\\packages\\system.text.encoding\\4.3.0\\system.text.encoding.4.3.0.nupkg.sha512",
|
||||||
"C:\\Users\\David\\.nuget\\packages\\system.text.encoding.extensions\\4.3.0\\system.text.encoding.extensions.4.3.0.nupkg.sha512",
|
"C:\\Users\\David\\.nuget\\packages\\system.text.encoding.extensions\\4.3.0\\system.text.encoding.extensions.4.3.0.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\\system.text.regularexpressions\\4.3.0\\system.text.regularexpressions.4.3.0.nupkg.sha512",
|
"C:\\Users\\David\\.nuget\\packages\\system.text.regularexpressions\\4.3.0\\system.text.regularexpressions.4.3.0.nupkg.sha512",
|
||||||
"C:\\Users\\David\\.nuget\\packages\\system.threading\\4.3.0\\system.threading.4.3.0.nupkg.sha512",
|
"C:\\Users\\David\\.nuget\\packages\\system.threading\\4.3.0\\system.threading.4.3.0.nupkg.sha512",
|
||||||
"C:\\Users\\David\\.nuget\\packages\\system.threading.tasks\\4.3.0\\system.threading.tasks.4.3.0.nupkg.sha512",
|
"C:\\Users\\David\\.nuget\\packages\\system.threading.tasks\\4.3.0\\system.threading.tasks.4.3.0.nupkg.sha512",
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"Version":"0.0.4.0",
|
||||||
|
"FileUrl":"https://github.com/Stone-Red-Code/DiscordCLI/tree/develop/update/DiscordCLI.zip"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user