-
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
Merged
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
18fbe81
Delete ChangeWallpaper.vb
eltrevii 5a9a9d4
Delete RunSilent.vb
eltrevii fe19186
Delete compile.bat
eltrevii 45502cc
powershell wallpaper change + better method of hiding window: bye bye…
eltrevii b546412
powershell wallpaper change: bye bye exe
eltrevii 7878642
final change, adapting to exe removal and off.bat rename
eltrevii dd981e4
aborts if not admin
eltrevii be77c87
aborts if not admin
eltrevii c50d5d0
powershell wallpaper change: bye bye exes!
eltrevii 7360024
Update README.md
eltrevii 703d5e1
Update README.md
eltrevii 791b06d
mpv.conf to args (not tested yet)
eltrevii 20f5807
mpv.conf to args
eltrevii 3dc09ed
Delete mpv.conf
eltrevii 2b62f3c
Update and rename README.txt to README.md
eltrevii f8dc29a
add virus removal explanation
eltrevii b4edfb2
add vbs silent
eltrevii bb0f131
switch to wscript for no window
eltrevii 331812f
fixed dumb error (prep.bat) lol
eltrevii b8d92ee
run whether user is logged in or not - VERY IMPORTANT!
eltrevii 0f4076a
disable window dragging!
eltrevii 6bce226
no start /b because why
eltrevii 6f7b383
revert to start /b
eltrevii 9579bdf
update demo video
eltrevii 85b6e72
Update install.bat
eltrevii File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.