- Updated version to 1.7.5+175 - UmbrixCli.exe now has Umbrix icon (libcore v1.7.1) - Updated appcast.xml for auto-update testing - All Hiddify branding replaced with Umbrix
This commit is contained in:
26
appcast.xml
26
appcast.xml
@@ -3,11 +3,31 @@
|
||||
<channel>
|
||||
<title>Umbrix Updates</title>
|
||||
<description>Umbrix VPN автообновления</description>
|
||||
<link>http://localhost:8000</link>
|
||||
<link>https://update.umbrix.net</link>
|
||||
<language>ru</language>
|
||||
|
||||
<!-- Пример структуры для обновления версии 2.5.8 -->
|
||||
<!-- Раскомментируйте и измените, когда будет новая версия -->
|
||||
<!-- Версия 1.7.5 - тестовое обновление -->
|
||||
<item>
|
||||
<title>Umbrix 1.7.5</title>
|
||||
<description>🎨 Брендинг обновлён:
|
||||
- Заменена иконка CLI на Umbrix
|
||||
- Переименован HiddifyCli.exe → UmbrixCli.exe
|
||||
- Улучшена стабильность</description>
|
||||
<pubDate>Mon, 20 Jan 2026 09:30:00 +0000</pubDate>
|
||||
<sparkle:version>1.7.5</sparkle:version>
|
||||
<sparkle:shortVersionString>1.7.5</sparkle:shortVersionString>
|
||||
<sparkle:minimumSystemVersion>1.0.0</sparkle:minimumSystemVersion>
|
||||
|
||||
<!-- Windows Portable ZIP -->
|
||||
<enclosure
|
||||
url="https://update.umbrix.net/vodorod/umbrix/releases/download/v1.7.5/Umbrix-1.7.5-Windows-x64-Portable.zip"
|
||||
sparkle:version="1.7.5"
|
||||
sparkle:os="windows"
|
||||
type="application/zip"
|
||||
length="38653952" />
|
||||
</item>
|
||||
|
||||
<!-- Пример структуры для будущих обновлений -->
|
||||
<!--
|
||||
<item>
|
||||
<title>Umbrix 2.5.8</title>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: umbrix
|
||||
description: Cross Platform Multi Protocol Proxy Frontend.
|
||||
publish_to: "none"
|
||||
version: 1.7.3+173
|
||||
version: 1.7.5+175
|
||||
|
||||
environment:
|
||||
sdk: ">=3.3.0 <4.0.0"
|
||||
|
||||
@@ -1,18 +1,46 @@
|
||||
New-Item -ItemType Directory -Force -Name "dist\tmp"
|
||||
New-Item -ItemType Directory -Force -Name "out"
|
||||
# Umbrix Windows Packaging Script (based on Hiddify)
|
||||
# Creates: Setup.exe + Portable.zip
|
||||
|
||||
# windows setup
|
||||
# Get-ChildItem -Recurse -File -Path "dist" -Filter "*windows-setup.exe" | Copy-Item -Destination "dist\tmp\hiddify-next-setup.exe" -ErrorAction SilentlyContinue
|
||||
# Compress-Archive -Force -Path "dist\tmp\hiddify-next-setup.exe",".github\help\mac-windows\*.url" -DestinationPath "out\hiddify-windows-x64-setup.zip"
|
||||
Get-ChildItem -Recurse -File -Path "dist" -Filter "*windows-setup.exe" | Copy-Item -Destination "out\Hiddify-Windows-Setup-x64.exe" -ErrorAction SilentlyContinue
|
||||
Get-ChildItem -Recurse -File -Path "dist" -Filter "*windows.msix" | Copy-Item -Destination "out\Hiddify-Windows-Setup-x64.msix" -ErrorAction SilentlyContinue
|
||||
$Version = "1.7.5"
|
||||
|
||||
Write-Host "===============================================" -ForegroundColor Cyan
|
||||
Write-Host " Umbrix Windows Packaging v$Version" -ForegroundColor Cyan
|
||||
Write-Host "===============================================" -ForegroundColor Cyan
|
||||
Write-Host ""
|
||||
|
||||
# windows portable
|
||||
xcopy "build\windows\x64\runner\Release" "dist\tmp\hiddify-next" /E/H/C/I/Y
|
||||
xcopy ".github\help\mac-windows\*.url" "dist\tmp\hiddify-next" /E/H/C/I/Y
|
||||
Compress-Archive -Force -Path "dist\tmp\hiddify-next" -DestinationPath "out\Hiddify-Windows-Portable-x64.zip" -ErrorAction SilentlyContinue
|
||||
New-Item -ItemType Directory -Force -Name "dist\tmp" | Out-Null
|
||||
New-Item -ItemType Directory -Force -Name "out" | Out-Null
|
||||
|
||||
Remove-Item -Path "$HOME\.pub-cache\git\cache\flutter_circle_flags*" -Force -Recurse -ErrorAction SilentlyContinue
|
||||
# Windows Setup.exe (if exists in dist/)
|
||||
Write-Host "[1/2] Checking for Setup.exe..." -ForegroundColor Yellow
|
||||
$SetupExe = Get-ChildItem -Recurse -File -Path "dist" -Filter "*windows-setup.exe" -ErrorAction SilentlyContinue
|
||||
if ($SetupExe) {
|
||||
Copy-Item $SetupExe.FullName -Destination "out\Umbrix-Windows-Setup-x64.exe"
|
||||
$size = [math]::Round((Get-Item "out\Umbrix-Windows-Setup-x64.exe").Length / 1MB, 2)
|
||||
Write-Host "SUCCESS: Setup.exe copied: $size MB" -ForegroundColor Green
|
||||
} else {
|
||||
Write-Host "WARNING: Setup.exe not found (will create via Inno Setup)" -ForegroundColor Yellow
|
||||
}
|
||||
|
||||
echo "Done"
|
||||
# Windows Portable ZIP
|
||||
Write-Host ""
|
||||
Write-Host "[2/2] Creating Portable.zip..." -ForegroundColor Yellow
|
||||
xcopy "build\windows\x64\runner\Release" "dist\tmp\umbrix-portable" /E/H/C/I/Y | Out-Null
|
||||
Compress-Archive -Force -Path "dist\tmp\umbrix-portable" -DestinationPath "out\Umbrix-$Version-Windows-x64-Portable.zip"
|
||||
$size = [math]::Round((Get-Item "out\Umbrix-$Version-Windows-x64-Portable.zip").Length / 1MB, 2)
|
||||
Write-Host "SUCCESS: Portable.zip created: $size MB" -ForegroundColor Green
|
||||
|
||||
# Cleanup
|
||||
Remove-Item -Path "dist\tmp" -Recurse -Force -ErrorAction SilentlyContinue
|
||||
|
||||
Write-Host ""
|
||||
Write-Host "===============================================" -ForegroundColor Cyan
|
||||
Write-Host " PACKAGING COMPLETE!" -ForegroundColor Green
|
||||
Write-Host "===============================================" -ForegroundColor Cyan
|
||||
Write-Host ""
|
||||
Write-Host "Files in out/:" -ForegroundColor White
|
||||
Get-ChildItem "out" -ErrorAction SilentlyContinue | ForEach-Object {
|
||||
$filesize = [math]::Round($_.Length / 1MB, 2)
|
||||
Write-Host " * $($_.Name) - $filesize MB" -ForegroundColor Gray
|
||||
}
|
||||
Write-Host ""
|
||||
|
||||
Reference in New Issue
Block a user