mirror of https://github.com/TriliumNext/Notes
added scripts for running trilium as "portable"
parent
6d6695e3a9
commit
81fbefb9cd
@ -0,0 +1,4 @@
|
|||||||
|
SET DIR=%~dp0
|
||||||
|
SET TRILIUM_DATA_DIR=%DIR%\trilium-data
|
||||||
|
cd %DIR%
|
||||||
|
start trilium.exe
|
||||||
@ -0,0 +1,7 @@
|
|||||||
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
|
DIR=`dirname "$0"`
|
||||||
|
export TRILIUM_DATA_DIR="$DIR/trilium-data"
|
||||||
|
|
||||||
|
"$DIR/trilium"
|
||||||
|
|
||||||
Loading…
Reference in New Issue