Compare commits
6 Commits
main
...
5a09db7423
Author | SHA1 | Date | |
---|---|---|---|
5a09db7423
|
|||
281b6f01a2
|
|||
64100065c9
|
|||
d4dc405b2b
|
|||
22ffc338e7
|
|||
00b50f0601
|
26
.editorconfig
Normal file
26
.editorconfig
Normal file
@ -0,0 +1,26 @@
|
||||
# Remove the line below if you want to inherit .editorconfig settings from higher directories
|
||||
root = true
|
||||
|
||||
# C# files
|
||||
[*.cs]
|
||||
|
||||
# Indentation and spacing
|
||||
indent_size = 4
|
||||
indent_style = space
|
||||
tab_width = 4
|
||||
|
||||
# Naming Conventions
|
||||
dotnet_naming_style.pascal_case_style.capitalization = pascal_case
|
||||
|
||||
# New line preferences
|
||||
csharp_new_line_before_open_brace = none
|
||||
csharp_new_line_before_else = false
|
||||
csharp_new_line_before_catch = false
|
||||
csharp_new_line_before_finally = false
|
||||
|
||||
# Wrapping preferences
|
||||
csharp_preserve_single_line_statements = true
|
||||
csharp_preserve_single_line_blocks = true
|
||||
|
||||
# Switch case
|
||||
csharp_indent_case_contents = true
|
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
.vscode/
|
||||
obj/
|
||||
bin/
|
16
Program.cs
Normal file
16
Program.cs
Normal file
@ -0,0 +1,16 @@
|
||||
public class Program {
|
||||
static void Main(string[] args) {
|
||||
if (args.Length == 0) {
|
||||
Console.ForegroundColor = ConsoleColor.Red;
|
||||
Console.WriteLine("Please specify an option.");
|
||||
Console.ResetColor();
|
||||
} else {
|
||||
switch (args[0]) {
|
||||
case "":
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
23
pacserver.cs
Normal file
23
pacserver.cs
Normal file
@ -0,0 +1,23 @@
|
||||
public class Pacserver {
|
||||
public static string pacmanCacheDirectory { get; set; } = string.Empty;
|
||||
public static string determinePacmanCacheDirectory() {
|
||||
return pacmanCacheDirectory;
|
||||
}
|
||||
|
||||
public static string pacmanDatabaseDirectory { get; set; } = string.Empty;
|
||||
public static string determinePacmanDatabaseDirectory() {
|
||||
return pacmanDatabaseDirectory;
|
||||
}
|
||||
|
||||
public static void checkForNewerPackagesAndDatabases() {
|
||||
|
||||
}
|
||||
|
||||
public static void transferPacmanCache() {
|
||||
|
||||
}
|
||||
|
||||
public static void transferPacmanDatabases() {
|
||||
|
||||
}
|
||||
}
|
14
pacserver.csproj
Normal file
14
pacserver.csproj
Normal file
@ -0,0 +1,14 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net7.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
<PublishSingleFile>true</PublishSingleFile>
|
||||
<SelfContained>true</SelfContained>
|
||||
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
|
||||
<PublishTrimmed>true</PublishTrimmed>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
Reference in New Issue
Block a user