Skip to content

Commit 07cd73c

Browse files
committed
fix: failed to initialize/send message in Electron using SDK
1 parent 36931e1 commit 07cd73c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/cli/src/config/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,8 @@ export async function parseArguments(): Promise<CliArgs> {
166166
if (
167167
rawArgv.length > 0 &&
168168
(rawArgv[0].endsWith('/dist/qwen-cli/cli.js') ||
169-
rawArgv[0].endsWith('/dist/cli.js'))
169+
rawArgv[0].endsWith('/dist/cli.js') ||
170+
rawArgv[0].endsWith('/dist/cli/cli.js'))
170171
) {
171172
rawArgv = rawArgv.slice(1);
172173
}

0 commit comments

Comments
 (0)