
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Generate beautiful DMG-images for your OS X applications.
npm install -g appdmg
appdmg <json-path> <dmg-path>
json-path
: Path to the JSON Specification filedmg-path
: Path at which to place the final DMGTo produce a test DMG to your desktop, run the following command:
appdmg test/appdmg.json ~/Desktop/test.dmg
The specification for the image is a simple json file, example provided below. All paths are relative to the json-file's path. (Comments are not allowed, I'm only using them for demonstration purposes.)
{
// The title of the produced DMG, which will be shown when mounted
"title": "Test Title",
// Path to your .app
"app": "TestApp.app",
// Path to your background
"background": "TestBkg.png",
// Path to your icon, which will be shown when mounted
"icon": "TestIcon.icns",
// Size and position of the icons in the DMG
// Positions are specified as X and Y in the center of said icon
// "app" is your application
// "alias" is an alias to the Applications folder
"icons": {
"size": 80,
"app": [192, 344],
"alias": [448, 344]
}
}
The application can also be called from within another javascript file, example:
var appdmg = require('appdmg');
appdmg('test/appdmg.json', 'test.dmg', function (err, path) {
// err is an potential error
// path is the path to the final DMG
});
FAQs
Generate beautiful DMG-images for your OS X applications.
The npm package appdmg receives a total of 19,253 weekly downloads. As such, appdmg popularity was classified as popular.
We found that appdmg demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.