A new style desktop shell for Windows 11: menu bar, Dock, Finder, Spotlight, Control Center and Liquid Glass, in native C++.
Rust
build.cmd updates bin\versao.txt on every build
Eternity0706281fdc1d1ed04c
diff --git a/build.cmd b/build.cmdindex a4971ea..637c9ae 100644--- a/build.cmd+++ b/build.cmd@@ -14,7 +14,7 @@ rem build.cmd notas so o Notas (WacOSNotes.exe)rem build.cmd captura so a Captura de Tela (WacOSScreenshot.exe: Win+Shift+3/4/5)rem build.cmd preview so a Pre-Visualizacao (WacOSPreview.exe: imagens e PDF)rem build.cmd apps so Lembretes, Calendario e TextEdit-rem build.cmd janelas barra de titulo do Mac nos outros programas (WacOSWindow.dll, 32 e 64 bits, e WacOSTitleBars.exe)+rem build.cmd janelas barra de titulo do Mac nos outros programas (WacOSWindow.dll, 32 e 64 bits, e WacOSTitleBars.exe)rem build.cmd setup so o WacOSSetup.exe (instalar, atualizar e desinstalar)rem build.cmd titulos so o WacOSTitleBars.exe (as barras de titulo sem o Shell)rem build.cmd bandeja so o prototipo da bandeja (BandejaTeste.exe)@@ -27,6 +27,8 @@ call "%VSDIR%\VC\Auxiliary\Build\vcvars64.bat" >nul || exit /b 1cd /d "%~dp0"if not exist bin\obj mkdir bin\objif not exist bin\ferramentas mkdir bin\ferramentas+rem a etiqueta da versao (bin\versao.txt: ultima build publicada, commit, data) a cada compilacao; erro aqui nao para o build+powershell -NoProfile -ExecutionPolicy Bypass -File tools\versao.ps1 >nul 2>nulrem icones e descricoes (VERSIONINFO) de cada programaset "RES=bin\obj\res"diff --git a/docs/registro-mudancas.txt b/docs/registro-mudancas.txtindex b281f4a..8077589 100644--- a/docs/registro-mudancas.txt+++ b/docs/registro-mudancas.txt@@ -832,3 +832,5 @@ Compilado (tudo), instalado, Shell e reserva do Finder reiniciados às 23:07 sem2) Ajustes > Geral > Sobre: grupo "Menu da Apple" com o popup "Sobre Este Mac mostra" (Este PC / Mac Studio). 4 frases novas nos 12 idiomas.3) WacOSSetup.exe (src\setup\main.cpp) e tools\atualizar-github.ps1: se a API do GitHub recusa (60 consultas/hora por IP sem login; CGNAT das operadoras estoura), lê a página pública: /releases/latest -> tag, /releases/expanded_assets/<tag> -> .zip e sha256. Erros mostram o código HTTP. Testado forçando a API a falhar (os dois acham build-21 com o SHA certo) e o download completo de 177 MB pelo código do instalador.Compilado (shell, ajustes, setup), instalado e conferido no PC (foto do Sobre). Nada no registro do Windows. DESFAZER: reverter o commit.++[2026-11-21 02:58] build.cmd roda tools\versao.ps1 em toda compilacao: bin\versao.txt = ultima build publicada no GitHub (gh), commit atual e data (sem gh/rede mantem a versao do arquivo). C:\Users\Public\copiar-inst.ps1 copia o versao.txt para a instalacao. Motivo: instalado era a build-22 e os Ajustes mostravam build-19. DESFAZER: reverter o commit.diff --git a/tools/versao.ps1 b/tools/versao.ps1new file mode 100644index 0000000..4894a18--- /dev/null+++ b/tools/versao.ps1@@ -0,0 +1,18 @@+# Writes bin\versao.txt on every build (build.cmd): line 1 the latest published version (build-N on GitHub),+# line 2 the commit compiled, line 3 the date. System Settings > Software Update and the update notice read it,+# so a PC that compiles and installs by hand no longer shows an old version (21/11/2026: build-22 installed,+# the label still said build-19). Without gh or the network it keeps the version already in the file.+$ErrorActionPreference = 'SilentlyContinue'+$root = Split-Path $PSScriptRoot -Parent+$f = Join-Path $root 'bin\versao.txt'+$tag = ''+if (Get-Command gh) {+ $tags = @(gh release list -R renzyxx/WacOS --limit 100 --json tagName --jq '.[].tagName' 2>$null)+ $n = @($tags | Where-Object { $_ -match '^build-(\d+)$' } | ForEach-Object { [int]($_ -replace '^build-', '') } | Measure-Object -Maximum).Maximum+ if ($n) { $tag = "build-$n" }+}+if (-not $tag -and (Test-Path $f)) { $tag = (@(Get-Content $f))[0].Trim() }+if (-not $tag) { exit 0 }+$sha = (git -C $root rev-parse HEAD 2>$null)+if ($sha) { $sha = $sha.Trim() } else { $sha = '' }+Set-Content -Encoding utf8 $f @($tag, $sha, (Get-Date -Format 'yyyy-MM-dd HH:mm'))