Repository navigation
chore: embed Info.plist in dylib - #15907
Merged
Merged
Conversation
ethanndickson
force-pushed
the
ethan/info-plist
branch
11 times, most recently
from
December 18, 2024 08:35
d4f83dc to
95b31a0
Compare
Info.plistInfo.plist in dylib
ethanndickson
force-pushed
the
ethan/info-plist
branch
2 times, most recently
from
December 18, 2024 09:08
3ad8ad7 to
762b2c9
Compare
ethanndickson
marked this pull request as ready for review
December 18, 2024 09:13
deansheather
approved these changes
Dec 18, 2024
ethanndickson
force-pushed
the
ethan/info-plist
branch
from
December 18, 2024 10:46
762b2c9 to
22fe22c
Compare
spikecurtis
approved these changes
Dec 18, 2024
ethanndickson
force-pushed
the
ethan/info-plist
branch
from
December 18, 2024 10:50
22fe22c to
c352339
Compare
ethanndickson
enabled auto-merge (squash)
December 18, 2024 10:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Relates to coder/coder-desktop-macos#2
This embeds:
CFBundleName2.18.1-devel+1317c3043asCFBundleVersion2.18.1asCFBundleShortVersionStringcom.coder.Coder-Desktop.VPN.dylibasCFBundleIdentifier.into the
__TEXT __info_plistsection of the Coder VPN.dylib. This allows the Desktop app to read the version of the dylib after it's been downloaded.There exists a Swift API for reading this section: https://developer.apple.com/documentation/corefoundation/1537134-cfbundlecopyinfodictionaryforurl
Note:
I initially tried to see if
Info.plistcould be embedded within the signature usingrcodesign. It lets you supply anInfo.plistbut it would appear to only add the hash of the file to the signature, see example.Inspecting the signature with
codesignwould returnInfo.plist=not bound.