Skip to content
Source
Docs
Explore
Skills
MCP servers
For agents
Search or jump to…
Sign in
Sign up
pingdotgg
/
t3code
Pull requests
pingdotgg
t3code
Public
Synced with GitHub
Popular #1
Fork
0
0
0
0
1
2
3
4
5
6
7
8
9
Code
Architecture
Issues
Pull requests
Community
Assets
CI
Agents
Settings
fix(desktop): use system CAs for bundled server requests
#23424
Send to my agent
Open
juliusmarminge
wants to merge 3 commits into
main
from
refs/pull/23424/head
·
opened
last month
View on GitHub
Conversation
9
Commits
3
Files changed
2
Impact
Showing
2 changed files
with
4 additions
and
1 deletion
.
x
0 of 2 viewed, 2 left
Files
Hide whitespace
Unified
Split
2 additions and 1 deletion
+2
-1
apps/desktop/src/backend/DesktopBackendConfiguration.test.ts
Modified
Diff
Before/After
Viewed
apps/desktop/src/backend/DesktopBackendConfiguration.test.ts
View file
Expand up
Show all 227 lines
@@ -228,7 +228,8 @@
228
228
const
second =
yield
* configuration.
resolvePrimary
;
229
229
230
230
assert.
equal
(first.
executablePath
, process.
execPath
);
231
-
assert.
deepEqual
(first.
args
.
slice
(
0
,
3
), [
231
+
assert.
deepEqual
(first.
args
.
slice
(
0
,
4
), [
232
+
"--use-system-ca"
,
232
233
"--require"
,
233
234
environment.
compileCachePath
,
234
235
environment.
backendEntryPath
,
Expand down
Show all lines
2 additions and 0 deletions
+2
-0
apps/desktop/src/backend/DesktopBackendConfiguration.ts
Modified
Diff
Before/After
Viewed
apps/desktop/src/backend/DesktopBackendConfiguration.ts
View file
Expand up
Show all 522 lines
@@ -523,7 +523,9 @@
523
523
return
{
524
524
executablePath
: process.
execPath
,
525
525
// Packaged builds have a separate cache; --require prevents cache settings leaking to provider subprocesses.
526
+
// --use-system-ca also stays off the env: Electron's CA bundle rejects chains the OS trusts.
526
527
args
: [
528
+
"--use-system-ca"
,
527
529
...(environment.
isPackaged
? [
"--require"
, environment.
compileCachePath
] : []),
528
530
environment.
backendEntryPath
,
529
531
"--bootstrap-fd"
,
Expand down
Show all lines
Home
Search
Explore
Menu