From 8b80096290d8978209ed2276b4ec828cf3b67931 Mon Sep 17 00:00:00 2001 From: Ken Sedgwick Date: Thu, 12 Dec 2024 11:38:43 -0800 Subject: [PATCH] android: misc fixes for android Closes: https://github.com/damus-io/notedeck/pull/568 Signed-off-by: William Casarin --- README.md | 4 ++-- crates/notedeck_chrome/Cargo.toml | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5efa87dc..84b73b07 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ $ rustup target add aarch64-linux-android To run on a real device, just type: ```bash -$ cargo apk run --release +$ cargo apk run --release -p notedeck_chrome ``` ## Android Emulator @@ -54,7 +54,7 @@ $ cargo apk run --release while the emulator is running, run: ```bash -cargo apk run --release +cargo apk run --release -p notedeck_chrome ``` The app should appear on the emulator diff --git a/crates/notedeck_chrome/Cargo.toml b/crates/notedeck_chrome/Cargo.toml index a4b0ab5b..10727d20 100644 --- a/crates/notedeck_chrome/Cargo.toml +++ b/crates/notedeck_chrome/Cargo.toml @@ -42,7 +42,6 @@ profiling = ["notedeck_columns/puffin"] android_logger = "0.11.1" android-activity = { version = "0.4", features = [ "native-activity" ] } winit = { version = "0.30.5", features = [ "android-native-activity" ] } -#winit = { git="https://github.com/rust-windowing/winit.git", rev = "2a58b785fed2a3746f7c7eebce95bce67ddfd27c", features = ["android-native-activity"] } [package.metadata.bundle] identifier = "com.damus.notedeck" @@ -67,7 +66,7 @@ name = "android.permission.READ_EXTERNAL_STORAGE" max_sdk_version = 18 [package.metadata.android.signing.release] -path = "damus.keystore" +path = "../../damus.keystore" keystore_password = "damuskeystore" [[package.metadata.android.uses_permission]]