diff --git a/src/Bot/Bot.fsproj b/src/Bot/Bot.fsproj index 14f2469eaff1bb04bf373486277fdf5503687cc2..63617c7b6f8e6b6aee36b20f4944bbd330a6f5db 100644 --- a/src/Bot/Bot.fsproj +++ b/src/Bot/Bot.fsproj @@ -17,8 +17,8 @@ <Compile Include="Program.fs" /> </ItemGroup> <ItemGroup> - <Content Include="../../data/channels.dat" /> - <Content Include="../../data/config.json"> + <Content Include="data/channels.dat" /> + <Content Include="data/config.json"> <CopyToOutputDirectory>Always</CopyToOutputDirectory> </Content> </ItemGroup> diff --git a/src/Bot/Channels.fs b/src/Bot/Channels.fs index 050b7543dd74c3f4a6de0d34b665294967e0bf48..2dba8df694871ba9cce8c78df71a03278aee2e76 100644 --- a/src/Bot/Channels.fs +++ b/src/Bot/Channels.fs @@ -5,7 +5,7 @@ module Channels = open FSharp.Data open System.IO - let private filepath = __SOURCE_DIRECTORY__ + "/../../data/channels.dat" + let private filepath = __SOURCE_DIRECTORY__ + "/data/channels.dat" let mutable channels = File.ReadLines(filepath) diff --git a/src/Bot/Config.fs b/src/Bot/Config.fs index b7bd65f24108a67527c63a15d6955fe9930b51df..c8a983f49c0d09d9f9f9560fe2cfd3b9921cbe1e 100644 --- a/src/Bot/Config.fs +++ b/src/Bot/Config.fs @@ -7,7 +7,7 @@ module Config = let private getConfig = let builder = new ConfigurationBuilder() - do builder.SetBasePath( Directory.GetCurrentDirectory() + "/../../data" ) |> ignore + do builder.SetBasePath( Directory.GetCurrentDirectory() + "/data" ) |> ignore do builder.AddJsonFile("config.json") |> ignore builder.Build()