mirror of
https://github.com/lllin000/PaperForge.git
synced 2026-07-22 17:00:23 +00:00
- _runSetup(): validates fields, spawns paperforge setup --headless, disables/enables button - Uses spawn (not exec) for stdout streaming, --headless (not --non-interactive) - Explicit directory args override headless_setup defaults - _showNotice(): renders success/error/progress via Obsidian Notice API - _formatSetupError(): maps 5+ error patterns to Chinese, raw errors logged to console - _processSetupOutput(): parses [*]/[OK]/[FAIL] step markers from stdout - _setStatus(): updates status area with color-coded CSS class - Button disable/enable in try/finally prevents double-click - INST-04: sidebar and commands unchanged |
||
|---|---|---|
| .. | ||
| main.js | ||
| manifest.json | ||
| styles.css | ||
| versions.json | ||