Skip to content

Commit b668a6b

Browse files
authored
Update AutoWall.au3
1 parent e96a771 commit b668a6b

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

src/AutoWall.au3

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Func onWinStart()
6363
Else
6464
FileWrite($file, "@echo off" & @CRLF)
6565
FileWrite($file, "cd " & '"' & @WorkingDir & "\tools\" & '"' & @CRLF)
66-
FileWrite($file, '"' & @WorkingDir & "\weebp\wp.exe" & '"' & " run " & "GoWebView.exe " & '"' & GUICtrlRead($inputPath) & '"' & @CRLF)
66+
FileWrite($file, '"' & @WorkingDir & "\weebp\wp.exe" & '"' & " run " & "webView.exe " & '"' & GUICtrlRead($inputPath) & '"' & @CRLF)
6767
FileWrite($file, "cd " & '"' & @WorkingDir & "\weebp\" & '"' & @CRLF)
6868
FileWrite($file, "wp add --wait --fullscreen --class webview")
6969
FileClose($file)
@@ -79,7 +79,7 @@ Func setwallpaper()
7979

8080
$oldwork = @WorkingDir
8181
$weebp = @WorkingDir & "\weebp\wp.exe "
82-
$webview = @WorkingDir & "\tools\GoWebView.exe"
82+
$webview = @WorkingDir & "\tools\webView.exe"
8383

8484
$inputUdf = GUICtrlRead($inputPath)
8585
If _WinAPI_UrlIs ($inputUdf)==0 Then
@@ -141,8 +141,8 @@ Func killAll()
141141
Until Not ProcessExists('wp.exe')
142142

143143
Do
144-
ProcessClose('GoWebView.exe')
145-
Until Not ProcessExists('GoWebView.exe')
144+
ProcessClose('webView.exe')
145+
Until Not ProcessExists('webView.exe')
146146

147147
Do
148148
ProcessClose('Win32WebViewHost.exe')
@@ -152,7 +152,3 @@ Func killAll()
152152
Run(@WorkingDir & "\weebp\wp.exe ls")
153153

154154
EndFunc ;==>killAll
155-
156-
157-
158-

0 commit comments

Comments
 (0)