fix: Standalone, ensure cwd is install dir (#7781)
Our resource loading assumes cwd is the install dir.
This commit is contained in:
1 parent
a0708e57ee
commit
b1d15d4fe7
2 files changed
+8
No files matched your search
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"claude-dev": patch
|
||||
---
|
||||
|
||||
fix: Standalone, ensure cwd is the install dir to find resources reliably
|
||||
@@ -31,6 +31,9 @@ async function main() {
|
||||
process.exit(0)
|
||||
}
|
||||
|
||||
// Resource loading assumes cwd is the installation directory
|
||||
process.chdir(__dirname)
|
||||
|
||||
// Initialize context with optional custom directory from CLI
|
||||
const { extensionContext, DATA_DIR, EXTENSION_DIR } = initializeContext(args.config)
|
||||
|
||||
|
||||
Reference in new issue
Block a user