├── .github └── workflows │ └── release.yml ├── .gitignore ├── CODEOWNERS ├── README.md ├── install.bat ├── media ├── dark │ ├── bloom.mp4 │ ├── first.webp │ └── last.webp └── light │ ├── bloom.mp4 │ ├── first.webp │ └── last.webp ├── src ├── prep.bat ├── run.bat ├── silent.vbs └── wallpaper.ps1 └── uninstall.bat /.github/workflows/release.yml: -------------------------------------------------------------------------------- 1 | name: automated release 2 | 3 | on: 4 | workflow_dispatch: 5 | inputs: 6 | tag: 7 | required: true 8 | 9 | permissions: 10 | contents: write 11 | 12 | jobs: 13 | debug: 14 | name: debug ls 15 | runs-on: ubuntu-latest 16 | steps: 17 | - uses: actions/checkout@v4 18 | 19 | - name: debug - ls 20 | run: ls -l 21 | 22 | - name: debug - ls (recursive) 23 | run: ls -l -R 24 | 25 | release: 26 | name: create release 27 | runs-on: ubuntu-latest 28 | steps: 29 | - uses: actions/checkout@v4 30 | 31 | - name: download mpv 32 | run: | 33 | api=$(curl -s "https://api.github.com/repos/shinchiro/mpv-winbuild-cmake/releases/latest" | python -c "import sys, json; print(json.load(sys.stdin)['assets'][8]['browser_download_url'])") 34 | tag=v${{ github.event.inputs.tag }} 35 | echo "api url: $api" 36 | curl -sL "$api" -o mpv.7z 37 | 7z x mpv.7z -ompv/ 38 | rm CODEOWNERS mpv.7z .gitignore README.md mpv/updater.bat 39 | rm -r .git .github mpv/doc mpv/installer 40 | 41 | - name: create release 42 | env: 43 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 44 | tag: v${{ github.event.inputs.tag }} 45 | run: | 46 | zip -r autobloom.zip . 47 | echo "download autobloom from the 'autobloom.zip' file below" | gh release create "$tag" \ 48 | autobloom.zip \ 49 | --repo="$GITHUB_REPOSITORY" \ 50 | --title="autobloom ${tag}" \ 51 | -F - 52 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.exe 2 | *.dll 3 | *.com -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @willnode @eltrevii 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # AutoBloom 2 | 3 | Shows the Windows 11 Bloom animation after login (light mode only) 4 | 5 | https://github.com/eltrevii/autobloom/assets/59333567/daadcf8b-b594-4ee0-9040-7abdb97f800a 6 | 7 | ## Installation 8 | 9 | 1. Download at [releases page](https://github.com/willnode/autobloom/releases) 10 | 2. Run `install.bat` 11 | 3. Try rebooting or logging out 12 | 13 | AutoBloom uses scheduled tasks to run during startup. If you move the files, you have to uninstall it and reinstall it. It will not run with battery power, in order to change that you have to [disable only run in AC power by yourself](https://stackoverflow.com/questions/9075564/change-settings-for-power-for-windows-scheduled-task). 14 | To uninstall just run `uninstall.bat`. 15 | 16 | The program should not be detected as virus anymore, as it no longer contains compiled VB code. Check [this Virustotal scan](https://www.virustotal.com/gui/file/c4d0e098ca71db2645097d6535b41835e1ed09184bd608d4a326f42f6e3de775?nocache=1) from the [latest update](https://github.com/willnode/autobloom/pull/16). 17 | 18 | ## Credits 19 | 20 | Uses [mpv](https://mpv.io). 21 | 22 | All media contents belong to Microsoft. 23 | -------------------------------------------------------------------------------- /install.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b) 3 | 4 | rem echo Select theme: 5 | rem dir /b media 6 | rem echo. 7 | rem set /p "_theme=> " 8 | set "_theme=light" 9 | 10 | SCHTASKS /CREATE /SC ONLOGON /TN "AUTOBLOOM" /TR "wscript '%~dp0src\silent.vbs' 'conhost cmd /c '%~dp0src\run.bat' ch '%~dp0src\ ' %_theme% '" 11 | SCHTASKS /CREATE /SC ONSTART /TN "AUTOBLOOM PREP" /TR "wscript '%~dp0src\silent.vbs' 'conhost cmd /c '%~dp0src\prep.bat' '%~dp0src\ ' %_theme% '" /RU "SYSTEM" 12 | cls 13 | 14 | echo AutoBloom has been installed! 15 | 16 | timeout 3 >nul -------------------------------------------------------------------------------- /media/dark/bloom.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/willnode/autobloom/ee452e60ee1033d0bf4a9507cf519bcf53c3b11f/media/dark/bloom.mp4 -------------------------------------------------------------------------------- /media/dark/first.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/willnode/autobloom/ee452e60ee1033d0bf4a9507cf519bcf53c3b11f/media/dark/first.webp -------------------------------------------------------------------------------- /media/dark/last.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/willnode/autobloom/ee452e60ee1033d0bf4a9507cf519bcf53c3b11f/media/dark/last.webp -------------------------------------------------------------------------------- /media/light/bloom.mp4: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/willnode/autobloom/ee452e60ee1033d0bf4a9507cf519bcf53c3b11f/media/light/bloom.mp4 -------------------------------------------------------------------------------- /media/light/first.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/willnode/autobloom/ee452e60ee1033d0bf4a9507cf519bcf53c3b11f/media/light/first.webp -------------------------------------------------------------------------------- /media/light/last.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/willnode/autobloom/ee452e60ee1033d0bf4a9507cf519bcf53c3b11f/media/light/last.webp -------------------------------------------------------------------------------- /src/prep.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | set "_home=%~1" 3 | cd /D "%_home%" 4 | shift 5 | set "_theme=%~1" 6 | powershell -NoP -ExecutionPolicy UnRestricted .\wallpaper.ps1 "%_home%..\media\%_theme%\first.webp" 7 | -------------------------------------------------------------------------------- /src/run.bat: -------------------------------------------------------------------------------- 1 | rem @echo off 2 | if not [%1]==[ch] (start conhost cmd /c "" "%~dpnx0" ch & exit) 3 | shift 4 | set "_theme=%~2" 5 | powershell -NoP -W hidden ; exit 6 | set "_home=%~1" 7 | cd /D "%_home%" 8 | 9 | powershell -NoP -ExecutionPolicy UnRestricted .\wallpaper.ps1 "%_home%..\media\%_theme%\first.webp" 10 | 11 | timeout 1 12 | start /B ..\mpv\mpv ..\media\%_theme%\bloom.mp4 --volume=0 --geometry=-9999:0 --force-window=yes --no-window-dragging --cursor-autohide=no --stop-screensaver=no --input-default-bindings=no --keepaspect=no --no-osc --hwdec=no --no-config 13 | cd ..\src 14 | timeout 2 15 | powershell -NoP -ExecutionPolicy UnRestricted .\wallpaper.ps1 "%_home%..\media\%_theme%\last.webp" 16 | -------------------------------------------------------------------------------- /src/silent.vbs: -------------------------------------------------------------------------------- 1 | Set objShell = WScript.CreateObject("WScript.Shell") 2 | call objShell.Run(WScript.Arguments(0), 0, false) -------------------------------------------------------------------------------- /src/wallpaper.ps1: -------------------------------------------------------------------------------- 1 | $imgPath = $args[0] 2 | $code = @' 3 | using System.Runtime.InteropServices; 4 | namespace Win32{ 5 | 6 | public class Wallpaper{ 7 | [DllImport("user32.dll", CharSet=CharSet.Auto)] 8 | static extern int SystemParametersInfo (int uAction , int uParam , string lpvParam , int fuWinIni) ; 9 | 10 | public static void SetWallpaper(string thePath){ 11 | SystemParametersInfo(20,0,thePath,3); 12 | } 13 | } 14 | } 15 | '@ 16 | 17 | add-type $code 18 | 19 | #Apply the Change on the system 20 | [Win32.Wallpaper]::SetWallpaper($imgPath) -------------------------------------------------------------------------------- /uninstall.bat: -------------------------------------------------------------------------------- 1 | @echo off 2 | if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b) 3 | dism || exit 4 | SCHTASKS /DELETE /TN "AUTOBLOOM" /f 5 | SCHTASKS /DELETE /TN "AUTOBLOOM PREP" /f 6 | cls 7 | 8 | echo AutoBloom has been removed. 9 | timeout 3 >nul 10 | --------------------------------------------------------------------------------