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

[feat] macOS adding extra files to DMG #11996

Closed
ayangweb opened this issue Dec 18, 2024 · 4 comments
Closed

[feat] macOS adding extra files to DMG #11996

ayangweb opened this issue Dec 18, 2024 · 4 comments

Comments

@ayangweb
Copy link

ayangweb commented Dec 18, 2024

Describe the problem

The Generate DMG expects additional files to be added via configuration items, such as files for corrupted problem fixes.

damaged-light en-US image

Describe the solution you'd like

If it is possible to add a binary to the DMG that fixes the corruption issue, it would be easy to fix it after installing the app.

Alternatives considered

No response

Additional context

No response

@ayangweb ayangweb changed the title [feat] macOS adding extra files to packaged DMG file [feat] macOS adding extra files to DMG Dec 18, 2024
@GillesPlatteeuw
Copy link

I believe this pop-up also occurs when the application and its contents aren't correctly signed and notarized. Did you verify that both of these steps have been done?

You can use codesign -vvv --deep --strict <path_to_file> to check the signature
codesign -dvvvvv <path_to_file> to get more information about the signature

@ayangweb
Copy link
Author

@GillesPlatteeuw I don't have an Apple developer account, so I can't sign the app, so I have to fix the corruption by sudo xattr -r -d com.apple.quarantine /Applications/EcoPaste.app. But user input is cumbersome, and it's much easier to just double-click the file!

@FabianLars
Copy link
Member

You can self-sign the app so right-click -> open works at least (add "signingIdentity": "-" to tauri.conf).

double clicking requires code signing & notarization, welcome in the world of macos app distribution.

Adding additional scripts that would execute xattr (does that make double clicking possible?) wouldn't work automatically in .dmg (meaning the user has to "drag" (or double click?) the script.

Anyway, the general files feature is being worked on here: #11916

@FabianLars FabianLars closed this as not planned Won't fix, can't repro, duplicate, stale Dec 19, 2024
@ayangweb
Copy link
Author

I'm already looking forward to it!

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

3 participants