create-dmg | A shell script to build fancy DMGs | Script Programming library

 by   create-dmg Shell Version: v1.1.0 License: MIT

kandi X-RAY | create-dmg Summary

kandi X-RAY | create-dmg Summary

create-dmg is a Shell library typically used in Programming Style, Script Programming applications. create-dmg has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

A shell script to build fancy DMGs.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              create-dmg has a medium active ecosystem.
              It has 1676 star(s) with 279 fork(s). There are 36 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 26 open issues and 48 have been closed. On average issues are closed in 339 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of create-dmg is v1.1.0

            kandi-Quality Quality

              create-dmg has no bugs reported.

            kandi-Security Security

              create-dmg has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            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.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of create-dmg
            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

            No Code Snippets are available at this moment for create-dmg.

            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

            You can install this script using [Homebrew](https://brew.sh):.
            You can install this script using [Homebrew](https://brew.sh): ```sh brew install create-dmg ```
            You can download the [latest release](https://github.com/create-dmg/create-dmg/releases/latest) and install it from there: ```sh make install ```
            You can also clone the entire repository and run it locally from there: ```sh git clone https://github.com/create-dmg/create-dmg.git ```

            Support

            Create-dmg is maintained thanks to the contributors who send pull requests. As of May 2020, [Andrew Janke](https://github.com/apjanke) is the primary maintainer, and (since September 2018) [@aonez](https://github.com/aonez) has helped with the maintenance. The project home page is https://github.com/create-dmg/create-dmg. We will merge any pull request that adds something useful and does not break existing things. If you’re an active user and want to be a maintainer, or just want to chat, please ping us on Gitter at [gitter.im/create-dmg/Lobby](https://gitter.im/create-dmg/Lobby), or [email Andrew directly](floss@apjanke.net). Create-dmg was originally created by [Andrey Tarantsov](https://github.com/andreyvit).
            Find more information at:

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

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link