From 3b2aadde8e25a3aec4c937d1c6f5c632bbfea692 Mon Sep 17 00:00:00 2001 From: nako-ruru Date: Sun, 23 Aug 2026 13:50:36 +0800 Subject: [PATCH] chore: enforce LF for shell scripts and ignore Android .gradle cache (#2520) Add a root .gitattributes pinning *.sh to LF so shell scripts stay executable after a checkout on Windows with autocrlf enabled; without it every .sh lands in the working tree as CRLF and fails when run under WSL/bash. Also ignore tauri-plugin-vpnservice/android/.gradle, which Gradle regenerates on every sync. Co-authored-by: bright --- .gitattributes | 1 + tauri-plugin-vpnservice/android/.gitignore | 1 + 2 files changed, 2 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..dfdb8b77 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.sh text eol=lf diff --git a/tauri-plugin-vpnservice/android/.gitignore b/tauri-plugin-vpnservice/android/.gitignore index c0f21ec2..add8dd33 100644 --- a/tauri-plugin-vpnservice/android/.gitignore +++ b/tauri-plugin-vpnservice/android/.gitignore @@ -1,2 +1,3 @@ /build /.tauri +/.gradle