holochain / launcher

Desktop launcher to install and use Holochain apps locally (Electron version)
60 stars 2 forks source link

Automatically create AppArmor profile in the deb file when on Ubuntu 24 #152

Open matthme opened 4 months ago

pdaoust commented 4 months ago

Note: I used the deb today, and it turns out my AppArmor profile needed to target /opt/Holochain Launcher (0.3)/holochain-launcher-0.3 rather than the usual /opt/Holochain Launcher (0.3)/chrome-sandbox. Not sure why -- is the chrome sandbox embedded in the former binary?

here's the profile that works for me:

abi <abi/4.0>,
include <tunables/global>

profile holochain-launcher-0.3 /opt/Holochain\ Launcher\ \(0.3\)/holochain-launcher-0.3 flags=(unconfined) {
  userns,

  # Site-specific additions and overrides. See local/README for details.
  include if exists <local/holochain-launcher-0.3>
}