Skip to content

Commit

Permalink
Dmon updates (#21)
Browse files Browse the repository at this point in the history
* feat: Use theos to build the .deb

* feat: Update dmon itself

Fixes: #9

* feat: kill process w/ sysctl.h instead of killall

Not 100% sure this fixes all the problems.

* fix: Remove stale imports

* feat: Move theos to root of repo

* fix: Dmon package to allow self updates

- Updates for dmon itself happen within a sepreate launchdaemon process. We make sure that kernbypass is not prior to quiting dmon, as such bash & other shell work.
- Includes a few other minor code improvements

Fixes: #9

* chore: Bump version for future release

* fix: Resolve typo in setup script

Thanks to NPlumb for report

* docs: Update readme with latest changes
  • Loading branch information
clburlison committed Apr 25, 2023
1 parent ad38a93 commit 0a4fd48
Show file tree
Hide file tree
Showing 20 changed files with 243 additions and 424 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
config.json
releases
packages
*.ipa
*.deb
.env
Expand Down
File renamed without changes.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ A script is included to help with the initial configuration of a jailbroken devi
- [Getting started](#getting-started)
- [Testing](#testing)
- [Commonly asked questions](#commonly-asked-questions)
- [Why didn't you use Theos to build the deb](#why-didnt-you-use-theos-to-build-the-deb)
- [How do I stop it?](#how-can-i-stop-it)
- [How do I set up the webserver?](#how-do-i-setup-the-webserver)
- [Why did you reuse the existing `config.json`?](#why-did-you-reuse-the-existing-configjson)
Expand Down Expand Up @@ -136,14 +135,11 @@ Bonus items that are out of scope for this project.

## Commonly asked questions

### Why didn't you use Theos to build the deb?

I was expecting to add a few external compiled binaries and wanted to avoid reading the documentation. But, unfortunately, things changed, and I don't want to rewrite it.

### How can I stop it?!?!

1. Close Pokemon Go on the phone
2. ssh into the phone & unload the launch daemon
2. Open kernbypass UI on the phone and click **Disable** (maybe required...maybe not)
3. ssh into the phone & unload the launch daemon

```sh
ssh iphone
Expand All @@ -156,6 +152,7 @@ It is a flat structure. You can use Nginx, Apache, Caddy, Python, NodeJS, etc. Y

```sh
top_level_folder
├── dmon.deb
├── gc.deb
├── pogo.ipa
└── version.txt
Expand All @@ -164,6 +161,7 @@ top_level_folder
Your `version.txt` file should have the following text. Update the versions to match what is currently released.

```sh
dmon: 0.0.9
gc: 2.0.248
pogo: 0.265.0
```
Expand Down
311 changes: 0 additions & 311 deletions bin/dm.pl

This file was deleted.

17 changes: 0 additions & 17 deletions bin/package

This file was deleted.

2 changes: 1 addition & 1 deletion bin/setup
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ done
shift "$(($OPTIND -1))"

# If local copy of Pogo exists then install it now
if test -f "./pogo.ip"; then
if test -f "./pogo.ipa"; then
echo Installing Pogo
ideviceinstaller -i ./pogo.ipa
fi
Expand Down
6 changes: 0 additions & 6 deletions src/DEBIAN/postinst

This file was deleted.

Loading

0 comments on commit 0a4fd48

Please sign in to comment.