From f571e46937d423d9ba44154a92aeb4136466daaa Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 5 Oct 2026 22:35:56 -0700 Subject: README rewritten for today's coinos v3; build switches are COINOS_* (HAL_* still accepted); silent-payment leftovers removed Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01YRC6aKhwAud231ot9FPmhi --- android/app/build.gradle | 4 ++-- android/app/src/webview/java/io/coinos/app/Assets.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'android') diff --git a/android/app/build.gradle b/android/app/build.gradle index 928f12d..3dc6caf 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -9,14 +9,14 @@ if (keystoreFile.exists()) keystoreProps.load(new FileInputStream(keystoreFile)) def signRelease = keystoreFile.exists() && System.getenv('COINOS_UNSIGNED') == null // The bundled shell carries the built web app as assets. It is copied from -// ../dist, which the web build produces first: HAL_NO_SW=1 bun run build +// ../dist, which the web build produces first: COINOS_NO_SW=1 bun run build // (the service worker is left out — inside the WebView the app is served // from these assets, and a worker would fetch the live site over it). tasks.register('copyWeb', Copy) { def dist = rootProject.file('../dist') // the repo root's dist, not the module's doFirst { if (!new File(dist, 'index.html').exists()) - throw new GradleException('build the web app first: HAL_NO_SW=1 bun run build (in the repo root)') + throw new GradleException('build the web app first: COINOS_NO_SW=1 bun run build (in the repo root)') } from(dist) { exclude '*.apk', 'standalone.html', 'sw.js', 'zmq-watcher.js' } into layout.buildDirectory.dir('www') diff --git a/android/app/src/webview/java/io/coinos/app/Assets.java b/android/app/src/webview/java/io/coinos/app/Assets.java index b946500..9e4f909 100644 --- a/android/app/src/webview/java/io/coinos/app/Assets.java +++ b/android/app/src/webview/java/io/coinos/app/Assets.java @@ -32,7 +32,7 @@ final class Assets { private Assets() {} static final String HOST = "v3.coinos.io"; - private static final String[] LIVE = { "/electrum", "/esplora/", "/sp/", "/lnurlp/", "/.well-known/", "/api/" }; + private static final String[] LIVE = { "/electrum", "/esplora/", "/lnurlp/", "/.well-known/", "/api/" }; private static final Map MIME = new HashMap<>(); static { MIME.put("html", "text/html"); -- cgit v1.2.3