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

ssh compatible? #157

Open
JvB94 opened this issue Oct 28, 2023 · 2 comments
Open

ssh compatible? #157

JvB94 opened this issue Oct 28, 2023 · 2 comments

Comments

@JvB94
Copy link

JvB94 commented Oct 28, 2023

Hi,

is create-dmg ssh compatible? If i do it on a desktop enviroment it works well but on the same M1 Mac by SSH its not working.

Here is the error log
Device name: /dev/disk46 Searching for mounted interstitial disk image using /dev/disk46s... Mount dir: /Volumes/dmg.8gG9rv Copying background file 'background-installer.png'... Making link to Applications dir... /Volumes/dmg.8gG9rv Copying volume icon file 'icon.icns'... perl: warning: Setting locale failed. perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: perl: warning: Please check that your locale settings: LC_ALL = "C.UTF-8", perl: warning: Setting locale failed. LANG = "C.UTF-8" perl: warning: Please check that your locale settings: are supported and installed on your system. perl: warning: Setting locale failed. LC_ALL = "C.UTF-8", LC_ALL = "C.UTF-8", perl: warning: Please check that your locale settings: LANG = "C.UTF-8" LC_ALL = "C.UTF-8", are supported and installed on your system. LANG = "C.UTF-8" LANG = "C.UTF-8" perl: warning: Falling back to the standard locale ("C"). are supported and installed on your system. are supported and installed on your system. perl: warning: Falling back to the standard locale ("C"). perl: warning: Falling back to the standard locale ("C"). perl: warning: Falling back to the standard locale ("C"). Running AppleScript to make Finder stuff pretty: /usr/bin/osascript "/var/folders/cg/0s3f9_7s26b3g895v0s17mp80000gq/T/createdmg.tmp.XXXXXXXXXX.NW6khrAI9o" "dmg.8gG9rv" /var/folders/cg/0s3f9_7s26b3g895v0s17mp80000gq/T/createdmg.tmp.XXXXXXXXXX.NW6khrAI9o:85:89: execution error: An error of type -10810 has occurred. (-10810) Failed running AppleScript Unmounting disk image...

@umlaeute
Copy link

just in case anybody is interested in the actual error message (formatted in a way that is pleasing to my eye, and with the perl locale setting errors stripped away):

Device name:     /dev/disk46
Searching for mounted interstitial disk image using /dev/disk46s...
Mount dir:       /Volumes/dmg.8gG9rv
Copying background file 'background-installer.png'...
Making link to Applications dir...
/Volumes/dmg.8gG9rv
Copying volume icon file 'icon.icns'...
Running AppleScript to make Finder stuff pretty: /usr/bin/osascript "/var/folders/cg/0s3f9_7s26b3g895v0s17mp80000gq/T/createdmg.tmp.XXXXXXXXXX.NW6khrAI9o" "dmg.8gG9rv"
/var/folders/cg/0s3f9_7s26b3g895v0s17mp80000gq/T/createdmg.tmp.XXXXXXXXXX.NW6khrAI9o:85:89: execution error: An error of type -10810 has occurred. (-10810)
Failed running AppleScript
Unmounting disk image...

also the actual version of macOS that you are using might be interesting to whoever wants to look into this.

@JonasWilms
Copy link

Keep an UI session on the m1 mac.

Trigger your build pipeline and wait until it reaches the applescript, accept the dialog that applescript want's to access finder and you should be good to go for the future.

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

3 participants