# HG changeset patch # User Sam # Date 1687695634 -25200 # Node ID 916939358fefeac3515e452973d3267cdd9e186a # Parent 7cf908571ec8fd27c17d8d7fdc4121b1f4749034 fix: wrong relative path, still diff -r 7cf908571ec8 -r 916939358fef src/semicongine/core/buildconfig.nim --- a/src/semicongine/core/buildconfig.nim Sun Jun 25 19:17:44 2023 +0700 +++ b/src/semicongine/core/buildconfig.nim Sun Jun 25 19:20:34 2023 +0700 @@ -7,7 +7,7 @@ const ENGINENAME* = "semicongine" const ENGINEVERSION* = static: - let nimblePath = currentSourcePath.parentDir().parentDir().parentDir().parentDir().joinPath("semicongine.nimble") + let nimblePath = currentSourcePath.parentDir().parentDir().parentDir().joinPath("semicongine.nimble") let nimbleFile = newStringStream(staticRead(nimblePath)) let config = loadConfig(nimbleFile) config.getSectionValue("", "version")