Skip to content

Commit

Permalink
Update AutoWall.au3
Browse files Browse the repository at this point in the history
  • Loading branch information
SegoCode authored Apr 18, 2021
1 parent 7fd6d39 commit 75bc04d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/AutoWall.au3
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ GUICtrlSendMsg($inputPath, $EM_SETCUEBANNER, False, "Browse and select video")
GUICtrlSetState($winStart, $GUI_DISABLE)

;Check updates
Run(@WorkingDir & "\tools\updater.exe","",@SW_HIDE)
Run(@WorkingDir & "\tools\updater.exe", "", @SW_HIDE)

While 1
$nMsg = GUIGetMsg()
Expand Down Expand Up @@ -77,12 +77,12 @@ Func setwallpaper()
$webview = @WorkingDir & "\tools\webView.exe"

$inputUdf = GUICtrlRead($inputPath)
If _WinAPI_UrlIs ($inputUdf)==0 Then
If _WinAPI_UrlIs($inputUdf) == 0 Then
killAll()
FileChangeDir(@WorkingDir & "\mpv\")
Run($weebp & "run mpv " & '"' & GUICtrlRead($inputPath) & '"' & " --loop=inf --player-operation-mode=pseudo-gui --force-window=yes --no-audio", "", @SW_HIDE)
Run($weebp & "add --wait --fullscreen --class mpv", "", @SW_HIDE)
Else
Else
If StringInStr(GUICtrlRead($inputPath), "steamcommunity.com") Then
$idSteam = StringSplit(GUICtrlRead($inputPath), "?id=", 1)
ShellExecute("https://steamworkshopdownloader.io/extension/embedded/" & $idSteam[2])
Expand Down

0 comments on commit 75bc04d

Please sign in to comment.