A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/sindresorhus/grunt-electron below:

GitHub - sindresorhus/grunt-electron: Package Electron apps

Package Electron apps using electron-packager

Issues should be reported on the electron-packager issue tracker.

Please think hard if you really need Grunt for this. A simple vanilla Node.js build script would probably be better.

This is mostly intended for those that have an existing Grunt setup and want to integrate Electron app packaging.

npm install --save-dev grunt-electron
require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks

grunt.initConfig({
	electron: {
		macosBuild: {
			options: {
				name: 'Fixture',
				dir: 'app',
				out: 'dist',
				version: '1.3.5',
				platform: 'darwin',
				arch: 'x64'
			}
		}
	}
});

grunt.registerTask('default', ['electron']);

See the electron-packager options.

In addition you need to supply the name of your app and the dir where your app is located.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4