Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change all examples to x86_64 #38

Merged
merged 1 commit into from
Oct 13, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,10 @@ $ npm install -g electron-installer-redhat
And point it to your built app:

```
$ electron-installer-redhat --src dist/app-linux-x64/ --dest dist/installers/ --arch amd64
$ electron-installer-redhat --src dist/app-linux-x64/ --dest dist/installers/ --arch x86_64
```

You'll end up with the package at `dist/installers/app_0.0.1_amd64.rpm`.
You'll end up with the package at `dist/installers/app_0.0.1_x86_64.rpm`.

### Scripts

Expand All @@ -122,7 +122,7 @@ Edit the `scripts` section of your `package.json`:
"scripts": {
"start": "electron .",
"build": "electron-packager . app --platform linux --arch x64 --out dist/",
"rpm64": "electron-installer-redhat --src dist/app-linux-x64/ --dest dist/installers/ --arch amd64"
"rpm64": "electron-installer-redhat --src dist/app-linux-x64/ --dest dist/installers/ --arch x86_64"
},
"devDependencies": {
"electron-installer-redhat": "*",
Expand All @@ -138,7 +138,7 @@ And run the script:
$ npm run rpm64
```

You'll end up with the package at `dist/installers/app_0.0.1_amd64.rpm`.
You'll end up with the package at `dist/installers/app_0.0.1_x86_64.rpm`.

### Programmatically

Expand All @@ -156,7 +156,7 @@ var installer = require('electron-installer-redhat')
var options = {
src: 'dist/app-linux-x64/',
dest: 'dist/installers/',
arch: 'amd64'
arch: 'x86_64'
}

console.log('Creating package (this may take a while)')
Expand All @@ -171,7 +171,7 @@ installer(options, function (err) {
})
```

You'll end up with the package at `dist/installers/app_0.0.1_amd64.rpm`.
You'll end up with the package at `dist/installers/app_0.0.1_x86_64.rpm`.

### Options

Expand All @@ -190,7 +190,7 @@ Even though you can pass most of these options through the command-line interfac
And pass that instead with the `config` option:

```
$ electron-installer-redhat --src dist/app-linux-x64/ --arch amd64 --config config.json
$ electron-installer-redhat --src dist/app-linux-x64/ --arch x86_64 --config config.json
```

Anyways, here's the full list of options:
Expand Down