Set up electron-builder for new app (#113)

Adds electron-builder, which we will use to package and distribute our
application, same as in the existing app.
Replaces explicit port assignments with dynamic ones, which are then
stored into environment variables.
Adds a ~/.w2-dev folder for use when running a dev build.

The build-helper pipeline from the old repo is included here too, but it
is not updated yet so it will fail.

Also removes some redundant utility functions and cleans up some let vs.
const usage.

The packaging can be run using the `package:prod` and `package:dev`
tasks.

---------

Co-authored-by: sawka <mike.sawka@gmail.com>
This commit is contained in:
Evan Simkowitz
2024-07-17 18:42:49 -07:00
committed by GitHub
co-authored by sawka
parent e4204b96d8
commit 8971e2feba
27 changed files with 1512 additions and 276 deletions
+1
View File
@@ -13,6 +13,7 @@ bin/
.DS_Store
*~
out/
make/
# Yarn Modern
.pnp.*