diff --git a/package.json b/package.json index 64b8f16281..a1c8228c2c 100644 --- a/package.json +++ b/package.json @@ -221,6 +221,7 @@ "artifactName": "${productName}-${version}-${arch}.${ext}" }, "snap": { + "autoStart": true, "confinement": "strict", "plugs": [ "default", diff --git a/src/main/messaging.main.ts b/src/main/messaging.main.ts index 02981422f4..a6a6079331 100644 --- a/src/main/messaging.main.ts +++ b/src/main/messaging.main.ts @@ -102,13 +102,13 @@ export class MessagingMain { private addOpenAtLogin() { if (process.platform === 'linux') { const data = `[Desktop Entry] - Type=Application - Version=${app.getVersion()} - Name=Bitwarden - Comment=Bitwarden startup script - Exec=${app.getPath('exe')} - StartupNotify=false - Terminal=false`; +Type=Application +Version=${app.getVersion()} +Name=Bitwarden +Comment=Bitwarden startup script +Exec=${app.getPath('exe')} +StartupNotify=false +Terminal=false`; const dir = path.dirname(this.linuxStartupFile()); if (!fs.existsSync(dir)) {