{"id":13478824,"url":"https://github.com/create-dmg/create-dmg","last_synced_at":"2025-12-17T10:46:53.791Z","repository":{"id":430363,"uuid":"50746","full_name":"create-dmg/create-dmg","owner":"create-dmg","description":"A shell script to build fancy DMGs","archived":false,"fork":false,"pushed_at":"2025-12-01T00:47:59.000Z","size":277,"stargazers_count":2443,"open_issues_count":47,"forks_count":311,"subscribers_count":39,"default_branch":"master","last_synced_at":"2025-12-03T10:43:47.141Z","etag":null,"topics":["bash","dmg","macos"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/create-dmg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"support/eula-resources-template.xml","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2008-09-09T07:55:04.000Z","updated_at":"2025-12-02T19:02:27.000Z","dependencies_parsed_at":"2024-01-14T03:47:31.320Z","dependency_job_id":"3df9abad-e61d-4bd9-98d4-3807af3efcd8","html_url":"https://github.com/create-dmg/create-dmg","commit_stats":{"total_commits":211,"total_committers":57,"mean_commits":"3.7017543859649122","dds":0.8056872037914692,"last_synced_commit":"32121505917f6eb83c9a5144a80e4f5c95557fef"},"previous_names":["andreyvit/create-dmg"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/create-dmg/create-dmg","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/create-dmg%2Fcreate-dmg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/create-dmg%2Fcreate-dmg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/create-dmg%2Fcreate-dmg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/create-dmg%2Fcreate-dmg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/create-dmg","download_url":"https://codeload.github.com/create-dmg/create-dmg/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/create-dmg%2Fcreate-dmg/sbom","scorecard":{"id":194433,"data":{"date":"2025-08-11","repo":{"name":"github.com/create-dmg/create-dmg","commit":"d086b1f436070e41954df59b3bcb732028294544"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":4.1,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":2,"reason":"1 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":6,"reason":"Found 9/14 approved changesets -- score normalized to 6","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 25 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T21:33:37.893Z","repository_id":430363,"created_at":"2025-08-16T21:33:37.893Z","updated_at":"2025-08-16T21:33:37.893Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27781933,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-17T02:00:08.291Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bash","dmg","macos"],"created_at":"2024-07-31T16:02:03.940Z","updated_at":"2025-12-17T10:46:53.778Z","avatar_url":"https://github.com/create-dmg.png","language":"Shell","readme":"create-dmg\n==========\n\nA shell script to build fancy DMGs.\n\nStatus and contribution policy\n------------------------------\n\nCreate-dmg is mostly maintained by [@aonez](https://github.com/aonez) and the contributors who send pull requests.\nThe project home page is \u003chttps://github.com/create-dmg/create-dmg\u003e.\n\nWe will merge any pull request that adds something useful and does not break existing things.\n\nIf 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).\n\nCreate-dmg was originally created by [Andrey Tarantsov](https://github.com/andreyvit).\nIn May 2020 [Andrew Janke](https://github.com/apjanke) helped vastly with the project.\n\nInstallation\n------------\n\n- You can install this script using [Homebrew](https://brew.sh):\n\n  ```sh\n  brew install create-dmg\n  ```\n\n- You can download the [latest release](https://github.com/create-dmg/create-dmg/releases/latest) and install it from there:\n\n  ```sh\n  make install\n  ```\n\n- You can also clone the entire repository and run it locally from there:\n\n  ```sh\n  git clone https://github.com/create-dmg/create-dmg.git\n  ```\n\nUsage\n-----\n\n```sh\ncreate-dmg [options ...] \u003coutput_name.dmg\u003e \u003csource_folder\u003e\n```\n\nAll contents of source\\_folder will be copied into the disk image.\n\n**Options:**\n\n- **--volname \\\u003cname\\\u003e:** set volume name (displayed in the Finder sidebar and window title)\n- **--volicon \\\u003cicon.icns\\\u003e:** set volume icon\n- **--background \\\u003cpic.png\\\u003e:** set folder background image (provide png, gif, jpg)\n- **--window-pos \\\u003cx\\\u003e \\\u003cy\\\u003e:** set position the folder window\n- **--window-size \\\u003cwidth\\\u003e \\\u003cheight\\\u003e:** set size of the folder window\n- **--text-size \\\u003ctext_size\\\u003e:** set window text size (10-16)\n- **--icon-size \\\u003cicon_size\\\u003e:** set window icons size (up to 128)\n- **--icon \\\u003cfile_name\\\u003e \\\u003cx\\\u003e \\\u003cy\\\u003e:** set position of the file's icon\n- **--hide-extension \\\u003cfile_name\\\u003e:** hide the extension of file\n- **--app-drop-link \\\u003cx\\\u003e \\\u003cy\\\u003e:** make a drop link to Applications, at location x, y\n- **--ql-drop-link \\\u003cx\\\u003e \\\u003cy\\\u003e:** make a drop link to /Library/QuickLook, at location x, y\n- **--eula \\\u003ceula_file\\\u003e:** attach a license file to the dmg\n- **--rez \\\u003crez_path\\\u003e:** specify custom path to Rez tool used to include license file\n- **--no-internet-enable:** disable automatic mount\u0026copy\n- **--format:** specify the final image format (UDZO|UDBZ|ULFO|ULMO) (default is UDZO)\n- **--filesystem:** specify the image filesystem (HFS+|APFS) (default is HFS+, APFS supports macOS 10.13 or newer)\n- **--encrypt:** enable encryption for the resulting disk image (AES-256 - you will be prompted for password)\n- **--encrypt-aes128:** enable encryption for the resulting disk image (AES-128 - you will be prompted for password)\n- **--add-file \\\u003ctarget_name\\\u003e \\\u003cfile|folder\\\u003e \\\u003cx\\\u003e \\\u003cy\\\u003e:** add additional file or folder (can be used multiple times)\n- **--disk-image-size \\\u003cx\\\u003e:** set the disk image size manually to x MB\n- **--hdiutil-verbose:** execute hdiutil in verbose mode\n- **--hdiutil-quiet:** execute hdiutil in quiet mode\n- **--hdiutil-retries \\\u003cx\\\u003e:** specify the number of retries for the \"Resource busy\" error from \"hdiutil create\" and \"hdiutil detach\" (default is 5)\n- **--bless:** bless the mount folder (deprecated, needs macOS 12.2.1 or older, [#127](https://github.com/create-dmg/create-dmg/pull/127))\n- **--codesign \\\u003csignature\\\u003e:** codesign the disk image with the specified signature\n- **--notarize \\\u003ccredentials\u003e:** notarize the disk image (waits and staples) with the keychain stored credentials\n    For more information check [Apple's documentation](https://developer.apple.com/documentation/security/notarizing_macos_software_before_distribution/customizing_the_notarization_workflow)\n- **--skip-jenkins:** skip Finder-prettifying AppleScript, useful in Sandbox and non-GUI environments, [#72](https://github.com/create-dmg/create-dmg/pull/72)\n- **--applescript-sleep-duration \\\u003cx\\\u003e:** specify the sleep duration before executing AppleScript to workaround occasional \"Can’t get disk\" (-1728) issues (default is 5)\n- **--sandbox-safe:** hdiutil with sandbox compatibility, do not bless and do not execute the cosmetic AppleScript (not supported for APFS disk images)\n- **--version:** show tool version number\n- **-h, --help:** display the help\n\nEncryption\n-------\nhdiutil supports native disk image encryption using AES-256 (slower but stronger) or AES-128 (faster but weaker).  Enabling disk image encryption via create-dmg will require the entry of the password during the middle (compression phase) of the process.  Take care to enter the password correctly, because hdiutil will not prompt a second time to confirm the password.\n\nExample\n-------\n\n```sh\n#!/bin/sh\ntest -f Application-Installer.dmg \u0026\u0026 rm Application-Installer.dmg\ncreate-dmg \\\n  --volname \"Application Installer\" \\\n  --volicon \"application_icon.icns\" \\\n  --background \"installer_background.png\" \\\n  --window-pos 200 120 \\\n  --window-size 800 400 \\\n  --icon-size 100 \\\n  --icon \"Application.app\" 200 190 \\\n  --hide-extension \"Application.app\" \\\n  --app-drop-link 600 185 \\\n  \"Application-Installer.dmg\" \\\n  \"source_folder/\"\n```\n\nSee the `examples` folder in the source tree for more examples.\n\nRequirements\n------------\n\nNothing except a standard installation of macOS/OS X is required.\n\nWe think this works in OS X 10.6 Snow Leopard and later.\n\nWe'd like to keep it working in as many versions as possible, but unfortunately, we just don't have test boxes running old versions of OS X adequate to make this happen. Development and testing mostly happens in the last 3-5 years' worth of macOS releases; as of 2020, this means macOS 10.12 and later.\n\nBut if you find a bug in an older version, go ahead and report it! We'll try to work with you to get it fixed.\n\nIf you're running OS X 10.5 or earlier, you're SOL. That's just too hard to deal with in 2023. ;)\n\nAlternatives\n------------\n\n- [node-appdmg](https://github.com/LinusU/node-appdmg)\n- [dmgbuild](https://pypi.python.org/pypi/dmgbuild)\n- see the [StackOverflow question](http://stackoverflow.com/questions/96882/how-do-i-create-a-nice-looking-dmg-for-mac-os-x-using-command-line-tools)\n","funding_links":[],"categories":["Shell","bash"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreate-dmg%2Fcreate-dmg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcreate-dmg%2Fcreate-dmg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcreate-dmg%2Fcreate-dmg/lists"}