Installing
Releases are on the project’s GitHub releases page:
| File | What it is |
|---|---|
quitlock-<version>.apk | The phone app |
quitlock-<version>-linux-x86_64 | The command-line tool for Linux |
quitlock-<version>-windows-x86_64.exe | The command-line tool for Windows |
SHA256SUMS | Checksums of all of them |
- Check the downloads:
sha256sum -c SHA256SUMS --ignore-missing. Releasing shows how to check further, down to rebuilding a release from the source. - Put the CLI on your path, named
quitlock(quitlock.exeon Windows). On Linux:chmod +xit and move it to~/.local/bin/quitlock. - Get adb (Android’s platform tools) for setting the phone up. The CLI finds it on your path, or takes
--adb <path>. After setup, Linux needs no adb at all. - Linux only: let your user open the phone over USB.
quitlock setupoffers this when it is needed; on its own, runquitlock setup --udev. It shows a udev rule for/etc/udev/rules.d/70-quitlock.rulesand, if you agree, writes it withsudo. Unplug the phone and plug it in again afterwards.
You do not need to install the APK yourself: quitlock setup (or quitlock provision) installs it, and refuses a QuitLock APK that is not signed with the release key. It can also download the latest release itself, checked against its SHA256SUMS.
Then: Setting up a phone.