A new style desktop shell for Windows 11: menu bar, Dock, Finder, Spotlight, Control Center and Liquid Glass, in native C++.
Rust
publicar.ps1: next build number = highest build-N + 1 (builds 1-16 were removed)
Eternity070628dfe7378f9dcf
diff --git a/tools/publicar.ps1 b/tools/publicar.ps1index 6da3502..4e0cf3c 100644--- a/tools/publicar.ps1+++ b/tools/publicar.ps1@@ -1,37 +1,38 @@-# Publishes a new WacOS version on GitHub with the FULL package (programs, icons, SF fonts, macOS sounds and-# cursor), built on this PC: the fonts, sounds and cursor are not in the repository, so GitHub Actions can't build-# this package (it only checks that the code compiles).-# 1. next version = build-<number of build-N releases + 1>-# 2. writes bin\versao.txt (version, commit, date): the updater compares it with the latest release-# 3. tools\empacotar.ps1 -SemSistema -SemAjustes (no personal settings) -> dist\WacOS-<date>.zip-# 4. git push, then a release with that zip as the latest-# Run it from a normal PowerShell of the user (it reads the installed fonts and the cursor in use).-param([string]$Notas = '')-$ErrorActionPreference = 'Stop'-$root = Split-Path $PSScriptRoot -Parent-Set-Location $root-$repo = 'renzyxx/WacOS'-$log = Join-Path $root 'dist\publicar.log'-function L($s) { $s | Tee-Object -FilePath $log -Append | Write-Host }-New-Item -ItemType Directory -Force (Join-Path $root 'dist') | Out-Null-"" | Set-Content $log--$n = @(gh release list -R $repo --limit 1000 --json tagName --jq '.[].tagName' | Where-Object { $_ -match '^build-\d+$' }).Count + 1-$tag = "build-$n"-git push -q origin main 2>&1 | Out-Null-$sha = (git rev-parse HEAD).Trim()-L "versão: $tag ($sha)"-Set-Content -Encoding utf8 (Join-Path $root 'bin\versao.txt') @($tag, $sha, (Get-Date -Format 'yyyy-MM-dd HH:mm'))--& powershell -NoProfile -ExecutionPolicy Bypass -File (Join-Path $PSScriptRoot 'empacotar.ps1') -SemSistema -SemAjustes *>&1 | ForEach-Object { L "$_" }-$zip = Get-ChildItem (Join-Path $root 'dist') -Filter 'WacOS-*.zip' | Sort-Object LastWriteTime -Descending | Select-Object -First 1-if (-not $zip) { L 'ERRO: o pacote não foi gerado'; exit 1 }--if (-not $Notas) {- $antes = gh release list -R $repo --limit 1 --json tagName --jq '.[0].tagName'- $Notas = if ($antes) { (git log --pretty=format:'- %s' "$antes..HEAD") -join "`n" } else { '- New version' }-}-$nf = Join-Path $root 'dist\notas.md'-Set-Content -Encoding utf8 $nf $Notas-gh release create $tag $zip.FullName -R $repo --target $sha --title "WacOS $tag" --notes-file $nf --latest 2>&1 | ForEach-Object { L "$_" }-L "publicado: $tag ($([math]::Round($zip.Length / 1MB)) MB)"+# Publishes a new WacOS version on GitHub with the FULL package (programs, icons, SF fonts, macOS sounds and+# cursor), built on this PC: the fonts, sounds and cursor are not in the repository, so GitHub Actions can't build+# this package (it only checks that the code compiles).+# 1. next version = build-<highest build-N + 1>+# 2. writes bin\versao.txt (version, commit, date): the updater compares it with the latest release+# 3. tools\empacotar.ps1 -SemSistema -SemAjustes (no personal settings) -> dist\WacOS-<date>.zip+# 4. git push, then a release with that zip as the latest+# Run it from a normal PowerShell of the user (it reads the installed fonts and the cursor in use).+param([string]$Notas = '')+$ErrorActionPreference = 'Stop'+$root = Split-Path $PSScriptRoot -Parent+Set-Location $root+$repo = 'renzyxx/WacOS'+$log = Join-Path $root 'dist\publicar.log'+function L($s) { $s | Tee-Object -FilePath $log -Append | Write-Host }+New-Item -ItemType Directory -Force (Join-Path $root 'dist') | Out-Null+"" | Set-Content $log++# o maior build-N + 1 (não a contagem: as builds 1 a 16 foram apagadas em 20/11/2026, na troca de licença)+$n = (@(gh release list -R $repo --limit 1000 --json tagName --jq '.[].tagName' | Where-Object { $_ -match '^build-(\d+)$' } | ForEach-Object { [int]($_ -replace '^build-', '') }) + @(17) | Measure-Object -Maximum).Maximum + 1+$tag = "build-$n"+git push -q origin main 2>&1 | Out-Null+$sha = (git rev-parse HEAD).Trim()+L "versão: $tag ($sha)"+Set-Content -Encoding utf8 (Join-Path $root 'bin\versao.txt') @($tag, $sha, (Get-Date -Format 'yyyy-MM-dd HH:mm'))++& powershell -NoProfile -ExecutionPolicy Bypass -File (Join-Path $PSScriptRoot 'empacotar.ps1') -SemSistema -SemAjustes *>&1 | ForEach-Object { L "$_" }+$zip = Get-ChildItem (Join-Path $root 'dist') -Filter 'WacOS-*.zip' | Sort-Object LastWriteTime -Descending | Select-Object -First 1+if (-not $zip) { L 'ERRO: o pacote não foi gerado'; exit 1 }++if (-not $Notas) {+ $antes = gh release list -R $repo --limit 1 --json tagName --jq '.[0].tagName'+ $Notas = if ($antes) { (git log --pretty=format:'- %s' "$antes..HEAD") -join "`n" } else { '- New version' }+}+$nf = Join-Path $root 'dist\notas.md'+Set-Content -Encoding utf8 $nf $Notas+gh release create $tag $zip.FullName -R $repo --target $sha --title "WacOS $tag" --notes-file $nf --latest 2>&1 | ForEach-Object { L "$_" }+L "publicado: $tag ($([math]::Round($zip.Length / 1MB)) MB)"