Skip to content

Commit c1ade7d

Browse files
authored
fix(desktop): declare macOS local network usage (pingdotgg#11922)
1 parent f55c66b commit c1ade7d

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

‎scripts/build-desktop-artifact.test.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -721,6 +721,11 @@ it.layer(NodeServices.layer)("build-desktop-artifact", (it) => {
721721
assert.deepStrictEqual(win.files, DESKTOP_FILE_EXCLUSIONS);
722722
assert.deepStrictEqual(winWithoutWslRuntime.files, win.files);
723723
assert.notProperty(mac.mac as Record<string, unknown>, "sign");
724+
assert.propertyVal(
725+
(mac.mac as Record<string, unknown>).extendInfo as Record<string, unknown>,
726+
"NSLocalNetworkUsageDescription",
727+
"T3 Code connects to devices on your local network for remote environments and commands run by terminals and coding agents.",
728+
);
724729
for (const config of [linux, win]) {
725730
assert.deepStrictEqual(config.electronLanguages, DESKTOP_ELECTRON_LANGUAGES);
726731
}

‎scripts/build-desktop-artifact.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2811,6 +2811,8 @@ export const createBuildConfig = Effect.fn("createBuildConfig")(function* (
28112811
icon: "icon.icns",
28122812
category: "public.app-category.developer-tools",
28132813
extendInfo: {
2814+
NSLocalNetworkUsageDescription:
2815+
"T3 Code connects to devices on your local network for remote environments and commands run by terminals and coding agents.",
28142816
NSScreenCaptureUsageDescription:
28152817
"T3 Code captures the active window when you use the window capture shortcut.",
28162818
// macOS lists an app under Default web browser only when it opens web

0 commit comments

Comments
 (0)