Skip to content

Commit

Permalink
Electron builder support (#1)
Browse files Browse the repository at this point in the history
* Add initial support for electron-builder

* add new files
  • Loading branch information
andirsun authored Dec 20, 2023
1 parent 51f7531 commit d0240a5
Show file tree
Hide file tree
Showing 6 changed files with 1,124 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules/
node_modules/
dist/
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node-linker=hoisted
30 changes: 30 additions & 0 deletions electron-builder.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
appId: com.andersonlaverde.slackarm
productName: SlackArm
copyright: Copyright © 2023 Anderson Laverde
## Pack the app in the read-only Electron format https://github.com/electron/asar
asar: true
# artifactName: ${productName}.${ext}
directories:
output: dist
buildResources: resources
files:
- package.json
- src/**/*
- node_modules
extraResources:
- resources/**/*
protocols:
- name: electron-deep-linking
schemes:
- slack
linux:
category: Network
synopsis: SlackArm
icon: resources/icons/icon.png
target:
- target: AppImage
arch:
- arm64
publish:
- provider: github
releaseType: release
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,22 @@
"description": "Slack on electron for Linux arm64",
"main": "src/main.js",
"scripts": {
"start": "electron ."
"start": "electron .",
"pack": "electron-builder"
},
"repository": {
"type": "git",
"url": "git+https://github.com/andirsun/slack-arm64.git"
},
"author": "Anderson Laverde",
"author": "Anderson Laverde <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/andirsun/slack-arm64/issues"
"url": "https://github.com/andirsun/slack-arm64/issues",
"email": "[email protected]"
},
"homepage": "https://github.com/andirsun/slack-arm64#readme",
"devDependencies": {
"electron": "^27.1.3"
"electron": "^27.1.3",
"electron-builder": "^24.9.1"
}
}
Loading

0 comments on commit d0240a5

Please sign in to comment.