How to get directory of Resources folder?

I am using dir=os.getcwd() to try to get the current directory and then adding the resource folder to that. The command works but it is giving me the “\Plug-in Support\Data” directory. I am needing to get the directory of the actual plugin folder. Any suggestions?

Try Core.app_support_path, and then go from there

/T

Thanks, got it working. Couldn’t get it to working at first but found out that I needed
PlexPluginCodePolicy
Elevated
in the info.plist.