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

MacOS: changing the name of PHP Desktop.app #356

Open
belbernard opened this issue Jan 30, 2025 · 1 comment
Open

MacOS: changing the name of PHP Desktop.app #356

belbernard opened this issue Jan 30, 2025 · 1 comment

Comments

@belbernard
Copy link

belbernard commented Jan 30, 2025

I tried to change the name to, for instance, "BP3.app". It did not start, so I also changed the name of "MacOS/PHP Desktop" to "MacOS/BP3". But running

sudo xattr -dr com.apple.quarantine ./BP3.app

produced these errors:

xattr: No such file: ./BP3.app/Contents/MacOS/webcache/RunningChromeVersion
xattr: No such file: ./BP3.app/Contents/MacOS/webcache/SingletonCookie
xattr: No such file: ./BP3.app/Contents/MacOS/webcache/SingletonLock
xattr: [Errno 102] Operation not supported on socket: './BP3.app/Contents/MacOS/webcache/SingletonSocket'

These files are (broken) symbolic links.

Changing the name will be necessary to share a version of PHP Desktop with a specific content. Indeed, an alias or a symbolic link could do the work but we can't ask users to create it, except if we create (and notarize) a "pkg" installer.

@cztomczak
Copy link
Owner

You have to delete the "webcache" directory. It's Chromium cache, it's safe to delete. This will resolve your errors.

When distributing app to users you shouldn't include "webcache" directory nor the debug.log file. Delete them before distributing.

You will also need to rename strings in Resources/Info.plist file - such as "PHP Desktop" or "phpdesktop".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants