I'm working on an extension where resources are loaded from and exported to a fixed directory. Problems occur if the user puts the extension in a subfolder. How can we get the path of a script? Or is there a way to get the relative path from a certain script file?
↧