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

Can't attach EULA to DMG in Big Sur #109

Closed
Aleksid1 opened this issue Dec 29, 2020 · 6 comments
Closed

Can't attach EULA to DMG in Big Sur #109

Aleksid1 opened this issue Dec 29, 2020 · 6 comments
Assignees
Milestone

Comments

@Aleksid1
Copy link

hditul flatten/unflatten verbs are deprecated and removed in macOS Big Sur. So it's not possible to attach EULA to a DMG in Big Sur. I saw alternative solution here:
developer.apple.com/forums/thread/668084

Please fix it.

@aonez
Copy link
Member

aonez commented Dec 31, 2020

@Aleksid1 you've managed to use the method in the link?

@Aleksid1
Copy link
Author

No, I couldn't. I've understood an idea with hdiutil udifrez , but I couldn't find complete files with examples: my-eula.plist.template and my-eula.plist

@aonez
Copy link
Member

aonez commented Dec 31, 2020

Reading at the post, you should extract that PLIST using:

hdiutil udifderez -xml <YOUR_DMG_PATH>

Then introduce your EULA content there.

It's a little tricky because you have mixed steps in the main post and in an answer:
https://developer.apple.com/forums/thread/668084?answerId=652142022#652142022

I'm willing to bring this fix to create-dmg. Thanks for the tip @Aleksid1.

@aonez aonez self-assigned this Dec 31, 2020
@aonez aonez added this to the 1.0.9 milestone Dec 31, 2020
@Aleksid1
Copy link
Author

Thanks for your advice! Regrettably I still can't perform these steps correctly.
I would grateful for your help with modifiying the script. I can check it and inform you about a result. I have 2 Macs with Big Sur - Intel and M1.

aonez added a commit that referenced this issue Jan 2, 2021
@aonez
Copy link
Member

aonez commented Jan 2, 2021

You can already test it: f75cc03

Just clone the repository and check it out.

@Aleksid1
Copy link
Author

Aleksid1 commented Jan 2, 2021

Thank you very much! License was attached to a DMG correctly.
I tested on Macbook Air M1 / macOS 11.1 Big Sur

@aonez aonez closed this as completed May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants