Coder Social home page Coder Social logo

grunt-electron's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

grunt-electron's Issues

Docummentation

It would help a lot to have a full documentation of the available options. I had to dig through code to find this out:
'electron': {
win32: {
options: {
'version-string': {
ProductName: 'Your App Name'

Question: How to archive the whole project except certain files?

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',
                asar: true,
                'asar-unpack': 'app/test/**'
            }
        }
    }
});

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

It doesn't work.

Inheritance with grunt *QUESTION*

Hello, I was wondering if there was a way in grunt to sort of make a "template" of the options so different builds can be shorter. Right now I have something like this

'electron-packager': {
    buildWithIMZ: {
        options: {
            platform        : os.platform(),
            arch            : os.arch(),
            dir             : '.',
            out             : '../gameBuilds/buildWithIMZ',
            name            : artifactIdIMZ,
            executableName  : 'run',
            electronVersion : '1.8.2',
            asar            : true,
            overwrite       : true
        }
    },
    buildWithoutIMZ: {
        options: {
            platform        : os.platform(),
            arch            : os.arch(),
            dir             : '.',
            out             : '../gameBuilds/buildWithoutIMZ',
            name            : artifactIdNonIMZ,
            executableName  : 'run',
            electronVersion : '1.8.2',
            asar            : true,                  
            overwrite       : true
        }

but I'd like for it to be like this:

default: {
options: {
platform : os.platform(),
arch : os.arch(),
dir : '.',
executableName : 'run',
electronVersion : '1.8.2',
asar : true,
overwrite : true
}
},
buildWithIMZ: {
options: {
out : '../gameBuilds/buildWithIMZ',
name : artifactId . '-imz'
}
},
buildWithoutIMZ: {
options: {
out : '../gameBuilds/buildWithoutIMZ',
name : artifactId . '-noimz'
}
}
So that all the tasks do is just look at the rest of the options in the one named default then use what they have inside them. Is this possible or a feature to be?

Specify a version

Hi, I've got this issue

Warning: Must specify version Use --force to continue.

Aborted due to warnings.

While my gruntfile is something like this (in coffee) :

    electron:
      build:
        options:{
          name:'Project',
          version:'0.32.0',
          dir:'app',
          out:'dist',
          plateform:'all',
          arch:'all'
        }

Error building windows installer, latest version

I'm trying to use the latest version with Electron 0.37.6, node 6.1.0, npm 3.8.6 but whatever i try it keeps give me this error:

Running "create-windows-installer:x64" (create-windows-installer) task
Warning: Cannot read property 'link' of undefined Use --force to continue.

I was trying it with Windows 7 which worked well until i updated to latest and OSX with wine

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.