Logo
Explore Help
Register Sign In
Dockery/Trilium
1
0
Fork 0
You've already forked Trilium
mirror of https://github.com/zadam/trilium.git synced 2025-12-16 05:09:54 +01:00
Code Issues Packages Projects Releases Activity
Files
780b5205067623de0e3224bfeb571d6ccad9e6cd
Trilium/bin/tpl/trilium-safe-mode.bat

5 lines
155 B
Batchfile
Raw Normal View History

added safe mode scripts
2021-05-27 21:29:23 +02:00
SET DIR=%~dp0
SET TRILIUM_SAFE_MODE=1
cd %DIR%
Add powershell equivalents to existing batch scripts (#2561) * Add powershell equivalents to existing windows scripts Each .bat will try to invoke its .ps1 version if powershell is available, or else will fallback on the behavior previous to this commit. Should help fix bugs with accents and non-ASCII characters (issue #2327). * Add powershell equivalents to existing windows scripts Each .bat will try to invoke its .ps1 version if powershell is available, or else will fallback on the behavior previous to this commit. Should help fix bugs with accents and non-ASCII characters (issue #2327). Co-authored-by: zadam <zadam.apps@gmail.com>
2022-01-17 23:51:25 +01:00
WHERE powershell.exe
IF %ERRORLEVEL% NEQ 0 (start trilium.exe) ELSE (powershell.exe ./trilium-safe-mode.ps1)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.1 Page: 72ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API