-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathInstall-TypeAnything.bat
More file actions
29 lines (24 loc) · 892 Bytes
/
Install-TypeAnything.bat
File metadata and controls
29 lines (24 loc) · 892 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
@echo off
rem ============================================================
rem TypeAnything one-click installer
rem Double-click this file. UAC will prompt for elevation, then a
rem dialog box asks for your DeepSeek API key. After that, the
rem PowerShell installer drops the binaries into your Weasel
rem installation directory and registers everything.
rem ============================================================
setlocal
cd /d "%~dp0"
rem Re-launch elevated if not already admin.
net session >nul 2>&1
if %errorlevel% neq 0 (
powershell -NoProfile -Command "Start-Process '%~f0' -Verb RunAs"
exit /b
)
echo.
echo ============================================================
echo TypeAnything Installer
echo ============================================================
echo.
powershell -NoProfile -ExecutionPolicy Bypass -File "%~dp0Install-TypeAnything.ps1"
echo.
pause