mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-10 02:02:29 +08:00
Merge pull request #1428 from pchemguy/bat-files-fixes
Fixes missing quotes in the `bat` files.
This commit is contained in:
commit
b4ea96b7c7
@ -16,7 +16,7 @@ chcp 65001
|
|||||||
:: Get Current Trilium executable directory and compute data directory
|
:: Get Current Trilium executable directory and compute data directory
|
||||||
SET DIR=%~dp0
|
SET DIR=%~dp0
|
||||||
set NODE_TLS_REJECT_UNAUTHORIZED=0
|
set NODE_TLS_REJECT_UNAUTHORIZED=0
|
||||||
cd %DIR%
|
cd "%DIR%"
|
||||||
start trilium.exe
|
start trilium.exe
|
||||||
GOTO END
|
GOTO END
|
||||||
|
|
||||||
|
@ -15,8 +15,9 @@ chcp 65001
|
|||||||
|
|
||||||
:: Get Current Trilium executable directory and compute data directory
|
:: Get Current Trilium executable directory and compute data directory
|
||||||
SET DIR=%~dp0
|
SET DIR=%~dp0
|
||||||
|
SET DIR=%DIR:~0,-1%
|
||||||
SET TRILIUM_DATA_DIR=%DIR%\trilium-data
|
SET TRILIUM_DATA_DIR=%DIR%\trilium-data
|
||||||
cd %DIR%
|
cd "%DIR%"
|
||||||
start trilium.exe
|
start trilium.exe
|
||||||
GOTO END
|
GOTO END
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ chcp 65001
|
|||||||
:: Get Current Trilium executable directory and compute data directory
|
:: Get Current Trilium executable directory and compute data directory
|
||||||
SET DIR=%~dp0
|
SET DIR=%~dp0
|
||||||
SET TRILIUM_SAFE_MODE=1
|
SET TRILIUM_SAFE_MODE=1
|
||||||
cd %DIR%
|
cd "%DIR%"
|
||||||
start trilium.exe --disable-gpu
|
start trilium.exe --disable-gpu
|
||||||
GOTO END
|
GOTO END
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user