I never like hard coded paths. Can YAML files somehow configure what C pre
processor definitions we get during compilation? An if-def could be used in
places where the program is to locate resources and so use either $SNAP
prepended or something else when not run as a snap.
> On Sep 16,
Can't we do something more elegant than that? Having to implement
wrappers and or code changes to each and every program with hardcoded
values seems overly painful.
Couldn't we do something fancy/smart with system calls such that fopen
prepends $SNAP to most requests? I can't imagine there
On 16/09/16 06:11, Dave Chiluk wrote:
> I also realize that it would take more work than this simplistic
> suggestion, but has anyone researched something like that? Plus it
> would give each application even better isolation since the isolation
> would be enforced by snappy.
Except that the
hi,
Am Donnerstag, den 15.09.2016, 16:10 -0500 schrieb Dave Chiluk:
> Hey guys, I'm trying to snap up file. I thought it would be simple.
> This is what I have for my snapcraft.yaml.
>
...
>
> However when I go to run file out of my snap I get
> "
> chiluk@localhost:~$ file