fix: point start.sh to relative path (#209)

This commit is contained in:
Brandon Keiji 2025-04-29 02:44:59 +00:00 committed by GitHub
parent 051ab58c50
commit df44ffbcff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 4 deletions

3
package-lock.json generated
View File

@ -6860,8 +6860,7 @@
"yargs": "^17.7.2"
},
"bin": {
"gemini-code": "dist/index.js",
"gemini-code-sandbox": "bin/sandbox.sh"
"gemini-code": "dist/index.js"
},
"devDependencies": {
"@types/diff": "^7.0.2",

View File

@ -26,8 +26,8 @@ else
# DEV=true to enable React Dev Tools (https://github.com/vadimdemedes/ink?tab=readme-ov-file#using-react-devtools)
# CLI_VERSION to display in the app ui footer
if [ -n "${DEBUG:-}" ]; then
CLI_VERSION='development' DEV=true npm run debug --workspace=@gemini-code/cli -- "$@"
CLI_VERSION='development' DEV=true node --inspect-brk ./packages/cli "$@"
else
CLI_VERSION='development' DEV=true npm run start --workspace=@gemini-code/cli -- "$@"
CLI_VERSION='development' DEV=true node ./packages/cli "$@"
fi
fi