Am Freitag, den 29.07.2016, 11:32 +0200 schrieb Dietmar Winkler:
> Hi,
> 
> I'm not sure if this will help. According to the output it _is_
> already looking at the right place.
> 
> > no file '/share/ipe/7.2.5/lua/main.lua'
> 
> but
> 
> $ tree /snap/ipe/current/share/ipe/7.2.5/lua/
> /snap/ipe/current/share/ipe/7.2.5/lua/
> ├── actions.lua
> ├── editpath.lua
> ├── main.lua
> ...
> 

well, it looks in /share, not in /snap ....

try this:
---
#! /bin/sh

export IPELUAPATH=$SNAP/share/ipe/7.2.5/lua

exec $SNAP/bin/ipe
---

save it as wrapper.sh (make it executable), add a copy plugin part to
your snapcraft.yaml that copies it in the toplevel of your snap
and change:
https://github.com/dietmarw/snaps/blob/master/ipe/snapcraft.yaml#L52
to read:

    command: desktop-launch wrapper.sh

if needed also set the other variables to their proper paths ...

ciao
        oli

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
Snapcraft mailing list
Snapcraft@lists.snapcraft.io
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to