Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
44f6b5e8de |
16
README.md
16
README.md
@@ -69,19 +69,3 @@ Currently, this is work-in-progress feature with some limitations:
|
|||||||
|
|
||||||
<img src="./assets/plugin_settings.png" alt="Available plugin settings" />
|
<img src="./assets/plugin_settings.png" alt="Available plugin settings" />
|
||||||
|
|
||||||
## Windows Troubleshooting
|
|
||||||
|
|
||||||
If you see "Executable not found at 'opencode'" despite opencode being installed:
|
|
||||||
|
|
||||||
1. Find your opencode.cmd path:
|
|
||||||
```
|
|
||||||
where opencode.cmd
|
|
||||||
```
|
|
||||||
|
|
||||||
2. Configure the full path in plugin settings:
|
|
||||||
```
|
|
||||||
C:\Users\{username}\AppData\Roaming\npm\opencode.cmd
|
|
||||||
```
|
|
||||||
|
|
||||||
This is due to Electron/Obsidian not fully inheriting PATH on Windows.
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "opencode-obsidian",
|
"id": "opencode-obsidian",
|
||||||
"name": "OpenCode-Obsidian",
|
"name": "OpenCode-Obsidian",
|
||||||
"version": "0.1.0",
|
"version": "0.0.1",
|
||||||
"minAppVersion": "1.4.0",
|
"minAppVersion": "1.4.0",
|
||||||
"description": "Embed OpenCode AI assistant in Obsidian for AI-powered note management",
|
"description": "Embed OpenCode AI assistant in Obsidian for AI-powered note management",
|
||||||
"author": "mtymek",
|
"author": "mtymek",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "obsidian-opencode",
|
"name": "obsidian-opencode",
|
||||||
"version": "0.1.0",
|
"version": "0.0.1",
|
||||||
"description": "Embed OpenCode AI assistant in Obsidian",
|
"description": "Embed OpenCode AI assistant in Obsidian",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -85,9 +85,7 @@ export class ProcessManager {
|
|||||||
cwd: this.projectDirectory,
|
cwd: this.projectDirectory,
|
||||||
env: { ...process.env, NODE_USE_SYSTEM_CA: "1" },
|
env: { ...process.env, NODE_USE_SYSTEM_CA: "1" },
|
||||||
stdio: ["ignore", "pipe", "pipe"],
|
stdio: ["ignore", "pipe", "pipe"],
|
||||||
shell: true,
|
detached: true,
|
||||||
windowsHide: true,
|
|
||||||
detached: (process.platform !== "win32"),
|
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user