Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to create DMG using path with space in app name #238

Open
edwardvuong opened this issue Jun 20, 2024 · 0 comments
Open

Unable to create DMG using path with space in app name #238

edwardvuong opened this issue Jun 20, 2024 · 0 comments

Comments

@edwardvuong
Copy link

Environment:

NPM: 10.8.1
APPDMG: 0.6.6
OS: macOS 13.5.2

My config.json is setup as the following:

{
    "title": "My App",
    "icon": "./icon.icns",
    "background": "./bacground.png",
    "icon-size" : 94,
    "contents": [
        {
            "x": 408,
            "y": 212,
            "type": "link",
            "path": "/Applications"
        },
        {
            "x": 200,
            "y": 212,
            "type": "file",
            "path": "My App.app"
        }
    ]
}

These paths do not work,
"path": "My App.app"
"path": "My\\ App.app"

The console shows an error,

[15/21] Copying files...                     [FAIL]
Error: Command failed: cp -R .../My App.app

However, when creating a DMG with the same config without a space in the app file path,
"path": "MyApp.app"

This is able to successfully build a DMG.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant