What is word on streets about using GResource vs. simply copying data files to share? I have been reading and both ways have some pros.
GResource is definitely preferred to having multiple data files lying around; having a single file reduces the chance of an installation issue, and allows loading all necessary data with a single read operation.
Thanks. I was also wondering is there way to add whole directories, or all files should be separate entries
No, you cannot add directories: you need to add each file independently to the resource manifest.
You can use your build system to generate the resource manifest from the contents of another file or from the contents of a directory.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.