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

changing settings after creation in 3.0 results in signature error #120

Open
danieltomasz opened this issue Jul 27, 2023 · 8 comments
Open
Labels
bug report Something isn't working

Comments

@danieltomasz
Copy link

When I created my app with multi 2.2.3 downloaded from homebrew those settings worked

{
  "tabs": [
    {
      "title": "Claude",
      "url": "https://claude.ai/login",
      "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.6 Safari/605.1.15"
    }
  ],
  "windowed": true,
  "alwaysNotify": true,
  "alwaysOnTop": true,
  "terminateWithLastWindow": true,
  "openNewWindowsInBackground": true,
  "openNewWindowsWith": "com.apple.Safari"
}

When I updated to multi 3.0 when I try to save it I am getting error

Error: Error(message: "/Applications/Multi.app/Contents/Resources/../../../Multi/Claude.app: replacing existing signature\n/Applications/Multi.app/Contents/Resources/../../../Multi/Claude.app: resource fork, Finder information, or similar detritus not allowed\n")

the app is created but is broken, downgrading to 2.2.3 I able to create app again
the settings are taken from readme

@danieltomasz danieltomasz changed the title multi 3.0 replacing existing signature error creating app with multi 3.0 results in signature error Jul 27, 2023
@vurtomatic
Copy link

Came to open an issue for the same thing I think.

Error: Error(message: "/Applications/Multi.app/Contents/Resources/../../../Multi/Multi.app: replacing existing signature\n/Applications/Multi.app/Contents/Resources/../../../Multi/Multi.app: unsealed contents present in the bundle root\n")

@kofigumbs
Copy link
Owner

kofigumbs commented Jul 27, 2023

@danieltomasz thanks for the report! It sounds like you’re running into https://developer.apple.com/library/archive/qa/qa1940/_index.html

If you’re open to it, it would be helpful if you could try the two commands mentioned on that page and report back:

  • xattr -lr /Applications/Multi.app/Contents/Resources/../../../Multi/Multi.app should list the problematic files—I’d like to know what these are
  • xattr -cr /Applications/Multi.app/Contents/Resources/../../../Multi/Multi.app should remove them, after which creating/updating should succeed

@danieltomasz
Copy link
Author

danieltomasz commented Jul 27, 2023

I installed multi v3 as Multi3 now, so probably I to messed with paths to run
xattr -lr /Applications/Multi.app/Contents/Resources/../../../Multi/Multi.app as it is point to the homebrew installed version and replacing it with Multi3 give me the same results

xattr: No such file:

xattr -lr /Applications/Multi3.app/Contents/Resources/ gives me

/Applications/Multi3.app/Contents/Resources//notification.js: com.apple.quarantine: 0181;64c28202;Arc;
/Applications/Multi3.app/Contents/Resources//Icon.icns: com.apple.quarantine: 0181;64c28202;Arc;
/Applications/Multi3.app/Contents/Resources//Runtime: com.apple.quarantine: 01c1;64c28202;Arc;
/Applications/Multi3.app/Contents/Resources//create-mac-app: com.apple.quarantine: 01c1;64c28202;Arc;
/Applications/Multi3.app/Contents/Resources//settings.html: com.apple.quarantine: 0181;64c28202;Arc;
/Applications/Multi3.app/Contents/Resources//Stub.plist: com.apple.quarantine: 0181;64c28202;Arc;
/Applications/Multi3.app/Contents/Resources/: com.apple.quarantine: 01c1;64c28202;Arc;

Suprisingle the multi from homebrew gives similar results (earlier Multi v3 was installed as Multi and then I reinstalled Multi v2 as Multi)
xattr -lr /Applications/Multi.app/Contents/Resources/

/Applications/Multi.app/Contents/Resources//notification.js: com.apple.quarantine: 0181;64c27a49;Homebrew\x20Cask;C2BFDB47-1417-4B1E-8A9F-99FE3C30D573
/Applications/Multi.app/Contents/Resources//preferences.html: com.apple.quarantine: 0181;64c27a49;Homebrew\x20Cask;C2BFDB47-1417-4B1E-8A9F-99FE3C30D573
/Applications/Multi.app/Contents/Resources//Icon.icns: com.apple.quarantine: 0181;64c27a49;Homebrew\x20Cask;C2BFDB47-1417-4B1E-8A9F-99FE3C30D573
/Applications/Multi.app/Contents/Resources//blocklist.json: com.apple.quarantine: 0181;64c27a49;Homebrew\x20Cask;C2BFDB47-1417-4B1E-8A9F-99FE3C30D573
/Applications/Multi.app/Contents/Resources//Runtime: com.apple.quarantine: 01c1;64c27a49;Homebrew\x20Cask;C2BFDB47-1417-4B1E-8A9F-99FE3C30D573
/Applications/Multi.app/Contents/Resources//create-mac-app: com.apple.quarantine: 01c1;64c27a49;Homebrew\x20Cask;C2BFDB47-1417-4B1E-8A9F-99FE3C30D573
/Applications/Multi.app/Contents/Resources//Stub.plist: com.apple.quarantine: 0181;64c27a49;Homebrew\x20Cask;C2BFDB47-1417-4B1E-8A9F-99FE3C30D573
/Applications/Multi.app/Contents/Resources/: com.apple.quarantine: 01c1;64c27a49;Homebrew\x20Cask;C2BFDB47-1417-4B1E-8A9F-99FE3C30D573

point both to Multi and Multi3 give me similar results with addition to other flags properties that are ok

@danieltomasz
Copy link
Author

I am MacOS 13.4.1

@danieltomasz
Copy link
Author

After update of homebrew version to 3.0.0 I am trying with other sites and I cannot reproduce error so I am closing this issue

@kofigumbs
Copy link
Owner

Thanks for following up! It’s interesting to know that mixing a homebrew installation with a manual one causes issues. Glad you got it working.

@danieltomasz
Copy link
Author

danieltomasz commented Aug 11, 2023

I tried to edit settings that I set previously with "alwaysOnTop": false,
and I am getting again this error

Error: Error(message: "Skipping icon creation because no PNG or ICNS 

provided\n/Applications/Multi.app/Contents/Resources/../../../Multi/Claude.app: replacing existing 

signature\n/Applications/Multi.app/Contents/Resources/../../../Multi/Claude.app: unsealed contents present in the bundle root\n")

The installation from scratch went without error

It seems that trying to change anything in the settings, is changing the signature, does the 2.4 has different mechanism for storing settings?

In recent MacOS releases there were some changes related to signing the apps I think

@danieltomasz danieltomasz changed the title creating app with multi 3.0 results in signature error changing settings after creation in 3.0 results in signature error Aug 11, 2023
@danieltomasz danieltomasz reopened this Aug 11, 2023
@kofigumbs kofigumbs added the bug report Something isn't working label Aug 17, 2023
@space-esquire
Copy link

Happening to me as well, I am running Ventura!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug report Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants