-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
76ecfdd
commit 74cb69d
Showing
13 changed files
with
290 additions
and
525 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Exiled.Archiver", "Exiled.Archiver\Exiled.Archiver.csproj", "{F06B686A-4A0F-497F-9A1B-5F249691B409}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|Any CPU = Debug|Any CPU | ||
Release|Any CPU = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{F06B686A-4A0F-497F-9A1B-5F249691B409}.Debug|Any CPU.ActiveCfg = Debug|Any CPU | ||
{F06B686A-4A0F-497F-9A1B-5F249691B409}.Debug|Any CPU.Build.0 = Debug|Any CPU | ||
{F06B686A-4A0F-497F-9A1B-5F249691B409}.Release|Any CPU.ActiveCfg = Release|Any CPU | ||
{F06B686A-4A0F-497F-9A1B-5F249691B409}.Release|Any CPU.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
EndGlobal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
#pragma warning disable CS8600 | ||
#pragma warning disable CS8604 | ||
|
||
|
||
namespace Exiled.Archiver | ||
{ | ||
/// <summary> | ||
/// Represents the configuration settings for the application. | ||
/// </summary> | ||
public class Config | ||
{ | ||
/// <summary> | ||
/// Gets or sets the paths configuration. | ||
/// </summary> | ||
public Paths Paths { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the list of plugin names for EXILED plugins. | ||
/// </summary> | ||
public List<string> Plugins { get; set; } = ["Exiled.CreditTags", "Exiled.CustomModules", "Exiled.Events", "Exiled.Permissions"]; | ||
|
||
/// <summary> | ||
/// Gets or sets the list of dependency names for EXILED plugins. | ||
/// </summary> | ||
public List<string> PluginsDependencies { get; set; } = ["0Harmony", "System.ComponentModel.DataAnnotations", "Newtonsoft.Json"]; | ||
|
||
/// <summary> | ||
/// Gets or sets the list of dependency names for NW plugins. | ||
/// </summary> | ||
public List<string> NWDependencies { get; set; } = ["Exiled.API", "SemanticVersioning", "Mono.Posix", "YamlDotNet"]; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFramework>net8.0</TargetFramework> | ||
<RuntimeIdentifiers>win-x64;linux-x64</RuntimeIdentifiers> | ||
<PublishSingleFile>true</PublishSingleFile> | ||
<SelfContained>true</SelfContained> | ||
<IncludeAllContentForSelfExtract>true</IncludeAllContentForSelfExtract> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>disable</Nullable> | ||
<InvariantGlobalization>true</InvariantGlobalization> | ||
<Version>2.0.0</Version> | ||
<Title>Exiled Archiver</Title> | ||
<Authors>Exiled Team</Authors> | ||
<Copyright>Exiled Team</Copyright> | ||
<Company>Exiled Team</Company> | ||
<AssemblyVersion>2.0.0.0</AssemblyVersion> | ||
<FileVersion>2.0.0.0</FileVersion> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="SharpZipLib" Version="1.4.2" /> | ||
</ItemGroup> | ||
|
||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#pragma warning disable CS8600 | ||
#pragma warning disable CS8604 | ||
using System; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System.Reflection; | ||
|
||
using ICSharpCode.SharpZipLib.GZip; | ||
using ICSharpCode.SharpZipLib.Tar; | ||
|
||
namespace Exiled.Archiver | ||
{ | ||
/// <summary> | ||
/// Contains paths configuration for plugin directories. | ||
/// </summary> | ||
public class Paths | ||
{ | ||
/// <summary> | ||
/// Gets or sets the path to the EXILED plugins directory. | ||
/// </summary> | ||
public string ExiledPluginsPath { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the path to the EXILED plugins dependencies directory. | ||
/// </summary> | ||
public string ExiledPluginsDepsPath { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the path to the NW plugins directory. | ||
/// </summary> | ||
public string NWPluginPath { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the path to the NW plugins dependencies directory. | ||
/// </summary> | ||
public string NWPluginDepsPath { get; set; } | ||
} | ||
} |
Oops, something went wrong.