You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found out, that loading relative files didn't work when invoking aegisub from command line, so after some debugging, I found out, that this is caused by the DependencyControl module Logger.moon, that invokes lfs.chdir it changes the current working directory (cwd). Then aegisubs internal cwd also gets changed, which is an issue, since the relative files get resolved into absolute ones, AFTER loading lua plugins, now it isn't that hard to save the cwd before the loading of lua and then use it later in resolvinf relative files
The text was updated successfully, but these errors were encountered:
I found out, that loading relative files didn't work when invoking aegisub from command line, so after some debugging, I found out, that this is caused by the DependencyControl module Logger.moon, that invokes
lfs.chdir
it changes the current working directory (cwd). Then aegisubs internal cwd also gets changed, which is an issue, since the relative files get resolved into absolute ones, AFTER loading lua plugins, now it isn't that hard to save the cwd before the loading of lua and then use it later in resolvinf relative filesThe text was updated successfully, but these errors were encountered: