-
-
Notifications
You must be signed in to change notification settings - Fork 50
Description
I was trying to give this a try on Solus today and found that there wasn't a terribly easy way to install it. I took a bit of time to familiarize myself with node since I haven't really used it before but from what I can tell it should be pretty simple to build a snap using electron-builder.
After a bit of work getting the current code to build I was then able to get it to produce a functional snap.
Here is the git diff for what I did:
diff --git a/app/package.json b/app/package.json
index be4b496..09b3feb 100644
--- a/app/package.json
+++ b/app/package.json
@@ -39,7 +39,7 @@
"electron-debug": "^1.2.0",
"electron-default-menu": "^1.0.1",
"electron-log": "^2.0.0",
- "electron-updater": "^2.4.2",
+ "electron-updater": "^3.1.2",
"end-of-stream": "^1.1.0",
"findandreplacedomtext": "^0.4.4",
"folder-walker": "^3.1.0",
diff --git a/electron-builder.yml b/electron-builder.yml
index 3deab1f..3ffac36 100644
--- a/electron-builder.yml
+++ b/electron-builder.yml
@@ -34,6 +34,7 @@ linux:
target:
- deb
- rpm
+ - snap
maintainer: "Richard Smith-Unna <rik@fathomlabs.io>"
win:
icon: "build/icon.ico"
The first is just to get sciencefair to build at all and the second makes it spit out a snap. Would there be any interest in either the project having them automatically built and added to the snapcraft store or would it just be a better idea to add it myself at the moment as a community build?
Thank you for taking a look!