module Crixel::Assets::BakedFS
extend BakedFileSystem
bake_folder "rsrc", dir: "./"
end
throws
Unhandled exception: BakedFileSystem empty: no files in C:\Users\Ian\Documents\GitHub\crixel\rsrc (Exception)
from src\crixel.cr:21 in '__crystal_main'
from C:\Users\Ian\scoop\apps\crystal\current\src\crystal\main.cr:129 in 'main_user_code'
from C:\Users\Ian\scoop\apps\crystal\current\src\crystal\main.cr:115 in 'main'
from C:\Users\Ian\scoop\apps\crystal\current\src\crystal\main.cr:141 in 'main'
from C:\Users\Ian\scoop\apps\crystal\current\src\crystal\system\win32\wmain.cr:37 in 'wmain'
from D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288 in '__scrt_common_main_seh'
from C:\WINDOWS\System32\KERNEL32.DLL +95044 in 'BaseThreadInitThunk'
from C:\WINDOWS\SYSTEM32\ntdll.dll +337585 in 'RtlUserThreadStart'
But the files are there :( This also happens regardless of if I use an absolute or relative path or if I change dir or not.
throws
But the files are there :( This also happens regardless of if I use an absolute or relative path or if I change
dir
or not.https://github.com/schovi/baked_file_system/assets/1298501/0ea34ef2-7084-466f-8989-babbf788143f
I also tapped into the
loader/loader.cr
file to print debug stuff to another file. It produced nothing.loader/loader.cr line 23