diff --git a/bin/tpl/trilium-safe-mode.bat b/bin/tpl/trilium-safe-mode.bat index 45fb21c07..7a5699369 100644 --- a/bin/tpl/trilium-safe-mode.bat +++ b/bin/tpl/trilium-safe-mode.bat @@ -2,4 +2,4 @@ SET DIR=%~dp0 SET TRILIUM_SAFE_MODE=1 cd %DIR% WHERE powershell.exe -IF %ERRORLEVEL% NEQ 0 (start trilium.exe) ELSE (powershell.exe ./trilium-safe-mode.ps1) \ No newline at end of file +IF %ERRORLEVEL% NEQ 0 (start trilium.exe --disable-gpu) ELSE (powershell.exe ./trilium-safe-mode.ps1) diff --git a/bin/tpl/trilium-safe-mode.ps1 b/bin/tpl/trilium-safe-mode.ps1 index 5fafd5c3e..909c2f1f5 100644 --- a/bin/tpl/trilium-safe-mode.ps1 +++ b/bin/tpl/trilium-safe-mode.ps1 @@ -1,2 +1,2 @@ Set-Item -Path Env:TRILIUM_SAFE_MODE -Value 1 -./trilium.exe \ No newline at end of file +./trilium.exe --disable-gpu diff --git a/bin/tpl/trilium-safe-mode.sh b/bin/tpl/trilium-safe-mode.sh index a5513f1db..5221d4d61 100644 --- a/bin/tpl/trilium-safe-mode.sh +++ b/bin/tpl/trilium-safe-mode.sh @@ -3,5 +3,5 @@ DIR=`dirname "$0"` export TRILIUM_SAFE_MODE=1 -"$DIR/trilium" +"$DIR/trilium" --disable-gpu