Delete DiscordBotConsoleLauncher directory
This commit is contained in:
@@ -1,14 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<OutputType>Exe</OutputType>
|
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
|
||||||
<Nullable>enable</Nullable>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\PluginManager\PluginManager.csproj" />
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
||||||
@@ -1,21 +0,0 @@
|
|||||||
using PluginManager.Online.Updates;
|
|
||||||
|
|
||||||
try
|
|
||||||
{
|
|
||||||
bool requireUpdate = await PluginUpdater.CheckForUpdates("DiscordBotConsoleLauncher");
|
|
||||||
if (requireUpdate)
|
|
||||||
{
|
|
||||||
var update = await PluginUpdater.DownloadUpdateInfo("DiscordBotConsoleLauncher");
|
|
||||||
if (update == Update.Empty)
|
|
||||||
return;
|
|
||||||
|
|
||||||
Console.WriteLine("Found an update: ");
|
|
||||||
Console.WriteLine(update.ToString());
|
|
||||||
}
|
|
||||||
}
|
|
||||||
catch (Exception ex)
|
|
||||||
{
|
|
||||||
Console.WriteLine("An exception was thrown. ");
|
|
||||||
Console.WriteLine(ex.Message);
|
|
||||||
Environment.Exit(-2);
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user