I have a program:
dist/
├── myapp
│ ├── bin
│ │ └── launcher
│ ├── lib
│ │ └── libmyapp.so
│ └── share
│ ├── data00.zip
│ └── data01.zip
What I want to do is combine all of that into a single executable file, so that, for the end user, it's a single file to copy around.
I'd be OK with a bash shell file too. Also, I have control over the .so file. I could statically link it to the player.
How do I combine all of this into a single / merged executable file?
This is on linux. The .zip files are opened with fopen()
. I'm hoping for some kind of magic involving something like FUSE or similar technology.
I was hoping to avoid embedding the .zip as a DATA segment payload or using a .h file because that would change my program in ways that I didn't intend. This is more of a packaging question.