This repository has been archived by the owner on Sep 7, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated electron version to 24.0.0 Created README.MD Added GitHub repo URL to package.json Signed-off-by: Jing Luo <szmun.luoj@gmail.com>
- Loading branch information
Showing
2 changed files
with
46 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
## Build this repo locally | ||
|
||
First, install node.js and npm. | ||
|
||
``` | ||
sudo snap refresh && sudo snap install node --classic --channel=19 | ||
``` | ||
Alternatively, use the package manager of your OS to install node.js and npm. For example, on Debian/Ubuntu: | ||
|
||
``` | ||
sudo apt update && sudo apt install nodejs | ||
``` | ||
|
||
Check the version of node.js and npm: | ||
``` | ||
node -v | ||
npm -v | ||
``` | ||
|
||
Run these commands to clone this repo and initialize the build environment: | ||
|
||
``` | ||
git clone https://github.com/delgh1/eden-chromium-app.git | ||
cd eden-chromium-app | ||
npm init | ||
npm install --save-dev electron | ||
npm install --save-dev @electron-forge/cli | ||
npx electron-forge import | ||
``` | ||
|
||
To create a distributable: | ||
|
||
``` | ||
npm run make | ||
``` | ||
|
||
This will creates the `out` folder where the package will be located. | ||
|
||
To make a Windows installer, dependencies [`mono`](https://www.mono-project.com/download/stable/) and [`wine`](https://wiki.winehq.org/Ubuntu) must be installed first. | ||
|
||
Run these commands to make a binary package that can run on 64bit Windows. | ||
|
||
``` | ||
npm run make -- --arch=x64 --platform=win32 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters