Discussion:
[Gambas-user] accessing "embedded" project files from Shell command
Kevin Fishburne
2014-08-28 19:53:56 UTC
Permalink
When you store data files in the project directory and compile the
program those files are contained within the resulting .gambas
executable.
Benoît Minisini
2014-08-28 20:01:28 UTC
Permalink
Post by Kevin Fishburne
When you store data files in the project directory and compile the
program those files are contained within the resulting .gambas
executable.
Tobias Boege
2014-08-28 20:14:20 UTC
Permalink
Post by Kevin Fishburne
When you store data files in the project directory and compile the
program those files are contained within the resulting .gambas
executable.
Benoît Minisini
2014-08-28 20:34:50 UTC
Permalink
PS: Or what Benoit said... BTW: is the .gambas file in a Gambas-specific
archive format?
Yes. Why?
--
Benoît Minisini
Tobias Boege
2014-08-28 20:40:53 UTC
Permalink
Post by Benoît Minisini
PS: Or what Benoit said... BTW: is the .gambas file in a Gambas-specific
archive format?
Yes. Why?
I thought about a way to unpack the archive. gba3 -x didn't come to my mind.
Before I came up with the recursive copy from inside the process, I wondered
if we could just strip away the shebang and use tar or something to extract
it. I don't need it to be a standard format if that's why you asked.

Regards,
Tobi
--
"There's an old saying: Don't change anything... ever!" -- Mr. Monk
Kevin Fishburne
2014-08-29 01:11:01 UTC
Permalink
Post by Kevin Fishburne
When you store data files in the project directory and compile the
program those files are contained within the resulting .gambas
Loading...