👨💻 For developer
Log switch
Open the Settings panel with the Enable debug
option under th Advance
group
Debugging method
compile ntfy
powershell
$env:GOOS = "js"
$env:GOARCH = "wasm"
go build -o src/utils/ntfy.wasm ntfy.go
$env:GOOS = "js"
$env:GOARCH = "wasm"
go build -o src/utils/ntfy.wasm ntfy.go
sh
GOOS=js GOARCH=wasm go build -o src/utils/ntfy.wasm ntfy.go
GOOS=js GOARCH=wasm go build -o src/utils/ntfy.wasm ntfy.go
Windows(cmd.exe)
cmd
set "OUTDIR=path_to_this_plugin_in_your_obsidian_vault" && npm run dev
set "OUTDIR=path_to_this_plugin_in_your_obsidian_vault" && npm run dev
Windows(Powershell)
powershell
($env:OUTDIR = "path_to_this_plugin_in_your_obsidian_vault") -and (npm run dev)
($env:OUTDIR = "path_to_this_plugin_in_your_obsidian_vault") -and (npm run dev)
eg.
powershell
($env:OUTDIR="../juckz.github.io/blogs/.obsidian/plugins/awesome-brain-manager") -and (npm run dev)
($env:OUTDIR="../juckz.github.io/blogs/.obsidian/plugins/awesome-brain-manager") -and (npm run dev)
Linux, macOS(Bash)
bash
OUTDIR="path_to_this_plugin_in_your_obsidian_vault" npm run dev
OUTDIR="path_to_this_plugin_in_your_obsidian_vault" npm run dev
eg.
bash
OUTDIR="../juckz.github.io/blogs/.obsidian/plugins/awesome-brain-manager" npm run dev
OUTDIR="../juckz.github.io/blogs/.obsidian/plugins/awesome-brain-manager" npm run dev