Removed help app
This commit is contained in:
@@ -1,14 +0,0 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
|
||||||
|
|
||||||
<PropertyGroup>
|
|
||||||
<OutputType>Exe</OutputType>
|
|
||||||
<TargetFramework>net8.0</TargetFramework>
|
|
||||||
<ImplicitUsings>enable</ImplicitUsings>
|
|
||||||
<Nullable>enable</Nullable>
|
|
||||||
</PropertyGroup>
|
|
||||||
|
|
||||||
<ItemGroup>
|
|
||||||
<ProjectReference Include="..\PluginManager\PluginManager.csproj"/>
|
|
||||||
</ItemGroup>
|
|
||||||
|
|
||||||
</Project>
|
|
||||||
@@ -1,70 +0,0 @@
|
|||||||
using System.Diagnostics;
|
|
||||||
using PluginManager;
|
|
||||||
using PluginManager.Online.Helpers;
|
|
||||||
using PluginManager.Others;
|
|
||||||
using PluginManager.Plugin;
|
|
||||||
|
|
||||||
if (args.Length == 1)
|
|
||||||
{
|
|
||||||
var result = await JsonManager.ConvertFromJson<PluginOnlineInfo>(args[0]);
|
|
||||||
// print all rows
|
|
||||||
Console.WriteLine($"Name: {result.Name}");
|
|
||||||
Console.WriteLine($"Version: {result.Version.ToShortString()}");
|
|
||||||
Console.WriteLine($"Description: {result.Description}");
|
|
||||||
Console.WriteLine($"Download link: {result.DownLoadLink}");
|
|
||||||
Console.WriteLine(
|
|
||||||
$"Supported OS: {((result.SupportedOS & OSType.WINDOWS) != 0 ? "Windows" : "")} {((result.SupportedOS & OSType.LINUX) != 0 ? "Linux" : "")} {((result.SupportedOS & OSType.MACOSX) != 0 ? "MacOSX" : "")}"
|
|
||||||
);
|
|
||||||
Console.WriteLine($"Has dependencies: {result.HasDependencies}");
|
|
||||||
Console.WriteLine($"Dependencies: {result.Dependencies.Count}");
|
|
||||||
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
var _levelingSystem = new PluginOnlineInfo(
|
|
||||||
"Leveling System",
|
|
||||||
new PluginVersion(0, 0, 1),
|
|
||||||
"A simple leveling system for your server",
|
|
||||||
"https://github.com/andreitdr/SethPlugins/raw/releases/LevelingSystem/LevelingSystem.dll",
|
|
||||||
OSType.WINDOWS | OSType.LINUX
|
|
||||||
);
|
|
||||||
|
|
||||||
var _musicPlayerWindows = new PluginOnlineInfo(
|
|
||||||
"Music Player (Windows)", new PluginVersion(0, 0, 1),
|
|
||||||
"A simple music player for your server",
|
|
||||||
"https://github.com/andreitdr/SethPlugins/raw/releases/MusicPlayer/MusicPlayer.dll",
|
|
||||||
OSType.WINDOWS,
|
|
||||||
[
|
|
||||||
new OnlineDependencyInfo("https://github.com/andreitdr/SethPlugins/raw/releases/MusicPlayer/libs/windows/ffmpeg.exe", "ffmpeg.exe"),
|
|
||||||
new OnlineDependencyInfo("https://github.com/andreitdr/SethPlugins/raw/releases/MusicPlayer/libs/windows/libopus.dll", "libopus.dll"),
|
|
||||||
new OnlineDependencyInfo("https://github.com/andreitdr/SethPlugins/raw/releases/MusicPlayer/libs/windows/libsodium.dll", "libsodium.dll"),
|
|
||||||
new OnlineDependencyInfo("https://github.com/andreitdr/SethPlugins/raw/releases/MusicPlayer/libs/windows/opus.dll", "opus.dll"),
|
|
||||||
new OnlineDependencyInfo("https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp_x86.exe", "yt-dlp.exe")
|
|
||||||
]
|
|
||||||
);
|
|
||||||
|
|
||||||
var _musicPlayerLINUX = new PluginOnlineInfo(
|
|
||||||
"Music Player (Linux)", new PluginVersion(0, 0, 1),
|
|
||||||
"A simple music player for your server",
|
|
||||||
"https://github.com/andreitdr/SethPlugins/raw/releases/MusicPlayer/MusicPlayer.dll",
|
|
||||||
OSType.LINUX,
|
|
||||||
[
|
|
||||||
new OnlineDependencyInfo("https://github.com/andreitdr/SethPlugins/raw/releases/MusicPlayer/libs/linux/ffmpeg", "ffmpeg"),
|
|
||||||
new OnlineDependencyInfo("https://github.com/andreitdr/SethPlugins/raw/releases/MusicPlayer/libs/linux/libopus.so", "libopus.so"),
|
|
||||||
new OnlineDependencyInfo("https://github.com/andreitdr/SethPlugins/raw/releases/MusicPlayer/libs/linux/libsodium.so", "libsodium.so"),
|
|
||||||
new OnlineDependencyInfo("https://github.com/yt-dlp/yt-dlp/releases/download/2023.10.13/yt-dlp", "yt-dlp")
|
|
||||||
]
|
|
||||||
);
|
|
||||||
|
|
||||||
List<PluginOnlineInfo> plugins =
|
|
||||||
[
|
|
||||||
_levelingSystem,
|
|
||||||
_musicPlayerWindows,
|
|
||||||
_musicPlayerLINUX
|
|
||||||
];
|
|
||||||
|
|
||||||
Directory.CreateDirectory("output");
|
|
||||||
await JsonManager.SaveToJsonFile("./output/PluginsList.json", plugins);
|
|
||||||
|
|
||||||
Process.Start("notepad.exe", "./output/PluginsList.json");
|
|
||||||
@@ -15,8 +15,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LevelingSystem", "..\SethPl
|
|||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PythonCompatibilityLayer", "..\SethPlugins\PythonCompatibilityLayer\PythonCompatibilityLayer.csproj", "{81ED4953-13E5-4950-96A8-8CEF5FD59559}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "PythonCompatibilityLayer", "..\SethPlugins\PythonCompatibilityLayer\PythonCompatibilityLayer.csproj", "{81ED4953-13E5-4950-96A8-8CEF5FD59559}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DatabaseCreator", "DatabaseCreator\DatabaseCreator.csproj", "{D9BC7451-74A4-4FB3-86CC-A59F6DB889B4}"
|
|
||||||
EndProject
|
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Any CPU = Debug|Any CPU
|
Debug|Any CPU = Debug|Any CPU
|
||||||
@@ -43,10 +41,6 @@ Global
|
|||||||
{81ED4953-13E5-4950-96A8-8CEF5FD59559}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
{81ED4953-13E5-4950-96A8-8CEF5FD59559}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
{81ED4953-13E5-4950-96A8-8CEF5FD59559}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
{81ED4953-13E5-4950-96A8-8CEF5FD59559}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
{81ED4953-13E5-4950-96A8-8CEF5FD59559}.Release|Any CPU.Build.0 = Release|Any CPU
|
{81ED4953-13E5-4950-96A8-8CEF5FD59559}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
{D9BC7451-74A4-4FB3-86CC-A59F6DB889B4}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
|
||||||
{D9BC7451-74A4-4FB3-86CC-A59F6DB889B4}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
|
||||||
{D9BC7451-74A4-4FB3-86CC-A59F6DB889B4}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
|
||||||
{D9BC7451-74A4-4FB3-86CC-A59F6DB889B4}.Release|Any CPU.Build.0 = Release|Any CPU
|
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
GlobalSection(SolutionProperties) = preSolution
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
HideSolutionNode = FALSE
|
HideSolutionNode = FALSE
|
||||||
|
|||||||
Reference in New Issue
Block a user