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

Craft DMG's are corrupted with incorrect extended attributes #150

Open
Douglas-Cox opened this issue Jan 25, 2023 · 4 comments
Open

Craft DMG's are corrupted with incorrect extended attributes #150

Douglas-Cox opened this issue Jan 25, 2023 · 4 comments
Assignees
Labels
bug Something isn't working distribution Packages, installers, and distribution methods help wanted I need help or don't know how to implement this upstream

Comments

@Douglas-Cox
Copy link

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
@Cuperino
Copy link
Owner

Cuperino commented Jan 25, 2023

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: #38 (comment)

@Cuperino Cuperino added the distribution Packages, installers, and distribution methods label Jan 25, 2023
@Cuperino
Copy link
Owner

Cuperino commented Feb 5, 2023

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 Cuperino added upstream help wanted I need help or don't know how to implement this labels Feb 5, 2023
@Cuperino Cuperino changed the title Compiled v1.1.3 app for macOS is corrupt in release download Craft DMG's are corrupted with incorrect extended attributes Feb 5, 2023
@Cuperino Cuperino added the bug Something isn't working label Feb 5, 2023
@Cuperino Cuperino moved this to Builds & Packages in QPrompt Feb 25, 2023
@Cuperino Cuperino added this to QPrompt Feb 25, 2023
@hmeeker
Copy link

hmeeker commented Sep 29, 2023

Where can I find version 1.1.12 for Mac?

@Cuperino
Copy link
Owner

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 Cuperino reopened this Oct 22, 2023
@github-project-automation github-project-automation bot moved this from Builds & Packages to Improve Upon in QPrompt Oct 22, 2023
@github-project-automation github-project-automation bot moved this from Improve Upon to Done in QPrompt Oct 22, 2023
@Cuperino Cuperino self-assigned this Oct 22, 2023
@Cuperino Cuperino moved this from Done to Builds & Packages in QPrompt Oct 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working distribution Packages, installers, and distribution methods help wanted I need help or don't know how to implement this upstream
Projects
Status: Builds & Packages
Development

No branches or pull requests

3 participants