Merge pull request #103837 from a-johnston/mac_build_fix
C#: Add missing `get_data` when calling `CFStringCreateWithCString` in `macos_utils`
This commit is contained in:
commit
f2ad4c7fc1
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@
|
|||
#import <CoreServices/CoreServices.h>
|
||||
|
||||
bool macos_is_app_bundle_installed(const String &p_bundle_id) {
|
||||
CFStringRef bundle_id = CFStringCreateWithCString(nullptr, p_bundle_id.utf8(), kCFStringEncodingUTF8);
|
||||
CFStringRef bundle_id = CFStringCreateWithCString(nullptr, p_bundle_id.utf8().get_data(), kCFStringEncodingUTF8);
|
||||
CFArrayRef result = LSCopyApplicationURLsForBundleIdentifier(bundle_id, nullptr);
|
||||
CFRelease(bundle_id);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue