Fix path to runtime (#48)

This commit is contained in:
Patrick Stevens
2024-06-09 12:19:29 +01:00
committed by GitHub
parent fb9c041959
commit 8dc23d5b38

View File

@@ -133,7 +133,7 @@ module Program =
| None ->
// Keep on trucking: let's be optimistic and hope that we're self-contained.
[ dll.Directory ]
| Some (Choice1Of2 runtime) -> [ dll.Directory ; DirectoryInfo runtime.Path ]
| Some (Choice1Of2 runtime) -> [ dll.Directory ; DirectoryInfo $"%s{runtime.Path}/%s{runtime.Version}" ]
| Some (Choice2Of2 sdk) -> [ dll.Directory ; DirectoryInfo sdk.Path ]
let main argv =