changeset 299:05233dd60205

fix: wrong relative path, still
author Sam <sam@basx.dev>
date Sun, 25 Jun 2023 19:20:34 +0700
parents 717928618344
children b1fe29fe41fb 1fa734fe4384
files src/semicongine/core/buildconfig.nim
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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")