Closed rejetto closed 2 years ago
https://github.com/NaitLee/Tradit-TPL/blob/11129a328a6033d84a331e982a3957b3af003cea/tradit-constants.ts#L3
you'd better use __dirname to tell where your tpl is. It's neater, but also your folder may have a different name when downloaded.
__dirname resolves symlinking. But not a big deal this time :)
__dirname
https://github.com/NaitLee/Tradit-TPL/blob/11129a328a6033d84a331e982a3957b3af003cea/tradit-constants.ts#L3
you'd better use __dirname to tell where your tpl is. It's neater, but also your folder may have a different name when downloaded.