Introducing newfilemenu16dmg: A Lightweight macOS Installer for Fast App Distribution
import Cocoa func openGeneratedFile(at url: URL) // Only proceed if the user enabled "Auto-Open" in settings if UserDefaults.standard.bool(forKey: "AutoOpenEnabled") NSWorkspace.shared.open(url) Use code with caution. Copied to clipboard newfilemenu16dmg
Conclusion
Significant Timesaver: It solves the limitation where macOS doesn't natively allow creating a new empty file in Finder, eliminating the need to open an app like TextEdit, create a file, and then "Save As". Promote an unknown or possibly malicious file
| Issue | Fix |
|-------|-----|
| “Damaged” DMG | Disable Gatekeeper temporarily (spctl --master-disable) or re-download. |
| Option doesn’t appear in right-click | Re-enable the Finder extension, restart Finder (killall Finder). |
| Can’t create certain file types | Edit templates via app’s preferences. | import Cocoa func openGeneratedFile(at url: URL) // Only
on how to set up your own custom templates using this version? New File Menu - App Store
If you've just downloaded the .dmg file, follow these steps to get it running: