Skip to content

Commit a43274e

Browse files
committed
Version 1.0.0.0
1 parent 23a62ee commit a43274e

6 files changed

+476
-0
lines changed

LinuxProxyChanger.csproj

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>netcoreapp3.1</TargetFramework>
6+
<Authors>L. Gmann</Authors>
7+
<Company>First-Coder</Company>
8+
<Copyright>L. Gmann</Copyright>
9+
<PackageProjectUrl>https://first-coder.de/</PackageProjectUrl>
10+
</PropertyGroup>
11+
12+
<ItemGroup>
13+
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
14+
</ItemGroup>
15+
16+
<ItemGroup>
17+
<Resource Include="settings.json" />
18+
</ItemGroup>
19+
20+
<ItemGroup>
21+
<None Update="settings.json">
22+
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
23+
</None>
24+
</ItemGroup>
25+
26+
<ProjectExtensions><VisualStudio><UserProperties /></VisualStudio></ProjectExtensions>
27+
28+
</Project>

LinuxProxyChanger.sln

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 16
4+
VisualStudioVersion = 16.0.31025.218
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "LinuxProxyChanger", "LinuxProxyChanger.csproj", "{69B9EA4D-B73B-4715-8AA2-F1B9B5E000C9}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{69B9EA4D-B73B-4715-8AA2-F1B9B5E000C9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{69B9EA4D-B73B-4715-8AA2-F1B9B5E000C9}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{69B9EA4D-B73B-4715-8AA2-F1B9B5E000C9}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{69B9EA4D-B73B-4715-8AA2-F1B9B5E000C9}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {62B5ED99-25D3-4F12-9F65-D11E64EFA2DD}
24+
EndGlobalSection
25+
EndGlobal

Models/FileSettings.cs

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
using System.Collections.Generic;
2+
3+
namespace LinuxProxyChanger.Models
4+
{
5+
public class FileSettings
6+
{
7+
public string Path { get; set; }
8+
public List<string> Proxy { get; set; }
9+
}
10+
}

Models/Settings.cs

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
using System.Collections.Generic;
2+
3+
namespace LinuxProxyChanger.Models
4+
{
5+
public class Settings
6+
{
7+
public bool CallOnNetworkchange { get; set; }
8+
public string NetworkChangeAdapter { get; set; }
9+
public bool SetProxyOnStartUp { get; set; }
10+
11+
public string UniquePrefixLine { get; set; }
12+
public string UniqueSuffixLine { get; set; }
13+
14+
public string BashPath { get; set; }
15+
public string BashCommandEnable { get; set; }
16+
public string BashCommandDisable { get; set; }
17+
18+
public string ProxyIp { get; set; }
19+
public int Timeout { get; set; }
20+
21+
public List<FileSettings> Files { get; set; }
22+
}
23+
}

0 commit comments

Comments
 (0)