Skip to content

Commit

Permalink
remove keytar from F-Droid builds
Browse files Browse the repository at this point in the history
  • Loading branch information
charlag committed Dec 10, 2019
1 parent a5a282d commit 4b327ff
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion fdroid-fix-deps.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ const fs = require('fs')
const packageJson = require('./package.json')

;[
"electron-builder",
'electron',
"electron-builder",
"electron-localshortcut",
"electron-packager",
"electron-updater",
"electron-notarize",
"electron-rebuild",
"express",
"flow-bin",
"request",
Expand All @@ -21,4 +23,12 @@ const packageJson = require('./package.json')
delete packageJson.devDependencies[dep]
})

;[
"keytar"
].forEach((dep) => {
delete packageJson.dependencies[dep]
})

delete packageJson.scripts["postinstall"]

fs.writeFileSync("package.json", JSON.stringify(packageJson, null, " "))

0 comments on commit 4b327ff

Please sign in to comment.