https://github.com/alchen/electron-rebrand
Rebrand Electron.app binaries for distribution
https://github.com/alchen/electron-rebrand
electron
Last synced: 5 months ago
JSON representation
Rebrand Electron.app binaries for distribution
- Host: GitHub
- URL: https://github.com/alchen/electron-rebrand
- Owner: alchen
- Created: 2015-06-05T09:11:39.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-08-17T10:01:21.000Z (almost 10 years ago)
- Last Synced: 2025-08-19T17:17:19.710Z (10 months ago)
- Topics: electron
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# electron-rebrand
This tool is mostly based on [electron-packager](https://github.com/maxogden/electron-packager), but in a more stripped down form that does the [complete rebranding](http://electron.atom.io/docs/latest/tutorial/application-distribution/), including the helper apps, and also removes the default app and icon, to make it easier to incorporate into a customizeable build flow.
At this point, only the OS X and Win32 portions are implementated.
## Usage:
```
var packager = require('electron-rebrand');
var options = {
name: appName,
platform: 'darwin',
arch: 'x64',
version: '0.27.2',
'app-bundle-id': 'com.example.' + appName,
'app-version': appVersion,
out: './output',
teamID: "developerTeamID"
};
packager(options, function (err, appPath) {
callback(err);
});
```
This will produce a rebreanded base app in `./output` ready for its icon and app to be copied in to the `resource` folder.