Use paths relative to the location of the executable and not absolute paths.

This allows the executable to be relocated without issues with the configuration files.
This commit is contained in:
2024-03-07 19:19:22 -05:00
parent e297cfb710
commit 9e45b418f9
34 changed files with 74 additions and 48 deletions

View File

@@ -1,14 +1,14 @@
<?xml version="1.0"?>
<configuration>
<appSettings>
<add key="torConfigurationFile" value="C:\boneyard\Tor.Mod\TorWebClient\bin\Debug\Tor\Tor\torcc" />
<add key="torConfigurationFile" value="torcc" />
<add key="torControlPassword" value="" />
<add key="captureTorConsoleOuput" value="true" />
<add key="torControlPort" value="9051" />
<add key="torDefaultConfigurationFile" value="" />
<add key="geoipfile" value="C:\boneyard\Tor.Mod\TorWebClient\bin\Debug\Tor\Tor\geoip" />
<add key="geoip6file" value="C:\boneyard\Tor.Mod\TorWebClient\bin\Debug\Tor\Tor\geoip6" />
<add key="torPath" value="C:\boneyard\Tor.Mod\TorWebClient\bin\Debug\Tor\Tor\Tor.exe" />
<add key="geoipfile" value="geoip" />
<add key="geoip6file" value="geoip6" />
<add key="torPath" value="Tor\Tor\Tor.exe" />
<add key="ClientSettingsProvider.ServiceUri" value="" />
</appSettings>
<startup>