summaryrefslogtreecommitdiff
path: root/deploy.ps1
diff options
context:
space:
mode:
author魏曹先生 <1992414357@qq.com>2026-01-07 15:20:25 +0800
committer魏曹先生 <1992414357@qq.com>2026-01-07 15:20:25 +0800
commitd226aad32d30a66ca027af27bacdcfec9dbfbbf4 (patch)
tree36dae1ef6be84ec225a50d382eafbacdb943d17c /deploy.ps1
parent5bffd568245babb8b1ed42b8c19647426414121f (diff)
Hide .cargo and .temp directories before build
Diffstat (limited to 'deploy.ps1')
-rw-r--r--deploy.ps18
1 files changed, 8 insertions, 0 deletions
diff --git a/deploy.ps1 b/deploy.ps1
index 8140dcb..fb51be4 100644
--- a/deploy.ps1
+++ b/deploy.ps1
@@ -1,5 +1,13 @@
# Require : Cargo (Rust), ISCC (Inno Setup)
+# Hide .cargo and .temp directories before build
+if (Test-Path .cargo) {
+ attrib +h .cargo
+}
+if (Test-Path .temp) {
+ attrib +h .temp
+}
+
# Check for ISCC
$isccPath = Get-Command ISCC -ErrorAction SilentlyContinue
if (-not $isccPath) {