diff --git a/package.json b/package.json index d07a8040..55d96cc3 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "dist": "electron-builder", "devpack": "npm run build && npm run pack", "release-win": "npm run build && electron-builder --win", - "release-linux": "npm run build && electron-builder --linux", + "release-linux": "electron-builder --linux", "release-mac": "npm run build && electron-builder --mac" }, "dependencies": { diff --git a/src/models/Keychain.js b/src/models/Keychain.js index c70cd39d..0b77df6c 100644 --- a/src/models/Keychain.js +++ b/src/models/Keychain.js @@ -88,14 +88,4 @@ export default class Keychain { this.permissions = this.permissions.filter(x => !x.accounts.some(a => accountsToRemove.includes(a))); this.accounts = this.accounts.filter(a => a.unique() !== account.unique()); } - - updateOrPushAppLink(appLink){ - this.linkedApps.find(app => app.id === appLink.id) - ? this.linkedApps = this.linkedApps.map(app => app.id === appLink.id ? appLink : app) - : this.linkedApps.unshift(appLink); - } - - removeAppLink(appLink){ - this.linkedApps = this.linkedApps.filter(a => a.id !== appLink.id); - } } \ No newline at end of file