mirror of
https://github.com/zadam/trilium.git
synced 2024-09-20 23:55:59 +08:00
trilium safe mode now disables GPU usage
This commit is contained in:
parent
8abcf571e8
commit
df351a8d09
|
@ -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)
|
||||
IF %ERRORLEVEL% NEQ 0 (start trilium.exe --disable-gpu) ELSE (powershell.exe ./trilium-safe-mode.ps1)
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
Set-Item -Path Env:TRILIUM_SAFE_MODE -Value 1
|
||||
./trilium.exe
|
||||
./trilium.exe --disable-gpu
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
DIR=`dirname "$0"`
|
||||
export TRILIUM_SAFE_MODE=1
|
||||
|
||||
"$DIR/trilium"
|
||||
"$DIR/trilium" --disable-gpu
|
||||
|
||||
|
|
Loading…
Reference in a new issue