Skip to content

Commit a2bcdb7

Browse files
authored
Merge pull request #5 from versx/deploy-pogo
Deploy PoGo.ipa to Devices
2 parents f1c99ba + 0d9a280 commit a2bcdb7

12 files changed

Lines changed: 645 additions & 153 deletions

File tree

README.md

Lines changed: 32 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,16 @@ Reboot, grab a screenshot, running iOS versions, kill specific running processes
88
Retrieve a list of iOS versions running on devices for all machines or a specific one.
99
- `screen iPhone1, iPhone2`
1010
Take a screenshot of specific devices.
11+
- `reopen iPhone1,iPhone2`
12+
Send restart game request to device IP address.
1113
- `reboot iPhone1,iPhone2`
1214
Reboot specific devices.
1315
- `shutdown iPhone1,iPhone2`
1416
Shutdown specific devices.
17+
- `resign https://mega.nz/file/yS7C#Dsh0lZDkk 1.33.0b1 iPhone1,iPhone2`
18+
Download latest app, resign, and deploy to specified devices (leave blank or specify `All` for all devices connected to the machine)
19+
- `deploy iPhone1,iPhone2`
20+
Deploy latest already signed app from releases folder to specific devices.
1521
- `rm-pogo iPhone1,iPhone2`
1622
Removes Pokemon Go from specific devices.
1723
- `kill usbmuxd [machine_name]`
@@ -27,22 +33,25 @@ Reboot, grab a screenshot, running iOS versions, kill specific running processes
2733
### Prerequisites:
2834
__idevicediagnostics__
2935
1. `brew update`
30-
2. `brew uninstall --ignore-dependencies libimobiledevice`
31-
3. `brew uninstall --ignore-dependencies usbmuxd`
32-
4. `brew install --HEAD usbmuxd`
33-
5. `brew unlink usbmuxd`
34-
6. `brew link usbmuxd`
35-
7. `brew install --HEAD libimobiledevice`
36-
8. `brew unlink libimobiledevice && brew link libimobiledevice`
37-
9. `brew install --HEAD ideviceinstaller`
38-
10. `brew unlink ideviceinstaller && brew link ideviceinstaller`
39-
11. `sudo chmod -R 777 /var/db/lockdown/`
36+
1. `brew uninstall --ignore-dependencies libimobiledevice`
37+
1. `brew uninstall --ignore-dependencies usbmuxd`
38+
1. `brew install --HEAD usbmuxd`
39+
1. `brew unlink usbmuxd`
40+
1. `brew link usbmuxd`
41+
1. `brew install --HEAD libimobiledevice`
42+
1. `brew unlink libimobiledevice && brew link libimobiledevice`
43+
1. `brew install --HEAD ideviceinstaller`
44+
1. `brew unlink ideviceinstaller && brew link ideviceinstaller`
45+
1. `sudo chmod -R 777 /var/db/lockdown/`
4046

4147
__ios-deploy__
4248
If you have previously installed ios-deploy via npm, uninstall it:
4349
1. `sudo npm uninstall -g ios-deploy`
4450
Install ios-deploy via Homebrew by running:
45-
2. `brew install ios-deploy`
51+
1. `brew install ios-deploy`
52+
53+
__MegaTools__
54+
1. `brew install megatools`
4655

4756
### iPhoneController
4857
**Installation script:** (Run the following commands, fill out config, skip to Running section)
@@ -52,24 +61,23 @@ wget https://raw.githubusercontent.com/versx/iPhoneController/master/install.sh
5261

5362
**Manually:**
5463
1. `wget https://dotnetwebsite.azurewebsites.net/download/dotnet-core/scripts/v1/dotnet-install.sh && chmod +x dotnet-install.sh && ./dotnet-install.sh --version 2.1.803 && rm dotnet-install.sh`
55-
2. `git clone https://github.com/versx/iPhoneController`
56-
3. `cd iPhoneController`
57-
4. `~/.dotnet/dotnet build`
58-
5. `cp config.example.json bin/Debug/netcoreapp2.1/config.json`
59-
6. `cd bin/Debug/netcoreapp2.1`
60-
7. `nano config.json` / `vi config.json` (Fill out config)
61-
8. `~/.dotnet/dotnet iPhoneController.dll`
64+
1. `git clone https://github.com/versx/iPhoneController`
65+
1. `cd iPhoneController`
66+
1. `~/.dotnet/dotnet build`
67+
1. `cp config.example.json bin/config.json`
68+
1. `cd bin`
69+
1. `nano config.json` / `vi config.json` (Fill out config)
70+
1. `~/.dotnet/dotnet iPhoneController.dll`
6271

6372
## Updating
6473
1. `git pull` (from root of folder)
65-
2. `~/.dotnet/dotnet build`
66-
3. `cd bin/Debug/netcoreapp2.1`
67-
4. `~/.dotnet/dotnet iPhoneController.dll`
74+
1. `~/.dotnet/dotnet build`
75+
1. `cd bin`
76+
1. `~/.dotnet/dotnet iPhoneController.dll`
6877

6978
## Running
70-
From the `bin/debug/netcoreapp2.1` folder type the following:
79+
From the `bin` folder type the following:
7180
`~/.dotnet/dotnet iPhoneController.dll`
7281

7382
## TODO
74-
- Localization
75-
- Reinstall PoGo
83+
- Localization

config.example.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,8 @@
66
"ownerId": 0000000001,
77
"channelIds": [0000000001],
88
"commandPrefix": "!",
9-
"requiredRoles": [0000000001]
10-
}
9+
"requiredRoles": [0000000001],
10+
"pogoAppPath": "",
11+
"developer": "",
12+
"provisioningProfile": ""
13+
}

0 commit comments

Comments
 (0)