@exodus/electron-installer-debian-apparmor
v1.0.0
Published
Wrapper around electron-installer-debian that adds apparmor profile
Readme
@exodus/electron-installer-debian-apparmor
A thin wrapper around electron-installer-debian that adds an AppArmor profile for Ubuntu 24.04+ and other distributions that require AppArmor profiles.
Usage
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:
namemust be explicitly passed as an option, and must be a valid Debian package namescriptsis not supported, as this package adds its ownpostinstandpostrmscripts
License
MIT
