mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
9a65a60a20
* ArchiSteamFarm: 4.3.1.0 -> 5.1.5.3, use buildDotnetModule * ArchiSteamFarm: fix suggestions Co-authored-by: IvarWithoutBones <ivar.scholten@protonmail.com>
14 lines
642 B
Diff
14 lines
642 B
Diff
diff --git a/ArchiSteamFarm/IPC/ArchiKestrel.cs b/ArchiSteamFarm/IPC/ArchiKestrel.cs
|
|
index 371d305c..701eab3d 100644
|
|
--- a/ArchiSteamFarm/IPC/ArchiKestrel.cs
|
|
+++ b/ArchiSteamFarm/IPC/ArchiKestrel.cs
|
|
@@ -76,7 +76,7 @@ internal static class ArchiKestrel {
|
|
HostBuilder builder = new();
|
|
#endif
|
|
|
|
- string customDirectory = Path.Combine(Directory.GetCurrentDirectory(), SharedInfo.WebsiteDirectory);
|
|
+ string customDirectory = AppContext.BaseDirectory;
|
|
string websiteDirectory = Directory.Exists(customDirectory) ? customDirectory : Path.Combine(AppContext.BaseDirectory, SharedInfo.WebsiteDirectory);
|
|
|
|
// Set default content root
|