view tests/test_resources.nim @ 675:cba4bebaf9d0

fix: resources on windows
author Sam <sam@basx.dev>
date Wed, 10 May 2023 10:13:23 -0700
parents 496b328faa43
children 5f6d3511ef79
line wrap: on
line source

import std/times

import semicongine

proc main() =
  echo "Mods available: ", modList()
  for modName in modList():
    echo modName, ":"
    selectedMod = modName
    for i in walkResources():
      echo "  ", i, ": ", loadResource(i)[]

when isMainModule:
  main()