This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param([string]$ApkFile) | |
# Acquire adb.exe/AdbWinApi.dll from Android SDK and copy them to the same directory | |
# Run with admin cmd to associate the script with APK files: | |
# assoc .apk=apkfile | |
# ftype apkfile=powershell.exe -File <path\to>\apkinst.ps1 "%1" | |
$ErrorActionPreference="Stop" | |
$AdbPath="$PSScriptRoot\adb.exe" |