From 239cd62103d617f0b2a9d58527843417a0db6ab4 Mon Sep 17 00:00:00 2001 From: Weicao-CatilGrass <1992414357@qq.com> Date: Mon, 9 Mar 2026 14:48:15 +0800 Subject: Add Win32 GUI for butck_gui.exe --- gui/win32/scripts/clean.ps1 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 gui/win32/scripts/clean.ps1 (limited to 'gui/win32/scripts/clean.ps1') diff --git a/gui/win32/scripts/clean.ps1 b/gui/win32/scripts/clean.ps1 new file mode 100644 index 0000000..59d9593 --- /dev/null +++ b/gui/win32/scripts/clean.ps1 @@ -0,0 +1,15 @@ +$originalLocation = Get-Location +$scriptPath = Split-Path -Parent $MyInvocation.MyCommand.Path +Set-Location $scriptPath + +if (!(Test-Path -Path "..\build")) { + Set-Location $originalLocation + exit +} + +Remove-Item "..\build" -Recurse -Force -ErrorAction SilentlyContinue +if (Test-Path -Path "..\.clangd") { + Remove-Item "..\.clangd" -Recurse -Force -ErrorAction SilentlyContinue +} + +Set-Location $originalLocation -- cgit