create-dmg | Create a good-looking DMG for your macOS app in seconds | Command Line Interface library

 by   sindresorhus JavaScript Version: 7.0.0 License: MIT

kandi X-RAY | create-dmg Summary

kandi X-RAY | create-dmg Summary

create-dmg is a JavaScript library typically used in Utilities, Command Line Interface, Nodejs, Electron applications. create-dmg has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can install using 'npm i create-dmg' or download it from GitHub, npm.

Create a good-looking DMG for your macOS app in seconds
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              create-dmg has a medium active ecosystem.
              It has 3958 star(s) with 204 fork(s). There are 35 watchers for this library.
              There were 1 major release(s) in the last 12 months.
              There are 8 open issues and 42 have been closed. On average issues are closed in 123 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of create-dmg is 7.0.0

            kandi-Quality Quality

              create-dmg has 0 bugs and 0 code smells.

            kandi-Security Security

              create-dmg has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              create-dmg code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              create-dmg is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              create-dmg releases are available to install and integrate.
              Deployable package is available in npm.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed create-dmg and discovered the below as its top functions. This is intended to give you an instant insight into create-dmg implemented functionality, and help decide if they suit your requirements.
            • Initialization file
            • Composes app icon .
            • RTF .
            • Escapes unicode characters in a string .
            • Serialize text
            Get all kandi verified functions for this library.

            create-dmg Key Features

            No Key Features are available at this moment for create-dmg.

            create-dmg Examples and Code Snippets

            qrl-wallet | wallet.theqrl.org,Development Dependencies
            JavaScriptdot img1Lines of Code : 5dot img1License : Permissive (MIT)
            copy iconCopy
            npm install -g @theqrl/electrify-qrl
            
            npm install -g node-gyp
            
            sudo apt-get install libudev-dev libusb-dev libusb-1.0-0-dev
            
            npm install --global create-dmg
            
            npm install -g electron-wix-msi-qrl
              

            Community Discussions

            QUESTION

            Connecting dots from self-contained Java application to Mac OS installation
            Asked 2019-Feb-28 at 05:26

            I am not a Mac owner and am putting myself through a crash course to get up to speed (e.g., reading "Switching to the Mac"), to give you an indication of my current level of understanding. The access I have to a physical Mac is limited, so I am trying to connect as many dots as possible before my next session with my friend's computer.

            I have: a file folder containing all resources needed for a self-contained application written with Java (OpenJDK 11, JavaFX 11). The JLINK tool was successfully used to create this file folder, and it holds all necessary Java libraries as well as the code I wrote for the application. The executable resides in a subfolder: /bin. The program runs perfectly well on the Mac when the executable is run.

            I want: something that is easy to download, install and run.

            I'm unclear about what needs to be done to get this. The road map seems to have two main steps:

            • the file folder needs to be converted into something that responds as if it were an application (e.g., a Bundle? or an .app?)

            • the resulting folder-as-executable can be shipped via either .dmg or .pkg

            For the second part, I've researched and found tools such as Packages or create-dmg. It seems to me these tools are pretty straightforward and shouldn't be too difficult to learn to use. (Just have to pick one or the other or something similar.)

            For the first part, I'm on shaky conceptual ground. I've found info about Bundles, but no tutorials, walk-throughs or examples. It looks like a key step is understanding how to make a proper Info.plist file, but doing this properly looks tricky. Also, I'm not clear on how the resulting Bundle will become an .app file or if it needs to, or if there is another, more direct way to make my file folder be viewed by the OS as an application.

            Some hand-holding or references to tutorials or even assurance that I am on the right track (if that is the case) would be much appreciated. Thanks!

            The Java Deployment guide from Oracle relies heavily on ANT, but doesn't cover the case of a self-contained, customized JVM via JLINK well enough for me to decipher. So, I've taken the approach of trying to learn/understand the necessary steps using command-line commands.

            ...

            ANSWER

            Answered 2019-Feb-28 at 05:26

            While creating a Bundle is certainly an option, there is an easier way.

            Step one is to make an .app manually. An answer to this question: "How to make a Mac OS X .app with a shell script?" goes over the basic steps. The Java file system that results from jlinking has a folder /bin in which there is a bash file that runs the program. This file should be moved to the outermost folder, and it should be named the desired name of the application. The bash file itself will have to be edited and "/bin" added to the address in last command so that the executable will be found. In addition, the folder itself will have to be renamed to be the same as the bash file, but with .app added as an extension.

            The next thing I wanted to have was a custom icon. The question "Include icon in manually created app bundle" shows how to do this.

            For the next step I made use of the program "Packages". I'm a bit confused about where I downloaded this from (there seem to be multiple sites), but here is a link to the manual. This tool allowed me to create a .pkg file that, when executed, installs my .app in the Applications folder. Then I compressing the .pkg file (to .zip) and made it available at a URL for downloading.

            I've had a friend do a test download and install, and the program works!

            This isn't meant to be a complete tutorial, and there are a few steps more that I want to figure out pertaining to sandboxing and sealing, but I believe this is a reasonable roadmap that can be used for simpler jlinked Java applications for Mac distribution.

            Source https://stackoverflow.com/questions/54622192

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install create-dmg

            Ensure you have Node.js 8 or later installed. Then run the following:.

            Support

            Product Hunt post
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            Install
          • npm

            npm i create-dmg

          • CLONE
          • HTTPS

            https://github.com/sindresorhus/create-dmg.git

          • CLI

            gh repo clone sindresorhus/create-dmg

          • sshUrl

            git@github.com:sindresorhus/create-dmg.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Command Line Interface Libraries

            ohmyzsh

            by ohmyzsh

            terminal

            by microsoft

            thefuck

            by nvbn

            fzf

            by junegunn

            hyper

            by vercel

            Try Top Libraries by sindresorhus

            awesome

            by sindresorhusShell

            refined-github

            by sindresorhusTypeScript

            got

            by sindresorhusTypeScript

            pure

            by sindresorhusShell

            type-fest

            by sindresorhusTypeScript