Skip to content

seanking/electron-google-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electron for Google Chat

Dependencies

Use the following command to install dependencies.

npm install

Run

Use the following command to run a build of the application.

npm run start

Command line arguments can be used to start the app for a specific architecture.

npm run start -- --arm64

Build

Use the following command to build the applications.

npm run pack

Command line arguments can be used to build for a specific architecture.

npm run pack -- --arm64

Multi-platform Builds

Docker builds provide a way to build the application for many platforms.

Linux

The following example uses the electronuserland/builder images to build the appliations for Linux.

docker run --rm -ti \
 --env-file <(env | grep -iE 'DEBUG|NODE_|ELECTRON_|NPM_|BUILD_') \
 --env ELECTRON_CACHE="/root/.cache/electron" \
 --env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" \
 -v ${PWD}:/project \
 -v ${PWD##*/}-node-modules:/project/node_modules \
 -v ~/.cache/electron:/root/.cache/electron \
 -v ~/.cache/electron-builder:/root/.cache/electron-builder \
 electronuserland/builder

npm install
npm run dist

Windows

The following example uses the electronuserland/builder images to build the appliations for Windows with the support of wine.

docker run --rm -ti \
 --env-file <(env | grep -iE 'DEBUG|NODE_|ELECTRON_|NPM_|BUILD_') \
 --env ELECTRON_CACHE="/root/.cache/electron" \
 --env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" \
 -v ${PWD}:/project \
 -v ${PWD##*/}-node-modules:/project/node_modules \
 -v ~/.cache/electron:/root/.cache/electron \
 -v ~/.cache/electron-builder:/root/.cache/electron-builder \
 electronuserland/builder:wine

npm install
npm run dist -- --win

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published