mirror of
https://github.com/zadam/trilium.git
synced 2025-01-16 12:08:03 +08:00
5 lines
170 B
Batchfile
5 lines
170 B
Batchfile
SET DIR=%~dp0
|
|
SET TRILIUM_SAFE_MODE=1
|
|
cd %DIR%
|
|
WHERE powershell.exe
|
|
IF %ERRORLEVEL% NEQ 0 (start trilium.exe --disable-gpu) ELSE (powershell.exe ./trilium-safe-mode.ps1)
|