Security News
PyPI Introduces Digital Attestations to Strengthen Python Package Security
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
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 12,543 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
PyPI now supports digital attestations, enhancing security and trust by allowing package maintainers to verify the authenticity of Python packages.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.