Skip to content

Commit

Permalink
chore: .exe
Browse files Browse the repository at this point in the history
  • Loading branch information
brian6932 committed Dec 4, 2023
1 parent f0bbc8b commit a24d785
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bucket/google-usb-driver.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"}",
"",
"Write-Host 'Installing driver...'",
"$null = Invoke-ExternalCommand pnputil -ArgumentList @('/add-driver', \"$dir/android_winusb.inf\", '/install') -RunAs -ContinueExitCodes @{ 3010 = 'A system reboot is required to finalize the installation.' }"
"$null = Invoke-ExternalCommand pnputil.exe -ArgumentList @('/add-driver', \"$dir/android_winusb.inf\", '/install') -RunAs -ContinueExitCodes @{ 3010 = 'A system reboot is required to finalize the installation.' }"
]
},
"uninstaller": {
Expand Down
4 changes: 2 additions & 2 deletions bucket/openzfs.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
"}",
"",
"Write-Host 'Installing driver...'",
"$null = Invoke-ExternalCommand pnputil -ArgumentList @('/add-driver', \"$dir\\OpenZFS.inf\", '/install') -RunAs -ContinueExitCodes @{ 3010 = 'A system reboot is required to finalize the installation.' }"
"$null = Invoke-ExternalCommand pnputil.exe -ArgumentList @('/add-driver', \"$dir\\OpenZFS.inf\", '/install') -RunAs -ContinueExitCodes @{ 3010 = 'A system reboot is required to finalize the installation.' }"
]
},
"uninstaller": {
"script": [
"if ($cmd -ne 'uninstall') { return }",
"$null = Invoke-ExternalCommand pnputil -ArgumentList @('/remove-device', 'ROOT\\OpenZFS\\0000') -RunAs -ContinueExitCodes @{ 3010 = 'A system reboot is required to finalize the uninstallation.' }",
"$null = Invoke-ExternalCommand pnputil.exe -ArgumentList @('/remove-device', 'ROOT\\OpenZFS\\0000') -RunAs -ContinueExitCodes @{ 3010 = 'A system reboot is required to finalize the uninstallation.' }",
"$null = pnputil.exe /delete-driver \"$dir\\OpenZFS.inf\" /uninstall",
"$null = sc.exe delete OpenZFS"
]
Expand Down
4 changes: 2 additions & 2 deletions bucket/winbtrfs.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"}",
"",
"Write-Host 'Installing driver...'",
"$null = Invoke-ExternalCommand pnputil -ArgumentList @('/add-driver', \"$dir/btrfs.inf\", '/install') -RunAs -ContinueExitCodes @{ 3010 = 'A system reboot is required to finalize the installation.' }"
"$null = Invoke-ExternalCommand pnputil.exe -ArgumentList @('/add-driver', \"$dir/btrfs.inf\", '/install') -RunAs -ContinueExitCodes @{ 3010 = 'A system reboot is required to finalize the installation.' }"
]
},
"post_install": [
Expand All @@ -34,7 +34,7 @@
"uninstaller": {
"script": [
"if ($cmd -ne 'uninstall') { return }",
"$null = Invoke-ExternalCommand pnputil -ArgumentList @('/remove-device', 'ROOT\\btrfs\\0000') -RunAs -ContinueExitCodes @{ 3010 = 'A system reboot is required to finalize the uninstallation.' }",
"$null = Invoke-ExternalCommand pnputil.exe -ArgumentList @('/remove-device', 'ROOT\\btrfs\\0000') -RunAs -ContinueExitCodes @{ 3010 = 'A system reboot is required to finalize the uninstallation.' }",
"$null = pnputil.exe /delete-driver \"$dir\\btrfs.inf\" /uninstall",
"$null = pnputil.exe /delete-driver \"$dir\\btrfs-vol.inf\" /uninstall",
"$null = sc.exe delete btrfs"
Expand Down

0 comments on commit a24d785

Please sign in to comment.