Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc11a0b8

Browse files
Merge pull request#754 from KernelGhost/main
Add .gitattributes + Fix encodings
2 parentsec29200 +33b13ed commitc11a0b8

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

‎.gitattributes‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Ensure Windows-friendly line endings and encoding for batch and registry files
2+
*.battexteol=crlf
3+
*.cmdtexteol=crlf
4+
*.regtexteol=crlfworking-tree-encoding=UTF-16LE-BOM

‎.pre-commit-config.yaml‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ repos:
88
args:[ "775" ]
99
files:(\.sh|winapps)$
1010
-id:forbid-crlf
11+
exclude:'\.(bat|cmd|reg)$'
1112
-id:remove-crlf
13+
exclude:'\.(bat|cmd|reg)$'
1214
-id:forbid-tabs
1315
-id:remove-tabs
1416
args:[ --whitespaces-count, "4" ]
@@ -32,6 +34,7 @@ repos:
3234
-id:end-of-file-fixer
3335
-id:fix-byte-order-marker
3436
-id:mixed-line-ending
37+
exclude:'\.(bat|cmd|reg)$'
3538
-id:pretty-format-json
3639
args:[ "--autofix", "--no-sort-keys" ]
3740
-id:sort-simple-yaml

‎oem/install.bat‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if %ERRORLEVEL% equ 0 (
4040
echo [SUCCESS] Firewall changes applied successfully.
4141
)else (
4242
echo [ERROR] Failed to apply firewall changes.
43-
echo Please manually enable Remote Desktop via 'Settings System Remote Desktop'.
43+
echo Please manually enable Remote Desktop via 'Settings--> System--> Remote Desktop'.
4444
)
4545
)
4646

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp