Skip to content

Conversation

@EricZhang456
Copy link
Contributor

@EricZhang456 EricZhang456 commented Oct 3, 2025

This should make the app bundle properly ad-hoc signed so running xattr to bring the application out of quarantine isn't necessary anymore, but the user still needs to go to System Settings -> Privacy & Security and scroll down to Security and allow the application from opening since the app bundle isn't signed by Apple.

Other solutions I found online require the Xcode generator. However VPKEdit uses generator expressions so it can't use the Xcode generator.

I also edited L67 on install/_install.cmake since at this stage the application bundle is still called vpkedit.app, the file is renamed only when the app bundle is inside the DMG bundle (see install/macos/DMGSetup.scpt:40, I did so since I don't want to change the executable target name to ${PROJECT_NAME_PRETTY} in src/gui/_gui.cmake). It works previously due to the macOS file system being case insensitive (which is probably why the RENAME at install/_install.cmake:56 doesn't work but this is a speculation)

@EricZhang456
Copy link
Contributor Author

image

btw the "Open In..." feature works, even tho these games dropped Mac support

@craftablescience
Copy link
Owner

craftablescience commented Oct 4, 2025

btw the "Open In..." feature works, even tho these games dropped Mac support

VPKEdit doesn't use the Steam API to access these games, it just reads Steam's config files. So if a Source engine game is considered installed by Steam its assets will be accessible. Good to know that works though, I never tested that library on macOS

@craftablescience
Copy link
Owner

Oops didn't fully read the PR description

@craftablescience craftablescience merged commit 6e1973b into craftablescience:main Oct 12, 2025
11 checks passed
@EricZhang456 EricZhang456 deleted the mac branch October 12, 2025 03:16
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

Successfully merging this pull request may close these issues.

2 participants