aboutsummaryrefslogtreecommitdiff
path: root/website/install.cmd
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-09-01 14:48:45 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-09-01 14:48:45 +0300
commit8a6d697308162874a236c84aac0b0f8c7ac01f83 (patch)
treeed7dc7e8c6f50d66bde721fae78576aede929f66 /website/install.cmd
parentb54a78aa510b87d1e3b56c619b72eaeb59e4a2a1 (diff)
refactor: separate website presentation from runtime
Diffstat (limited to 'website/install.cmd')
-rw-r--r--website/install.cmd21
1 files changed, 0 insertions, 21 deletions
diff --git a/website/install.cmd b/website/install.cmd
deleted file mode 100644
index 325e3b38..00000000
--- a/website/install.cmd
+++ /dev/null
@@ -1,21 +0,0 @@
-@echo off
-setlocal
-
-set "INSTALLER_URL=https://herdr.dev/install.ps1"
-set "CURL_PROTOCOL=--proto =https --tlsv1.2"
-if defined HERDR_INSTALLER_URL (
- set "INSTALLER_URL=%HERDR_INSTALLER_URL%"
- set "CURL_PROTOCOL=--proto =http,https"
-)
-set "INSTALLER_PATH=%TEMP%\herdr-install-%RANDOM%-%RANDOM%.ps1"
-
-curl.exe --fail --silent --show-error --location --connect-timeout 30 --speed-limit 1024 --speed-time 30 %CURL_PROTOCOL% --output "%INSTALLER_PATH%" -- "%INSTALLER_URL%"
-if errorlevel 1 (
- del /f /q "%INSTALLER_PATH%" >nul 2>&1
- exit /b 1
-)
-
-powershell.exe -NoProfile -ExecutionPolicy Bypass -File "%INSTALLER_PATH%" %*
-set "INSTALLER_EXIT=%ERRORLEVEL%"
-del /f /q "%INSTALLER_PATH%" >nul 2>&1
-exit /b %INSTALLER_EXIT%