Giter Club home page Giter Club logo

Comments (5)

stefanjudis avatar stefanjudis commented on May 17, 2024

Hey.

Please provide more information and follow https://github.com/loopline-systems/electron-builder/blob/master/CONTRIBUTING.md.

I get a tiffutil error.

Maybe you can share the error.

from electron-builder.

khornberg avatar khornberg commented on May 17, 2024

Error below

- Running electron-builder 2.1.1
- Starting creation of installer for ´osx
Writing temporary ´appdmg.json´
Wrote temporary ´appdmg.json´
Kicking off ´appdmg´
appdmg: [1] Looking for target
appdmg: [2] Reading JSON Specification
appdmg: [3] Parsing JSON Specification
appdmg: [4] Validating JSON Specification
appdmg: [5] Looking for files
appdmg: [6] Calculating size of image
appdmg: [7] Creating temporary image
appdmg: [8] Mounting temporary image
appdmg: [9] Making hidden background folder
appdmg: [10] Copying background
appdmg: [11] Unmounting temporary image
appdmg: [12] Removing temporary image
/projects/docker-indicator/node_modules/electron-builder/cli.js:30
    throw error;
    ^

Error: Error running `tiffutil`! Exit code was 5
    at ChildProcess.<anonymous> (/projects/docker-indicator/node_modules/electron-builder/node_modules/appdmg/lib/util.js:30:17)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)

The files I'm using are available. If one changes the background value to a blank string in the packager.json the above error is produced. I'm using node 4.2.2 and npm 2.14.7 on OS X.

This may not be an issue since it can be worked around by using a background image. I chose a 1x1 blank image. The fact that a background image is require can be implied by the examples in the readme. However, it may be helpful to make it more clear if this is the desired behavior. If the absence of a background should not break the build then this is an issue.

from electron-builder.

stefanjudis avatar stefanjudis commented on May 17, 2024

Thanks. This is actually not on the side of electron-builder. Will ask at appdmg about that.

from electron-builder.

stefanjudis avatar stefanjudis commented on May 17, 2024

I will update the documentation here when this question is resolved over at appdmg.

Thanks.

from electron-builder.

develar avatar develar commented on May 17, 2024

In the 2.8+ API we require background image, but according to LinusU/node-appdmg#76 (comment) we should not. If background is not explicitly specified, we must not substitute default value if file doesn't exist.

from electron-builder.

Related Issues (20)

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.