On 02/28/2017 05:51 AM, Roberto Mier Escandón wrote: > Hey guys, > > Couldn't we have environment property pointing also to a file script as > in the case of scriptlets. In the case of needing to set a bunch of > things before launching app I'd prefer having it in that way.
That's a question for the snapd folks (as that's where the `environment` feature is actually implemented). I will say that running a script before running the app is not quite the same as defining environment variables since a script can do whatever it wants (it may have nothing to do with the environment). In my opinion, a keyword called `environment` is probably not the best place for such a feature. -- Kyle Fazzari (kyrofa) Software Engineer Canonical Ltd. k...@canonical.com
signature.asc
Description: OpenPGP digital signature
-- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft