complete refactor

This commit is contained in:
2025-12-15 09:26:27 +01:00
parent 41c7ec292c
commit fbf3b6826c
45 changed files with 3001 additions and 1474 deletions

21
installer.ps1 Normal file
View File

@@ -0,0 +1,21 @@
$installDir = "$env:LOCALAPPDATA\Blueberry"
$zipUrl = "https://git.technopunk.space/tomi/Blueberry/releases/download/latest/Blueberry.zip"
$exePath = "$installDir\Blueberry.exe"
if (Test-Path $installDir) { Remove-Item $installDir -Recurse -Force }
New-Item -ItemType Directory -Path $installDir -Force | Out-Null
# 3. Download & Unzip
Write-Host "Downloading Blueberry..."
$zipFile = "$env:TEMP\Blueberry.zip"
Invoke-WebRequest -Uri $zipUrl -OutFile $zipFile
Expand-Archive -Path $zipFile -DestinationPath $installDir -Force
Remove-Item $zipFile
$wsh = New-Object -ComObject WScript.Shell
$shortcut = $wsh.CreateShortcut("$env:USERPROFILE\Desktop\Blueberry.lnk")
$shortcut.TargetPath = $exePath
$shortcut.Save()
# 5. Run it
Start-Process $exePath