Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

Commit

Permalink
Update README and add ia32 arch for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
brunto committed Nov 23, 2017
1 parent e75b8d3 commit f8e49ff
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

To clone and run this repository you'll need [Git](https://git-scm.com) and [Node.js](https://nodejs.org/en/download/) (which comes with [npm](http://npmjs.com)) installed on your computer.

__First you need to build the angular application and copy the `dist` directory to the root of the PIA Electron Application.__
__First you need to [build the angular application](https://github.com/LINCnil/pia#build) and copy the `dist` directory to the root of the PIA Electron Application.__

From your command line:

```bash
npm install -g electron
# Clone this repository
git clone https://github.com/atnos/pia-app
git clone https://github.com/LINCnil/pia-app
# Go into the repository
cd pia-app
# Install dependencies (You can use YARN instead of npm install)
Expand All @@ -28,14 +28,11 @@ Install electron-packager:

Build with the command:

For MacOs users
`npm run package-mac`
For MacOs users: `npm run package-mac`

For GNU/Linux users
`npm run package-linux`
For GNU/Linux users: `npm run package-linux`

For Windows users
`npm run package-win`
For Windows users: `npm run package-win` (or for 32bits `npm run package-win32`)

Note: If you're using Linux Bash for Windows, [see this guide](https://www.howtogeek.com/261575/how-to-run-graphical-linux-desktop-applications-from-windows-10s-bash-shell/) or use `node` from the command prompt.

Expand Down
13 changes: 7 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{
"name": "PIA",
"version": "0.0.4",
"description": "PIA application",
"version": "0.0.5",
"description": "Version Portable Outil PIA",
"main": "main.js",
"scripts": {
"start": "./node_modules/.bin/electron .",
"package-mac": "electron-packager . --electron-version='1.7.8' --overwrite --prune=true --asar=true --platform=darwin --arch=x64 --icon=icons/mac/icon.icns --out=release-builds",
"package-win": "electron-packager . --electron-version='1.7.8' --overwrite --prune=true --asar=true --platform=win32 --arch=x64 --icon=icons/win/icon.ico --out=release-builds",
"package-linux": "electron-packager . --electron-version='1.7.8' --overwrite --prune=true --asar=true --platform=linux --arch=x64 --out=release-builds"
"package-mac": "electron-packager . --electron-version=1.7.9 --overwrite --prune=true --asar=true --platform=darwin --arch=x64 --icon=icons/mac/icon.icns --out=release-builds",
"package-win32": "electron-packager . --electron-version=1.7.9 --overwrite --prune=true --asar=true --platform=win32 --arch=ia32 --icon=icons/win/icon.ico --out=release-builds",
"package-win": "electron-packager . --electron-version=1.7.9 --overwrite --prune=true --asar=true --platform=win32 --arch=x64 --icon=icons/win/icon.ico --out=release-builds",
"package-linux": "electron-packager . --electron-version=1.7.9 --overwrite --prune=true --asar=true --platform=linux --arch=x64 --out=release-builds"
},
"repository": "https://github.com/atnos/pia-app",
"repository": "https://github.com/LINCnil/pia-app",
"keywords": [
"Electron",
"PIA"
Expand Down

0 comments on commit f8e49ff

Please sign in to comment.