Git Product home page Git Product logo

Comments (5)

atdrago avatar atdrago commented on May 24, 2024 1

@amitmerchant1990 I'd love to help. I'll try to get a PR together in the next few days. ☺️

from electron-markdownify.

atdrago avatar atdrago commented on May 24, 2024 1

@amitmerchant1990 Here's what I've got (working nicely). Let me know if you want to add any more info:

electron-packager . Markdownify 
--platform=darwin \
--arch=x64 \
--asar=true \
--icon=./img/markdownify.icns \
--overwrite=true \
--prune=true \
--version=0.36.12 \
--app-version=1.1.6

I strongly recommend you use some kind of task runner to do this for you so it can dynamically grab the app-version and version of electron you're using. See here. Otherwise you'll have to update those values every time you build. I can set this up for you too if you want.

from electron-markdownify.

amitmerchant1990 avatar amitmerchant1990 commented on May 24, 2024

Hi @atdrago, Thanks for trying out Markdownify. For the issue, actually I have packaged all bundles for specific platforms using electron-packager. I have tested it for Linux and Windows thoroughly. But as I don't have any machine containing Mac I didn't get chance to test the app on it.

It would be appreciated if you build the bundle for Darwin on your machine and then test it. Let me know if it's sounds good to you. πŸ˜„

from electron-markdownify.

atdrago avatar atdrago commented on May 24, 2024

@amitmerchant1990 Could you paste the full electron-packager command with the parameters you use here? I'll add it as an npm script to your package.json. Or is this already somewhere in the project?

from electron-markdownify.

amitmerchant1990 avatar amitmerchant1990 commented on May 24, 2024

Hi @atdrago The command I have used for packaging bundles for all platform is as below:

electron-packager . Markdownify --platform=all

So, this will generate all of the bundles. I haven't specified the parameters you've mentioned. Did that would be the reason it was crashed in Mac?

Regarding the task runner thing, yes, it would be good if you set it up for me. I'd definitely want to try my hands on Gulp.

from electron-markdownify.

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.