Wrapper around electron-installer-debian that adds apparmor profile
npm install @exodus/electron-installer-debian-apparmorA thin wrapper around electron-installer-debian that adds an AppArmor profile for Ubuntu 24.04+ and other distributions that require AppArmor profiles.
``js
import installer from '@exodus/electron-installer-debian-apparmor'
const options = {
src: 'dist/app-linux-x64/',
dest: 'dist/installers/',
arch: 'amd64',
name: 'my-app',
}
console.log('Creating package (this may take a while)')
try {
await installer(options)
console.log(Successfully created package at ${options.dest})`
} catch (err) {
console.error(err, err.stack)
process.exit(1)
}
Accepts the same options as electron-installer-debian, with the following differences:
- name must be explicitly passed as an option, and must be a valid Debian package namescripts
- is not supported, as this package adds its own postinst and postrm` scripts
MIT