mirror of
https://github.com/davidkaya/aryx.git
synced 2026-12-03 13:54:05 +01:00
fix: shell-launch copilot on windows
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
1 parent
2fbb5dc5a5
commit
56c81fe053
4 files changed
+144
-3
No files matched your search
@@ -7,13 +7,17 @@ describe('createSidecarEnvironment', () => {
|
||||
expect(
|
||||
createSidecarEnvironment({
|
||||
PATH: 'C:\\tools',
|
||||
APPDATA: 'C:\\Users\\mail\\AppData\\Roaming',
|
||||
COPILOT_CLI: '1',
|
||||
COPILOT_LOADER_PID: '1234',
|
||||
copilot_run_app: '1',
|
||||
bun_install: 'C:\\Users\\mail\\.bun',
|
||||
NODE_OPTIONS: '--no-warnings',
|
||||
electron_run_as_node: '1',
|
||||
npm_config_user_agent: 'bun/1.3.6',
|
||||
}),
|
||||
).toEqual({
|
||||
APPDATA: 'C:\\Users\\mail\\AppData\\Roaming',
|
||||
PATH: 'C:\\tools',
|
||||
});
|
||||
});
|
||||
@@ -24,11 +28,13 @@ describe('createSidecarEnvironment', () => {
|
||||
PATH: 'C:\\tools',
|
||||
HOME: 'C:\\Users\\mail',
|
||||
FORCE_COLOR: '1',
|
||||
HTTPS_PROXY: 'http://proxy.local:8080',
|
||||
}),
|
||||
).toEqual({
|
||||
PATH: 'C:\\tools',
|
||||
HOME: 'C:\\Users\\mail',
|
||||
FORCE_COLOR: '1',
|
||||
HTTPS_PROXY: 'http://proxy.local:8080',
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user