mirror of
https://github.com/zadam/trilium.git
synced 2025-02-22 22:13:07 +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)
|