Skip to content

Commit 8bce70d

Browse files
committed
1 parent 4dcf9f5 commit 8bce70d

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

bucket/webview2.json

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,15 @@
2727
"env_set": {
2828
"WEBVIEW2_BROWSER_EXECUTABLE_FOLDER": "$dir"
2929
},
30+
"installer": {
31+
"script": [
32+
"$path = \"$dir\\$([System.IO.Path]::GetFileNameWithoutExtension($fname))\"",
33+
"reg.exe add \"HKCU\\SOFTWARE\\Microsoft\\EdgeUpdate\\ClientState\\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}\" /v \"EBWebView\" /t \"REG_SZ\" /d \"$dir\" /f | Out-Null"
34+
]
35+
},
36+
"uninstaller": {
37+
"script": "reg.exe delete \"HKCU\\SOFTWARE\\Microsoft\\EdgeUpdate\\ClientState\\{F3017226-FE2A-4295-8BDF-00C3A9A7E4C5}\" /v \"EBWebView\" /f | Out-Null"
38+
},
3039
"checkver": {
3140
"url": "https://developer.microsoft.com/en-us/Microsoft-edge/webview2/",
3241
"script": [
@@ -58,4 +67,4 @@
5867
}
5968
}
6069
}
61-
}
70+
}

0 commit comments

Comments
 (0)