LinusU / node-appdmg

💾 Generate your app dmgs
MIT License
1.68k stars 152 forks source link

Set user application directory as target #145

Closed justechn closed 5 years ago

justechn commented 7 years ago

How would I go about setting the user application directory as the target instead of the root application directory

instead of this { "x": 448, "y": 344, "type": "link", "path": "/Applications" },

i would like { "x": 448, "y": 344, "type": "link", "path": "/Users/USERNAME/Applications" },

USERNAME would need to be a variable that would translate to the current user who is installing the app.

I tried { "x": 448, "y": 344, "type": "link", "path": "~/Applications" }, but that did not work

LinusU commented 5 years ago

Unfortunately, I don't think there's a way to do this.

I'd be happy to re-open if someone can show me a DMG that does this, or provide some insight into how this would be achieved ☺️