- Notifications
You must be signed in to change notification settings - Fork 14
kinda major update#16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
18fbe815a9a9d4fe1918645502ccb5464127878642dd981e4be77c87c50d5d07360024703d5e1791b06d20f58073dc09ed2b62f3cf8dc29ab4edfb2bb0f131331812fb8d92ee0f4076a6bce2266f7b3839579bdf85b6e72File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,8 +1,10 @@ | ||
| @echo off | ||
| if not "%1"=="am_admin" (powershell start -verb runas '%0' am_admin & exit /b) | ||
| SCHTASKS /CREATE /SC ONLOGON /TN "AUTOBLOOM" /TR "%~dp0src\RunSilent.exe" | ||
| SCHTASKS /CREATE /SC ONSTART /TN "AUTOBLOOM PREP" /TR "%~dp0src\off.bat" | ||
| SCHTASKS /CREATE /SC ONLOGON /TN "AUTOBLOOM" /TR "wscript '%~dp0src\silent.vbs' 'conhost cmd /c '%~dp0src\run.bat' ch'" | ||
| SCHTASKS /CREATE /SC ONSTART /TN "AUTOBLOOM PREP" /TR "wscript '%~dp0src\silent.vbs' 'conhost cmd /c '%~dp0src\prep.bat' '" /RU "SYSTEM" | ||
| powershell -Command "Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy RemoteSigned" | ||
| cls | ||
| echo AutoBloom has been installed! | ||
| timeout 3 >nul | ||
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
This file was deleted.
Uh oh!
There was an error while loading. Please reload this page.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| @echo off | ||
| set "_home=%~dp0" | ||
| cd /D "%_home%" | ||
| powershell -NoP .\wallpaper.ps1 "%_home%..\media\first.bmp" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,14 @@ | ||
| @echo off | ||
| set home=%~dp0 | ||
| cd /D "%~dp0" | ||
| cd ..\mpv | ||
| %home%ChangeWallpaper.exe %home%..\media\first.bmp | ||
| if not [%1]==[ch] (start conhost cmd /c "" "%~dpnx0" ch & exit) | ||
| powershell -NoP -W hidden ; exit | ||
| set "_home=%~dp0" | ||
| cd /D "%_home%" | ||
| powershell -NoP .\wallpaper.ps1 "%_home%..\media\first.bmp" | ||
| timeout 1 | ||
| start /B mpv %home%..\media\bloom.mp4 --no-osc --no-input-default-bindings --no-taskbar-progress | ||
| start /B ..\mpv\mpv ..\media\bloom.mp4 --no-osc --no-input-default-bindings --no-taskbar-progress --no-window-dragging ^ | ||
| --deband --hwdec=auto --no-border --cache=yes --demuxer-max-bytes=488281KiB --demuxer-readahead-secs=120 --autofit=100%% --player-operation-mode=pseudo-gui --input-ipc-server=\\.\pipe\mpvsocket --force-window=yes --volume=0 | ||
| cd ..\src | ||
| timeout 5 | ||
| %home%ChangeWallpaper.exe %home%..\media\last.bmp | ||
| timeout 2 | ||
| powershell -NoP .\wallpaper.ps1 "%_home%..\media\last.bmp" |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| Set objShell = WScript.CreateObject("WScript.Shell") | ||
| call objShell.Run(WScript.Arguments(0), 0, false) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| $imgPath = $args[0] | ||
| $code = @' | ||
| using System.Runtime.InteropServices; | ||
| namespace Win32{ | ||
| public class Wallpaper{ | ||
| [DllImport("user32.dll", CharSet=CharSet.Auto)] | ||
| static extern int SystemParametersInfo (int uAction , int uParam , string lpvParam , int fuWinIni) ; | ||
| public static void SetWallpaper(string thePath){ | ||
| SystemParametersInfo(20,0,thePath,3); | ||
| } | ||
| } | ||
| } | ||
| '@ | ||
| add-type $code | ||
| #Apply the Change on the system | ||
| [Win32.Wallpaper]::SetWallpaper($imgPath) |
Uh oh!
There was an error while loading. Please reload this page.