File tree Expand file tree Collapse file tree 3 files changed +15
-3
lines changed
Expand file tree Collapse file tree 3 files changed +15
-3
lines changed Original file line number Diff line number Diff line change 1313# =============================================================================
1414
1515$INSTALL_DIR = " C:\Program Files\Speech-to-Cobot-Backend"
16- $RELEASE_TAG = " v1.0.0 "
16+ $RELEASE_TAG = " v1.0.1 "
1717$ZIP_URL = " https://github.com/Meisdy/Speech-to-Code-Generation-for-Collaborative-Robots/releases/download/$RELEASE_TAG /stcgcr-backend.zip"
1818$ZIP_PATH = " C:\Windows\Temp\stcgcr-backend.zip"
1919$EXTRACT_PATH = " C:\Windows\Temp\stcgcr-backend-extract"
Original file line number Diff line number Diff line change 1515# =============================================================================
1616
1717$INSTALL_DIR = " C:\Program Files\Speech-to-Cobot"
18- $RELEASE_TAG = " v1.0.0 "
18+ $RELEASE_TAG = " v1.0.1 "
1919$ZIP_URL = " https://github.com/Meisdy/Speech-to-Code-Generation-for-Collaborative-Robots/releases/download/$RELEASE_TAG /stcgcr-frontend.zip"
2020$ZIP_PATH = " C:\Windows\Temp\stcgcr-frontend.zip"
2121$EXTRACT_PATH = " C:\Windows\Temp\stcgcr-frontend-extract"
Original file line number Diff line number Diff line change 1010#
1111# What this removes:
1212# - C:\Program Files\Speech-to-Cobot-Backend\ (install directory)
13+ # - Desktop shortcut
1314# - uv package and Python cache (optional — prompted)
1415#
1516# What this does NOT remove:
@@ -67,6 +68,17 @@ if (Test-Path $INSTALL_DIR) {
6768 Write-Warn " $INSTALL_DIR not found — already removed or never installed"
6869}
6970
71+ # --- Desktop shortcut ---------------------------------------------------------
72+
73+ Write-Step " Removing Desktop shortcut"
74+ $shortcut = " $env: USERPROFILE \Desktop\Speech-to-Cobot Backend.lnk"
75+ if (Test-Path $shortcut ) {
76+ Remove-Item - Force $shortcut
77+ Write-OK " Removed $shortcut "
78+ } else {
79+ Write-Warn " Shortcut not found — already removed or never created"
80+ }
81+
7082# --- uv (optional) ------------------------------------------------------------
7183# Only prompt if frontend is not installed — removing uv affects both.
7284
@@ -105,4 +117,4 @@ if ($frontendInstalled) {
105117Write-Host " "
106118Write-Host " =====================================================" - ForegroundColor Green
107119Write-Host " Uninstall complete." - ForegroundColor Green
108- Write-Host " =====================================================" - ForegroundColor Green
120+ Write-Host " =====================================================" - ForegroundColor Green
You can’t perform that action at this time.
0 commit comments