Replies: 1 comment 2 replies
(1) Verification on my environmentIn my environment, Lua scripts inside a directory linked with mklink /D are loaded correctly. (2) An alternative way to load scriptsAs an alternative way to load scripts, you can put the following code in either local directory = string.gsub(nyagos.exe,"%.exe$",".d\\*.lua")
local scripts = nyagos.glob(directory)
if scripts then
for i = 1, #scripts do
loadfile(scripts[i])()
end
end(3) About the removal of automatic loadingRegarding the removal of automatic loading for For example, if a file inside Therefore, if loading |
Uh oh!
There was an error while loading. Please reload this page.
v4.4.18_0 made the following changes:
Note
The scripts in
nyagos.d/are no longer loaded automatically. Use%APPDATA%/NYAOS_ORG/nyagos.dinstead.This modification seems to affect portability: when I want to run the same Nyagos environment on multiple computers, I have to manually synchronize.
I placed Nyagos in a Dropbox folder, so multiple computers synchronize the same Nyagos files through Dropbox.
I tried using
mklink /Dto point%APPDATA%/NYAOS_ORG/nyagos.dto the folder inside my Dropbox, but Nyagos does not use the Lua files innyagos.d.Is there another way to make Nyagos also use the
nyagos.dinside thenyagos.exedirectory?All reactions