diff options
| author | Adam Soltys <[email protected]> | 2026-10-05 22:35:56 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-10-05 22:35:56 -0700 |
| commit | f571e46937d423d9ba44154a92aeb4136466daaa (patch) | |
| tree | 658553eb48d4d85e632499f6711eda76071c9ba1 /android/app | |
| parent | a08f48d67ad61eba5077fdb1a01d19fe5eea0fdb (diff) | |
| download | coinosv3-f571e46937d423d9ba44154a92aeb4136466daaa.tar.gz coinosv3-f571e46937d423d9ba44154a92aeb4136466daaa.zip | |
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 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YRC6aKhwAud231ot9FPmhi
Diffstat (limited to 'android/app')
| -rw-r--r-- | android/app/build.gradle | 4 | ||||
| -rw-r--r-- | android/app/src/webview/java/io/coinos/app/Assets.java | 2 |
2 files changed, 3 insertions, 3 deletions
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<String, String> MIME = new HashMap<>(); static { MIME.put("html", "text/html"); |
