fix(config): Make `macos-custom-icon` null-terminated (#8999)

The config option `macos-custom-icon` wasn't working because, to pass
successfully through the C API to Swift, the string must be
null-terminated.

Fixes
https://discord.com/channels/1005603569187160125/1423192859112116224
pull/9001/head
Mitchell Hashimoto 2025-10-02 11:44:43 -07:00 committed by GitHub
commit 052857b58b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -2884,7 +2884,7 @@ keybind: Keybinds = .{},
/// ///
/// Note: This configuration is required when `macos-icon` is set to /// Note: This configuration is required when `macos-icon` is set to
/// `custom` /// `custom`
@"macos-custom-icon": ?[]const u8 = null, @"macos-custom-icon": ?[:0]const u8 = null,
/// The material to use for the frame of the macOS app icon. /// The material to use for the frame of the macOS app icon.
/// ///