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

Could not create DMG archive #1315

Open
mazura1972 opened this issue Aug 24, 2023 · 4 comments
Open

Could not create DMG archive #1315

mazura1972 opened this issue Aug 24, 2023 · 4 comments
Assignees
Milestone

Comments

@mazura1972
Copy link

Configuration

  • Keka version: 1.3.3
  • macOS version: 13.5.1

Describe the bug

No DMG archive is created when I drag a file into KEKA application or use Finder -> Compress using Keka local menu. If in the configuration I choose another default compression format, e.g. 7z, zip and others, an appropriate archive is created.
I'm still using the old version 1.0.12 of Keka and it works fine there.

To Reproduce

Steps to reproduce the behavior:

  1. Drag and drop any file into Keka window
  2. You can see that nothing happens. The compression progress window does not appear.

Expected behavior

In the source location of the compressed file, a dmg file should appear.

@aonez
Copy link
Owner

aonez commented Aug 24, 2023

Due to sandbox limitations Keka can only create DMG's from a folder since version 1.1.0. You can workaround this by just temporarily moving the files you want to a folder and then drop the folder to Keka.

Probably you have dismissed the warning stating this:

Screenshot 2023-08-24 at 22 12 47

You can enable that message again by executing this command in the Terminal.app and restarting Keka:

defaults remove com.aone.keka DMGWarning

@aonez aonez added this to the Look at milestone Aug 24, 2023
@mazura1972
Copy link
Author

Thank you for the quick reply. Running the defaults remove command helped display this message.
With the help of Keka, I make a compressed archive of my MacOS applications, i.e. I try to compress a folder called SampleProgram.app. Are you suggesting that I should additionally put this folder in another folder and then compress it like this, do I understand correctly?

@aonez
Copy link
Owner

aonez commented Aug 24, 2023

That's right. The .app is considered a bundle, not a folder, even if it is indeed a folder. Just move them to a folder a drag that folder instead.

@mazura1972
Copy link
Author

It actually works this way. It just doesn't give me peace of mind why the compression of this type of directories (e.g. Siri.app) works for other formats like 7z and the rest of them.
Thanks for your help, best regards.

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