Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
Changed package name
Browse files Browse the repository at this point in the history
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
delgh1 committed Apr 9, 2023
1 parent 16b0c90 commit d306d1b
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 1 deletion.
45 changes: 45 additions & 0 deletions README.MD
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
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "eden-forum",
"name": "eden-chromium-app",
"version": "0.0.2",
"description": "Eden Corp. chromium app with the homepage set to its forum",
"main": "main.js",
Expand Down

0 comments on commit d306d1b

Please sign in to comment.