Compare commits

..

No commits in common. "71659092dc7deeb1606be9d0f1a89a9d17f0052b" and "66424aa9b1cdb400aa9bf511e34c9d0cd89dc487" have entirely different histories.

5 changed files with 0 additions and 56 deletions

View File

@ -1,2 +1 @@
app_cache/
gpapp_cache/

View File

@ -1,3 +0,0 @@
com.ministrycentered.PlanningCenter
com.groupme.android
com.brivo.pass

View File

@ -4,31 +4,3 @@ for i in $(cat apps); do
curl "$i" --max-redirs 999 -L -C - -o "app_cache/$output_name"
adb install "app_cache/$output_name"
done
mkdir -p gpapp_cache
for i in $(cat gpapps); do
apkeep -a "$i" ./gpapp_cache/
done
for i in $(ls gpapp_cache/ | grep xapk); do
# this is specific to planning center online
xapk_playground=$(mktemp)
rm $xapk_playground
mkdir $xapk_playground
cp gpapp_cache/$i $xapk_playground
cd $xapk_playground
mkdir out
unzip $i -d out
cd -
cd $xapk_playground/out
rm icon.png
rm manifest.json
adb install-multiple *
cd -
done
cd gpapp_cache
for i in $(ls | grep '\.apk'); do
adb install $i
done

View File

@ -1,7 +0,0 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
packages = [
pkgs.apkeep
];
}

17
misc.md
View File

@ -1,17 +0,0 @@
## cannot remove '/tmp/env-vars': Operation not permitted
If, when running nix-shell this happens:
```
coper:~/dot_testing/boxes/phone/init$ nvim shell.nix
coper:~/dot_testing/boxes/phone/init$ nix-shell
install: cannot remove '/tmp/env-vars': Operation not permitted
```
remove `/tmp/env-vars` (it's owned by root for some reason):
```
$ sudo rm /tmp/env-vars
```
Is there a fix for this?