Godot Version
Question
So I have an exported godot project and trying to make a PKGBUILD for it (for the AUR) and I can run it if I have “data for linux and bsd” folder, .pck, and another folder thats needed by the program.
I have this line of code:
cp -r "${srcdir}/pkgname/" "${pkgdir}/opt/"
While in src/pkgname/ I can double click the program and it would run perfectly, while in the opt/ it says
Error: Couldn't load project data at path ".". Is the .pck file missing? If you've renamed the executable, the associated.pck file should also be renamed to match the executable's name (without the extension).