Skip to content

Commit c587b4d

Browse files
authored
Update AutoWall.au3
1 parent cdbf0cb commit c587b4d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AutoWall.au3

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ Func onWinStart()
7777
EndFunc ;==>onWinStart
7878

7979
Func setwallpaper()
80-
GUICtrlSetState($winStart, $GUI_UNCHECKED)
8180
$oldwork = @WorkingDir
8281
$weebp = @WorkingDir & "\weebp\wp.exe "
8382
$webview = @WorkingDir & "\tools\webView.exe"
@@ -88,10 +87,11 @@ Func setwallpaper()
8887
FileChangeDir(@WorkingDir & "\mpv\")
8988
Run($weebp & "run mpv " & '"' & GUICtrlRead($inputPath) & '"' & " --loop=inf --player-operation-mode=pseudo-gui --force-window=yes --no-audio")
9089
Run($weebp & "add --wait --fullscreen --class mpv")
91-
Else
90+
Else
9291
If StringInStr(GUICtrlRead($inputPath), "steamcommunity.com") Then
9392
$idSteam = StringSplit(GUICtrlRead($inputPath), "?id=", 1)
9493
ShellExecute("https://steamworkshopdownloader.io/extension/embedded/" & $idSteam[2])
94+
GUICtrlSetState($winStart, $GUI_UNCHECKED)
9595
GUICtrlSetState($winStart, $GUI_DISABLE)
9696
GUICtrlSetData($inputPath, "")
9797
MsgBox($MB_TOPMOST, "Download from workshop", "The download has been started in your browser, if the downloaded zip contains an .mp4 file, extract it in 'VideosHere' folder.")

0 commit comments

Comments
 (0)