diff --git a/README.md b/README.md index e92b468..2e5f50b 100644 --- a/README.md +++ b/README.md @@ -13,3 +13,7 @@ My use-case is especially having [Automagic](https://play.google.com/store/apps/ ## Installation As on Android (in my case Android 10) everything is sandboxed and the `/sdcard/` is mounted having a `noexec` flag it wasn't as easy to install as I thought. To get the binary to be executable I needed an Automagic workflow to write the file into the Automagic data dir (`/data/data/ch.gridvision.ppam.androidautomagic/...`) and make it executable. + +This is the flow to be imported into Automagic (click for XML): + +[![](flow_Install_Androcrypt.png)](flow_Install_Androcrypt.xml) diff --git a/flow_Install_Androcrypt.png b/flow_Install_Androcrypt.png new file mode 100644 index 0000000..042c5a0 Binary files /dev/null and b/flow_Install_Androcrypt.png differ diff --git a/flow_Install_Androcrypt.xml b/flow_Install_Androcrypt.xml new file mode 100644 index 0000000..bfda45b --- /dev/null +++ b/flow_Install_Androcrypt.xml @@ -0,0 +1,90 @@ + + + + true + Debug Dialog + + + true + Delete Files: /storage/emulated/0/Download/androcrypt_linux_arm.tar.gz + /storage/emulated/0/Download/androcrypt_linux_arm.tar.gz + true + + + true + Download URL: https://github.com/Luzifer/androcrypt/releases/download/{value}/androcrypt_linux_arm.tar.gz to /storage/emulated/0/Download + https://github.com/Luzifer/androcrypt/releases/download/{value}/androcrypt_linux_arm.tar.gz + /storage/emulated/0/Download + true + + + true + Execute Command: ./androcrypt --version in /data/data/ch.gridvision.ppam.androidautomagic/files/ + ./androcrypt --version + /data/data/ch.gridvision.ppam.androidautomagic/files/ + 300000 + stdout + stderr + exit_code + + + true + Execute Command: mv androcrypt_linux_arm androcrypt && chmod 0750 androcrypt in /data/data/ch.gridvision.ppam.androidautomagic/files/ + mv androcrypt_linux_arm androcrypt && chmod 0750 androcrypt + /data/data/ch.gridvision.ppam.androidautomagic/files/ + 300000 + stdout + stderr + exit_code + + + true + Execute Command: tar -xzf /storage/emulated/0/Download/androcrypt_linux_arm.tar.gz in /data/data/ch.gridvision.ppam.androidautomagic/files + tar -xzf /storage/emulated/0/Download/androcrypt_linux_arm.tar.gz + /data/data/ch.gridvision.ppam.androidautomagic/files + 300000 + stdout + stderr + exit_code + + + true + Input Dialog: Androcrypt version to fetch Multi-line text Version + Androcrypt version to fetch + TEXT + Version + + v0.1.0 + DEFAULT + DEFAULT + DEFAULT + false + 60000 + + false + false + false + false + false + + + Install Androcrypt + false + PARALLEL + + Input Dialog: Androcrypt version to fetch Multi-line text Version + Download URL: https://github.com/Luzifer/androcrypt/releases/download/{value}/androcrypt_linux_arm.tar.gz to /storage/emulated/0/Download + Execute Command: tar -xzf /storage/emulated/0/Download/androcrypt_linux_arm.tar.gz in /data/data/ch.gridvision.ppam.androidautomagic/files + Delete Files: /storage/emulated/0/Download/androcrypt_linux_arm.tar.gz + Execute Command: mv androcrypt_linux_arm androcrypt && chmod 0750 androcrypt in /data/data/ch.gridvision.ppam.androidautomagic/files/ + Debug Dialog + Execute Command: ./androcrypt --version in /data/data/ch.gridvision.ppam.androidautomagic/files/ + + + + + + + + + \ No newline at end of file