QPrompt-Teleprompter icon indicating copy to clipboard operation
QPrompt-Teleprompter copied to clipboard

Craft DMG's are corrupted with incorrect extended attributes

Open Douglas-Cox opened this issue 1 year ago • 4 comments

Bug Description The current release download of v1.1.3 for macOS contains a compiled app that appears to be corrupt or damaged. Unable to open new version on macOS 12.6.2. Previous version 1.1.2 opens without issue. System security is set to "Allow apps downloaded from anywhere." Same issue in Sourceforge and GitHub downloads.

Steps to Reproduce

  1. Download release v1.1.3 for macOS.
  2. Copy app from disk image to Applications folder.
  3. Launch app via Right-click > Open.

Screenshots (optional) Screen Shot 2023-01-25 at 08 50 33

Device information

  • QPrompt Version: v1.1.3
  • Operating System: macOS 12.6.2

Douglas-Cox avatar Jan 25 '23 12:01 Douglas-Cox

Thanks for reporting. I can confirm that there's something wrong with the package and that QPrompt won't launch if the package is downloaded instead of installed from the original DMG, despite both files being physically identical, having the exact same checksum.

This seems like a security measure in macOS that's kicking in. I'll have to look further into this.

In the meantime, if you wish to run QPrompt v1.1.3 on macOS, you'll have to build it for yourself on that machine. Build instructions can be found here: https://github.com/Cuperino/QPrompt/issues/38#issuecomment-1012381925

Cuperino avatar Jan 25 '23 16:01 Cuperino

Hi @Douglas-Cox,

After looking further into it, it seems like there's something wrong with the app's permissions in a step of the build process that's beyond QPrompt's domain. I'll keep looking for a solution. If I can't find one, I'll replace the automated build pipeline with a more manual one.

This could take a while to figure out. In the meantime, I found that you can fix QPrompt's permissions after installing it on your system. Do this by typing the following into the Terminal app:

sudo xattr -cr /Applications/QPrompt.app

You'll be prompted for your password, type it and press enter. You won't see the password as you type it, that's just a security measure. Pressing enter will clear "extended attributes" throughout QPrompt's files, which will allow it to open normally when you launch it.

Cuperino avatar Feb 05 '23 04:02 Cuperino

Where can I find version 1.1.12 for Mac?

hmeeker avatar Sep 29 '23 17:09 hmeeker

Uhh, there is no version 1.1.12, but you can get the latest beta for what will become 1.2.0 over at Patreon.

Cuperino avatar Oct 22 '23 01:10 Cuperino