darkfi 17865fa10e app: begin dividing code between long running bg runtime, and short lived fg for UI. Restarting works and the app is running an Android foreground service for the bg_runtime. Introduce GOD into main. 1 год назад
..
assets 2b49de9bcf rename bin/darkwallet/ to bin/app/ 1 год назад
bin 604f443fd1 chore: Update license header year 1 год назад
data 1a232e67ad chore: Fix python scripts shebang 1 год назад
gui e79ccad144 app: restore back the main app schema 1 год назад
java a1a32db8d8 app/android: add a ForegroundService so the app stays awake and doesn't get killed when in the background (disconnecting the p2p network) 1 год назад
pydrk 345f9cbb2b app: settings manager wip 1 год назад
release bc74f89d56 doc: p2p resource manager/metric channel scoring explanation 1 год назад
src 17865fa10e app: begin dividing code between long running bg runtime, and short lived fg for UI. Restarting works and the app is running an Android foreground service for the bg_runtime. Introduce GOD into main. 1 год назад
.gitignore 42cfd88de3 bin/app/Makefile: updated .gitignore 1 год назад
Cargo.lock c4f3b4eb11 chore: updated sled-overlay to new version 1 год назад
Cargo.toml a1a32db8d8 app/android: add a ForegroundService so the app stays awake and doesn't get killed when in the background (disconnecting the p2p network) 1 год назад
Dockerfile a1a32db8d8 app/android: add a ForegroundService so the app stays awake and doesn't get killed when in the background (disconnecting the p2p network) 1 год назад
Makefile a1a32db8d8 app/android: add a ForegroundService so the app stays awake and doesn't get killed when in the background (disconnecting the p2p network) 1 год назад
README.md 2b49de9bcf rename bin/darkwallet/ to bin/app/ 1 год назад
build.rs 604f443fd1 chore: Update license header year 1 год назад
echo.py 1a232e67ad chore: Fix python scripts shebang 1 год назад
quad.toml a1a32db8d8 app/android: add a ForegroundService so the app stays awake and doesn't get killed when in the background (disconnecting the p2p network) 1 год назад
rust-toolchain.toml 33d18f11dd app: migrate from nightly to stable toolchain 1 год назад

README.md

Unix (Linux/Mac)

Install rustup and cargo install cargo-limit, then run:

make

Windows

Install rustup and follow the instructions.

If you get the error "VCRUNTIME140.dll was not found", then install Microsoft Visual C++ Redistributable.

Android

Make sure you have podman installed. Then run:

# You only need to build the container once
podman build -t apk .

make android

To debug any issues, you can enter an interactive terminal using make cli.

To delete everything, run podman system reset.

Useful Dev Commands

This is just for devs. Users ignore this.

Debugging Missing Symbols

"hb_ft_font_create_referenced"

nm libharfbuzz_rs-5d6b743170eb0207.rlib | grep hb_ | less

Resolve Dependency Issues

cargo tree --target aarch64-linux-android --invert openssl-sys

Examine the APK

apktool d target/android-artifacts/release/apk/darkwallet.apk -o dw-apk