mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-29 12:11:09 +00:00
fix: failed to initialize/send message in Electron using SDK
This commit is contained in:
parent
36931e1eab
commit
07cd73ce01
1 changed files with 2 additions and 1 deletions
|
|
@ -166,7 +166,8 @@ export async function parseArguments(): Promise<CliArgs> {
|
|||
if (
|
||||
rawArgv.length > 0 &&
|
||||
(rawArgv[0].endsWith('/dist/qwen-cli/cli.js') ||
|
||||
rawArgv[0].endsWith('/dist/cli.js'))
|
||||
rawArgv[0].endsWith('/dist/cli.js') ||
|
||||
rawArgv[0].endsWith('/dist/cli/cli.js'))
|
||||
) {
|
||||
rawArgv = rawArgv.slice(1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue