Skip to content

Commit

Permalink
Update Fire-Tools.ps1
Browse files Browse the repository at this point in the history
- Cleaned up UI
- Updated settings to reflect tree change
- Added gapps instruction popup
  • Loading branch information
mrhaydendp authored Aug 28, 2021
1 parent 89332cd commit c8ff70b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Fire-Tools/Fire-Tools.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -91,20 +91,21 @@ $Rebloat.Add_Click({
Write-Host "Successfully Enabled Bloat"
})

# Install Google services
# Install Google services and display intructions
$GoogleServices.Add_Click({
Write-Host "Installing Google Services"
$gapps = Get-ChildItem ..\Gapps\*.apk
$gapps = Get-ChildItem .\Gapps\*.apk
foreach ($array in $gapps) {
adb install $array
}
$split = Get-ChildItem ..\Gapps\*.apkm
$split = Get-ChildItem .\Gapps\*.apkm
foreach ($array in $split) {
adb push $array /sdcard/
}
adb shell monkey -p com.aefyr.sai 1
Write-Host 'When SAI opens tap on Install Apks then choose Internal file
picker and check the 2 .apkm files. Next click select then press install.'
$instructions = Get-Content '.\SAI Instructions.txt'
$wshell = New-Object -ComObject Wscript.Shell
$wshell.Popup("$instructions",0,"Done",0x0)
Write-Host "Successfully Installed Google Services"
})

Expand All @@ -126,7 +127,7 @@ $OTA.Add_Click({
# Batch install
$Batch.Add_Click({
Write-Host "Batch Installing Apps"
$custom = Get-ChildItem ..\Custom\*.apk
$custom = Get-ChildItem .\Custom\*.apk
foreach ($array in $custom) {
adb install $array
}
Expand Down

0 comments on commit c8ff70b

Please sign in to comment.