fix(desktop): declare macOS local network usage (#11922)

This commit is contained in:
Josh Silets authored and GitHub committed 2026-10-10 04:11:03 +00:00
1 parent f55c66b323
commit c1ade7db94
2 files changed
+7

No files matched your search

+5
View File
@@ -721,6 +721,11 @@ it.layer(NodeServices.layer)("build-desktop-artifact", (it) => {
assert.deepStrictEqual(win.files, DESKTOP_FILE_EXCLUSIONS);
assert.deepStrictEqual(winWithoutWslRuntime.files, win.files);
assert.notProperty(mac.mac as Record<string, unknown>, "sign");
assert.propertyVal(
(mac.mac as Record<string, unknown>).extendInfo as Record<string, unknown>,
"NSLocalNetworkUsageDescription",
"T3 Code connects to devices on your local network for remote environments and commands run by terminals and coding agents.",
);
for (const config of [linux, win]) {
assert.deepStrictEqual(config.electronLanguages, DESKTOP_ELECTRON_LANGUAGES);
}
+2
View File
@@ -2811,6 +2811,8 @@ export const createBuildConfig = Effect.fn("createBuildConfig")(function* (
icon: "icon.icns",
category: "public.app-category.developer-tools",
extendInfo: {
NSLocalNetworkUsageDescription:
"T3 Code connects to devices on your local network for remote environments and commands run by terminals and coding agents.",
NSScreenCaptureUsageDescription:
"T3 Code captures the active window when you use the window capture shortcut.",
// macOS lists an app under Default web browser only when it opens web