refi64 / zypak

Run Electron binaries in a sandboxed Flatpak environment
BSD 3-Clause "New" or "Revised" License
117 stars 5 forks source link

repl doesn't work in Icalingua++ #29

Closed leohearts closed 1 year ago

leohearts commented 1 year ago

stdin is redirected https://github.com/refi64/zypak/blob/64f6ccfdfd223cc2d2d68608ef42b8ff2fd6400e/zypak-wrapper.sh#L13

refi64 commented 1 year ago

This is mostly intentional so that the sandboxed processes can't seek in stdio descriptors (though perhaps this is less of an issue entirely on Linux?).

I have to ask though: why on earth does a graphical Electron app also have a REPL :sweat_smile:

leohearts commented 1 year ago

idk im just maintaining this flatpak package . It's for sending commands to the main process as this is a chatbot frontend.

leohearts commented 1 year ago

Anyway we got a patch so it works (?

refi64 commented 1 year ago

@leohearts please try the latest zypak main branch (instructions to do so are in the README) and lmk if it works now.