Merge pull request #1428 from pchemguy/bat-files-fixes

Fixes missing quotes in the `bat` files.
This commit is contained in:
Elian Doran 2025-03-15 01:20:37 +02:00 committed by GitHub
commit b4ea96b7c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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