From c5a4c26b1e946380679cd6748bc54ffb25141e6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9B=D1=83=D1=86=D0=B5=D0=BD=D0=BA=D0=BE=20=D0=90=D0=BD?= =?UTF-8?q?=D0=B4=D1=80=D0=B5=D0=B9=20=D0=90=D0=BD=D0=B0=D1=82=D0=BE=D0=BB?= =?UTF-8?q?=D1=8C=D0=B5=D0=B2=D0=B8=D1=87?= Date: Thu, 9 Apr 2026 17:01:17 +1000 Subject: [PATCH] Add editor/gitattributes defaults for PowerShell encoding --- .editorconfig | 11 +++++++++++ .gitattributes | 2 ++ README.md | 4 ++++ 3 files changed, 17 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitattributes diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..a892658 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +root = true + +[*] +charset = utf-8 +end_of_line = crlf +insert_final_newline = true + +[*.ps1] +charset = utf-8-bom +end_of_line = crlf + diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b3db83 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +*.ps1 text eol=crlf + diff --git a/README.md b/README.md index 877bc1c..2153210 100644 --- a/README.md +++ b/README.md @@ -78,3 +78,7 @@ powershell.exe -NoProfile -ExecutionPolicy Bypass -File "D:\Soft\Login_Monitor.p - если процесса нет — запускает монитор; - если heartbeat старше `$HeartbeatStaleMinutes` (по умолчанию 90 минут) — перезапускает монитор. +<<<<<<< HEAD +======= + +>>>>>>> 68f8bcb (Add editor/gitattributes defaults for PowerShell encoding)