summaryrefslogtreecommitdiff
path: root/setup.ps1
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-01-10 18:01:29 +0800
committer魏曹先生 <1992414357@qq.com>2026-01-10 18:01:29 +0800
commita09d7538191846a0c0e86fcb87638e0bec182587 (patch)
treec8c2bb2c53793b5f7cea4962cc209e6341ae66c0 /setup.ps1
parent1127b010478e7b4deb523fed544b900fa724ef3e (diff)
Hide .cargo, .github and .temp directories before build
Diffstat (limited to 'setup.ps1')
-rw-r--r--setup.ps111
1 files changed, 11 insertions, 0 deletions
diff --git a/setup.ps1 b/setup.ps1
index b2e48a2..6f51441 100644
--- a/setup.ps1
+++ b/setup.ps1
@@ -7,3 +7,14 @@ if (Test-Path "docs/Documents/.git") {
} else {
git clone https://github.com/JustEnoughVCS/Documents.git docs/Documents
}
+
+# Hide .cargo, .github and .temp directories before build
+if (Test-Path .cargo) {
+ attrib +h .cargo
+}
+if (Test-Path .github) {
+ attrib +h .github
+}
+if (Test-Path .temp) {
+ attrib +h .temp
+}