changeset 760:916939358fef

fix: wrong relative path, still
author Sam <sam@basx.dev>
date Sun, 25 Jun 2023 19:20:34 +0700
parents 7cf908571ec8
children 288738c0ed5f 0daf0d769fc1
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")