GithubHelp home page GithubHelp logo

Comments (9)

jenslind avatar jenslind commented on June 5, 2024

Hmm, I can't reproduce this issue on Mac. Does your linux and mac builds work as expected?

from electron-packager.

zaggino avatar zaggino commented on June 5, 2024

Can you please try the repo above? https://github.com/zaggino/brackets-electron
npm run bundle-mac doesn't even copy the app files into the Contents/Resources/app folder for some reason (it does copy on Windows but ignores excludes)

from electron-packager.

zaggino avatar zaggino commented on June 5, 2024

Nevermind, found one issue, going to submit a PR

from electron-packager.

zaggino avatar zaggino commented on June 5, 2024

PR for Mac is up, I'll check what's wrong on Windows too

from electron-packager.

zaggino avatar zaggino commented on June 5, 2024

PR for Windows is up too.

from electron-packager.

zaggino avatar zaggino commented on June 5, 2024

@maxogden another issue with 4.1.1:
I have this in my shell script:

electron-packager . Bracketron --platform=$1 --arch=$2 --version=$3 --ignore='/node_modules/electron-rebuild($|/)'

but minimist will convert this to:

C:/Program Files (x86)/Git/node_modules/electron-rebuild($|/)

I've put console.log here: https://github.com/maxogden/electron-packager/blob/master/cli.js#L4

from electron-packager.

zaggino avatar zaggino commented on June 5, 2024

Actually this is done even before it reaches minimist for some reason, sorry. I need to check why.

from electron-packager.

zaggino avatar zaggino commented on June 5, 2024

Ok, I actually need to do

--ignore='./node_modules/electron-rebuild$'

to make it work without resolving the first / to C:/Program Files (x86)/Git/

But it excludes correctly now. You can close this or make some notes based on my findings into the README if you wish. Thanks for merging the PRs.

from electron-packager.

zaggino avatar zaggino commented on June 5, 2024

Ah, I'm spamming here but still not good. I need to exlude a folder tools from my app but I don't want to exclude a folder something/tools too. Excludes should only be matched against the root of the app.

from electron-packager.

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.