Compare commits
8
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6084ea547b | ||
|
|
b2ab5d05ae | ||
|
|
477339273d | ||
|
|
341b340683 | ||
|
|
3dea8b7233 | ||
|
|
df906829d9 | ||
|
|
b945252c5c | ||
|
|
7d2bd40c73 |
No files matched your search
@@ -93,6 +93,10 @@ jobs:
|
||||
timeout-minutes: 20
|
||||
run: python3 .github/scripts/install-android-sdk.py
|
||||
|
||||
- name: Install Android build dependencies
|
||||
timeout-minutes: 15
|
||||
run: .github/scripts/install-apt-packages.sh .github/apt/android-packages.txt
|
||||
|
||||
- name: Prepare Android signing key
|
||||
env:
|
||||
KEYSTORE_BASE64: ${{ secrets.KEYSTORE_BASE64 }}
|
||||
@@ -117,6 +121,18 @@ jobs:
|
||||
SOURCE_COMMIT: ${{ inputs.source_commit }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
python3 - <<'PY'
|
||||
import importlib.util
|
||||
import os
|
||||
import subprocess
|
||||
from pathlib import Path
|
||||
spec = importlib.util.spec_from_file_location('phone_check', 'scripts/phone-check.py')
|
||||
check = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(check)
|
||||
revision = os.environ['SOURCE_COMMIT']
|
||||
assert subprocess.check_output(['git', 'rev-parse', 'HEAD'], text=True).strip() == revision
|
||||
assert check.app_tree(Path.cwd()) == check.app_tree(Path.cwd(), revision), 'App source differs from candidate'
|
||||
PY
|
||||
./droid/gradlew -p droid assembleRelease \
|
||||
-Papp.onlyAbi=armeabi-v7a \
|
||||
-Pkeystore.path="$HOME/.android/inbe-release.keystore" \
|
||||
@@ -132,6 +148,26 @@ jobs:
|
||||
cd build/release/moto
|
||||
sha256sum "inbe-$VERSION-moto.apk" > "inbe-$VERSION-moto.apk.sha256"
|
||||
)
|
||||
python3 - <<'PY'
|
||||
import hashlib
|
||||
import importlib.util
|
||||
import json
|
||||
import os
|
||||
from pathlib import Path
|
||||
spec = importlib.util.spec_from_file_location('phone_check', 'scripts/phone-check.py')
|
||||
check = importlib.util.module_from_spec(spec)
|
||||
spec.loader.exec_module(check)
|
||||
root = Path.cwd()
|
||||
revision = os.environ['SOURCE_COMMIT']
|
||||
content = check.app_tree(root, revision)
|
||||
assert check.app_tree(root) == content, 'App source changed during build'
|
||||
apk = next(Path('build/release/moto').glob('inbe-*-moto.apk'))
|
||||
receipt = dict(schema=1, status='passed', source_commit=revision, app_tree=content,
|
||||
apk=dict(sha256=hashlib.sha256(apk.read_bytes()).hexdigest(), **check.apk_identity(apk)),
|
||||
workflow_run=os.environ['GITHUB_SERVER_URL'] + '/' + os.environ['GITHUB_REPOSITORY'] +
|
||||
'/actions/runs/' + os.environ['GITHUB_RUN_ID'])
|
||||
(apk.parent / 'build-receipt.json').write_text(json.dumps(receipt, indent=2) + '\n')
|
||||
PY
|
||||
|
||||
- name: Remove signing key
|
||||
if: always()
|
||||
|
||||
@@ -1,5 +1,11 @@
|
||||
# Changelog
|
||||
|
||||
## [2.1.58] - 2026-10-28
|
||||
|
||||
- Keep downloaded Arcade games and saved progress across updates.
|
||||
- Show premium username prices, confirm Dew purchases and open top-up when needed. Existing usernames stay free to keep.
|
||||
- Align Profile leaderboard columns and improve Friends input, profile pictures and app rearranging.
|
||||
|
||||
## [2.1.56] - 2026-10-28
|
||||
|
||||
- Open the keyboard when editing an account alias and copy the complete public ID from Profile.
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## [1.3.22] - 2026-10-28
|
||||
|
||||
- Maintenance release for Inner Breeze 2.1.58.
|
||||
|
||||
## [1.3.21] - 2026-10-28
|
||||
|
||||
- Open each day’s photos from a gallery icon, attach photos with the paperclip, and keep the entry’s layout steady while browsing its gallery.
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## [1.3.12] - 2026-10-28
|
||||
|
||||
- Maintenance release for Inner Breeze 2.1.58.
|
||||
|
||||
## [1.3.11] - 2026-10-28
|
||||
|
||||
- Maintenance release for Inner Breeze 2.1.56.
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## [2.1.59] - 2026-10-28
|
||||
|
||||
- Bring Lumi 1.5.24, Habits 1.3.12, Practices 1.6.6, Lists 1.1.25, Diary 1.3.22 and Leaderboard 1.0.26 for Inner Breeze 2.1.58.
|
||||
|
||||
## [2.1.58] - 2026-10-28
|
||||
|
||||
- Bring Diary’s separate day gallery and attachment toolbar.
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## [1.0.26] - 2026-10-28
|
||||
|
||||
- Maintenance release for Inner Breeze 2.1.58.
|
||||
|
||||
## [1.0.25] - 2026-10-28
|
||||
|
||||
- Open the shared Profile leaderboard with practice, puzzle and Apfelwurm score and level rankings.
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## [1.1.25] - 2026-10-28
|
||||
|
||||
- Maintenance release for Inner Breeze 2.1.58.
|
||||
|
||||
## [1.1.24] - 2026-10-28
|
||||
|
||||
- Maintenance release for Inner Breeze 2.1.56.
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## [1.5.24] - 2026-10-28
|
||||
|
||||
- Maintenance release for Inner Breeze 2.1.58.
|
||||
|
||||
## [1.5.23] - 2026-10-28
|
||||
|
||||
- Maintenance release for Inner Breeze 2.1.56.
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
## [1.6.6] - 2026-10-28
|
||||
|
||||
- Maintenance release for Inner Breeze 2.1.58.
|
||||
|
||||
## [1.6.5] - 2026-10-28
|
||||
|
||||
- Maintenance release for Inner Breeze 2.1.56.
|
||||
|
||||
+21
-21
@@ -6,61 +6,61 @@
|
||||
"apps": {
|
||||
"inbe": {
|
||||
"id": "inbe",
|
||||
"version": "2.1.58",
|
||||
"sequence": 55,
|
||||
"version": "2.1.59",
|
||||
"sequence": 56,
|
||||
"bundled": true,
|
||||
"host_api": 40,
|
||||
"release": "2.1.56"
|
||||
"release": "2.1.58"
|
||||
},
|
||||
"habits": {
|
||||
"id": "inbe.habits",
|
||||
"version": "1.3.11",
|
||||
"sequence": 34,
|
||||
"version": "1.3.12",
|
||||
"sequence": 35,
|
||||
"bundled": true,
|
||||
"host_api": 38,
|
||||
"oldest_host_api": 30,
|
||||
"release": "2.1.56"
|
||||
"release": "2.1.58"
|
||||
},
|
||||
"practices": {
|
||||
"id": "inbe.practices",
|
||||
"version": "1.6.5",
|
||||
"sequence": 34,
|
||||
"version": "1.6.6",
|
||||
"sequence": 35,
|
||||
"bundled": true,
|
||||
"host_api": 37,
|
||||
"oldest_host_api": 31,
|
||||
"release": "2.1.56"
|
||||
"release": "2.1.58"
|
||||
},
|
||||
"lists": {
|
||||
"id": "inbe.lists",
|
||||
"version": "1.1.24",
|
||||
"sequence": 32,
|
||||
"version": "1.1.25",
|
||||
"sequence": 33,
|
||||
"bundled": true,
|
||||
"host_api": 27,
|
||||
"release": "2.1.56"
|
||||
"release": "2.1.58"
|
||||
},
|
||||
"diary": {
|
||||
"id": "inbe.diary",
|
||||
"version": "1.3.21",
|
||||
"sequence": 38,
|
||||
"version": "1.3.22",
|
||||
"sequence": 39,
|
||||
"bundled": true,
|
||||
"host_api": 21,
|
||||
"release": "2.1.56"
|
||||
"release": "2.1.58"
|
||||
},
|
||||
"lumi": {
|
||||
"id": "inbe.lumi",
|
||||
"version": "1.5.23",
|
||||
"sequence": 41,
|
||||
"version": "1.5.24",
|
||||
"sequence": 42,
|
||||
"bundled": true,
|
||||
"host_api": 20,
|
||||
"release": "2.1.56"
|
||||
"release": "2.1.58"
|
||||
},
|
||||
"leaderboard": {
|
||||
"id": "inbe.leaderboard",
|
||||
"version": "1.0.25",
|
||||
"sequence": 26,
|
||||
"version": "1.0.26",
|
||||
"sequence": 27,
|
||||
"bundled": true,
|
||||
"host_api": 40,
|
||||
"release": "2.1.56",
|
||||
"release": "2.1.58",
|
||||
"oldest_host_api": 40
|
||||
}
|
||||
},
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -69,8 +69,8 @@ android {
|
||||
minSdk 21
|
||||
targetSdk 36
|
||||
testInstrumentationRunner "android.test.InstrumentationTestRunner"
|
||||
versionCode 193
|
||||
versionName "2.1.56"
|
||||
versionCode 195
|
||||
versionName "2.1.58"
|
||||
manifestPlaceholders = [
|
||||
inbeAppLabel: "Inner Breeze",
|
||||
inbeUsesCleartextTraffic: "false"
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
- Keep downloaded Arcade games and saved progress across updates.
|
||||
- Show premium username prices, confirm Dew purchases and open top-up when needed. Existing usernames stay free to keep.
|
||||
- Align Profile leaderboard columns and improve Friends input, profile pictures and app rearranging.
|
||||
@@ -7541,3 +7541,55 @@ Otevírání aplikací
|
||||
[leaderboard_refresh_failed]
|
||||
Žebříček se nepodařilo aktualizovat.
|
||||
---
|
||||
|
||||
[sync_alias_pending]
|
||||
Nákup uživatelského jména je třeba zopakovat.
|
||||
---
|
||||
|
||||
[sync_alias_retry]
|
||||
Zkontrolovat čekající nákup
|
||||
---
|
||||
|
||||
[sync_alias_current]
|
||||
Toto je vaše současné uživatelské jméno. Jeho ponechání je zdarma.
|
||||
---
|
||||
|
||||
[sync_alias_taken]
|
||||
Toto uživatelské jméno je již obsazené.
|
||||
---
|
||||
|
||||
[sync_alias_premium_available]
|
||||
Prémiové uživatelské jméno je dostupné
|
||||
---
|
||||
|
||||
[sync_alias_buy]
|
||||
Koupit uživatelské jméno
|
||||
---
|
||||
|
||||
[sync_alias_free]
|
||||
Dostupné zdarma
|
||||
---
|
||||
|
||||
[sync_alias_check]
|
||||
Ověřit dostupnost
|
||||
---
|
||||
|
||||
[sync_alias_checking]
|
||||
Ověřování dostupnosti…
|
||||
---
|
||||
|
||||
[sync_alias_premium]
|
||||
Prémiové uživatelské jméno
|
||||
---
|
||||
|
||||
[sync_alias_once]
|
||||
Jednorázový nákup. Vaše uživatelské jméno se změní až po potvrzení uzlem.
|
||||
---
|
||||
|
||||
[sync_alias_insufficient]
|
||||
Nemáte dost Dew. Doplňte zůstatek a poté se vraťte potvrdit nákup.
|
||||
---
|
||||
|
||||
[launcher_move_app]
|
||||
Přesunout aplikaci
|
||||
---
|
||||
@@ -7535,3 +7535,55 @@ Apps werden geöffnet
|
||||
[leaderboard_refresh_failed]
|
||||
Die Rangliste konnte nicht aktualisiert werden.
|
||||
---
|
||||
|
||||
[sync_alias_pending]
|
||||
Der Kauf eines Benutzernamens muss erneut versucht werden.
|
||||
---
|
||||
|
||||
[sync_alias_retry]
|
||||
Ausstehenden Kauf prüfen
|
||||
---
|
||||
|
||||
[sync_alias_current]
|
||||
Dies ist dein aktueller Benutzername. Du kannst ihn kostenlos behalten.
|
||||
---
|
||||
|
||||
[sync_alias_taken]
|
||||
Dieser Benutzername ist bereits vergeben.
|
||||
---
|
||||
|
||||
[sync_alias_premium_available]
|
||||
Premium-Benutzername verfügbar
|
||||
---
|
||||
|
||||
[sync_alias_buy]
|
||||
Benutzernamen kaufen
|
||||
---
|
||||
|
||||
[sync_alias_free]
|
||||
Kostenlos verfügbar
|
||||
---
|
||||
|
||||
[sync_alias_check]
|
||||
Verfügbarkeit prüfen
|
||||
---
|
||||
|
||||
[sync_alias_checking]
|
||||
Verfügbarkeit wird geprüft…
|
||||
---
|
||||
|
||||
[sync_alias_premium]
|
||||
Premium-Benutzername
|
||||
---
|
||||
|
||||
[sync_alias_once]
|
||||
Einmaliger Kauf. Dein Benutzername ändert sich erst nach der Bestätigung durch den Knoten.
|
||||
---
|
||||
|
||||
[sync_alias_insufficient]
|
||||
Nicht genug Dew. Lade dein Guthaben auf und kehre zurück, um den Kauf zu bestätigen.
|
||||
---
|
||||
|
||||
[launcher_move_app]
|
||||
App verschieben
|
||||
---
|
||||
@@ -7559,3 +7559,55 @@ Opening apps
|
||||
[leaderboard_refresh_failed]
|
||||
Could not refresh the leaderboard.
|
||||
---
|
||||
|
||||
[sync_alias_pending]
|
||||
A username purchase needs a retry.
|
||||
---
|
||||
|
||||
[sync_alias_retry]
|
||||
Review pending purchase
|
||||
---
|
||||
|
||||
[sync_alias_current]
|
||||
This is your current username. Keeping it is free.
|
||||
---
|
||||
|
||||
[sync_alias_taken]
|
||||
That username is already taken.
|
||||
---
|
||||
|
||||
[sync_alias_premium_available]
|
||||
Premium username available
|
||||
---
|
||||
|
||||
[sync_alias_buy]
|
||||
Buy username
|
||||
---
|
||||
|
||||
[sync_alias_free]
|
||||
Available for free
|
||||
---
|
||||
|
||||
[sync_alias_check]
|
||||
Check availability
|
||||
---
|
||||
|
||||
[sync_alias_checking]
|
||||
Checking availability…
|
||||
---
|
||||
|
||||
[sync_alias_premium]
|
||||
Premium username
|
||||
---
|
||||
|
||||
[sync_alias_once]
|
||||
One-time purchase. Your current username changes only after the node confirms.
|
||||
---
|
||||
|
||||
[sync_alias_insufficient]
|
||||
Not enough Dew. Top up, then return to confirm the purchase.
|
||||
---
|
||||
|
||||
[launcher_move_app]
|
||||
Move app
|
||||
---
|
||||
@@ -7535,3 +7535,55 @@ Abriendo aplicaciones
|
||||
[leaderboard_refresh_failed]
|
||||
No se pudo actualizar la clasificación.
|
||||
---
|
||||
|
||||
[sync_alias_pending]
|
||||
Hay que reintentar la compra de un nombre de usuario.
|
||||
---
|
||||
|
||||
[sync_alias_retry]
|
||||
Revisar compra pendiente
|
||||
---
|
||||
|
||||
[sync_alias_current]
|
||||
Este es tu nombre de usuario actual. Conservarlo es gratis.
|
||||
---
|
||||
|
||||
[sync_alias_taken]
|
||||
Ese nombre de usuario ya está ocupado.
|
||||
---
|
||||
|
||||
[sync_alias_premium_available]
|
||||
Nombre de usuario prémium disponible
|
||||
---
|
||||
|
||||
[sync_alias_buy]
|
||||
Comprar nombre de usuario
|
||||
---
|
||||
|
||||
[sync_alias_free]
|
||||
Disponible gratis
|
||||
---
|
||||
|
||||
[sync_alias_check]
|
||||
Comprobar disponibilidad
|
||||
---
|
||||
|
||||
[sync_alias_checking]
|
||||
Comprobando disponibilidad…
|
||||
---
|
||||
|
||||
[sync_alias_premium]
|
||||
Nombre de usuario prémium
|
||||
---
|
||||
|
||||
[sync_alias_once]
|
||||
Compra única. Tu nombre de usuario solo cambia cuando el nodo lo confirma.
|
||||
---
|
||||
|
||||
[sync_alias_insufficient]
|
||||
No tienes suficiente Dew. Recarga y vuelve para confirmar la compra.
|
||||
---
|
||||
|
||||
[launcher_move_app]
|
||||
Mover aplicación
|
||||
---
|
||||
@@ -7523,3 +7523,55 @@ Ouverture des applications
|
||||
[leaderboard_refresh_failed]
|
||||
Impossible de mettre à jour le classement.
|
||||
---
|
||||
|
||||
[sync_alias_pending]
|
||||
Un achat de nom d’utilisateur doit être réessayé.
|
||||
---
|
||||
|
||||
[sync_alias_retry]
|
||||
Vérifier l’achat en attente
|
||||
---
|
||||
|
||||
[sync_alias_current]
|
||||
C’est votre nom d’utilisateur actuel. Le conserver est gratuit.
|
||||
---
|
||||
|
||||
[sync_alias_taken]
|
||||
Ce nom d’utilisateur est déjà pris.
|
||||
---
|
||||
|
||||
[sync_alias_premium_available]
|
||||
Nom d’utilisateur premium disponible
|
||||
---
|
||||
|
||||
[sync_alias_buy]
|
||||
Acheter le nom d’utilisateur
|
||||
---
|
||||
|
||||
[sync_alias_free]
|
||||
Disponible gratuitement
|
||||
---
|
||||
|
||||
[sync_alias_check]
|
||||
Vérifier la disponibilité
|
||||
---
|
||||
|
||||
[sync_alias_checking]
|
||||
Vérification de la disponibilité…
|
||||
---
|
||||
|
||||
[sync_alias_premium]
|
||||
Nom d’utilisateur premium
|
||||
---
|
||||
|
||||
[sync_alias_once]
|
||||
Achat unique. Votre nom d’utilisateur ne change qu’après confirmation du nœud.
|
||||
---
|
||||
|
||||
[sync_alias_insufficient]
|
||||
Pas assez de Dew. Rechargez votre solde, puis revenez confirmer l’achat.
|
||||
---
|
||||
|
||||
[launcher_move_app]
|
||||
Déplacer l’application
|
||||
---
|
||||
@@ -7524,3 +7524,55 @@ Membuka aplikasi-aplikasi
|
||||
[leaderboard_refresh_failed]
|
||||
Papan peringkat tidak dapat diperbarui.
|
||||
---
|
||||
|
||||
[sync_alias_pending]
|
||||
Pembelian nama pengguna perlu dicoba lagi.
|
||||
---
|
||||
|
||||
[sync_alias_retry]
|
||||
Tinjau pembelian tertunda
|
||||
---
|
||||
|
||||
[sync_alias_current]
|
||||
Ini nama pengguna Anda saat ini. Tetap menggunakannya gratis.
|
||||
---
|
||||
|
||||
[sync_alias_taken]
|
||||
Nama pengguna itu sudah dipakai.
|
||||
---
|
||||
|
||||
[sync_alias_premium_available]
|
||||
Nama pengguna premium tersedia
|
||||
---
|
||||
|
||||
[sync_alias_buy]
|
||||
Beli nama pengguna
|
||||
---
|
||||
|
||||
[sync_alias_free]
|
||||
Tersedia gratis
|
||||
---
|
||||
|
||||
[sync_alias_check]
|
||||
Periksa ketersediaan
|
||||
---
|
||||
|
||||
[sync_alias_checking]
|
||||
Memeriksa ketersediaan…
|
||||
---
|
||||
|
||||
[sync_alias_premium]
|
||||
Nama pengguna premium
|
||||
---
|
||||
|
||||
[sync_alias_once]
|
||||
Pembelian satu kali. Nama pengguna Anda hanya berubah setelah dikonfirmasi oleh node.
|
||||
---
|
||||
|
||||
[sync_alias_insufficient]
|
||||
Dew tidak cukup. Isi saldo, lalu kembali untuk mengonfirmasi pembelian.
|
||||
---
|
||||
|
||||
[launcher_move_app]
|
||||
Pindahkan aplikasi
|
||||
---
|
||||
@@ -7524,3 +7524,55 @@ Apertura delle app
|
||||
[leaderboard_refresh_failed]
|
||||
Impossibile aggiornare la classifica.
|
||||
---
|
||||
|
||||
[sync_alias_pending]
|
||||
L’acquisto di un nome utente deve essere riprovato.
|
||||
---
|
||||
|
||||
[sync_alias_retry]
|
||||
Controlla l’acquisto in sospeso
|
||||
---
|
||||
|
||||
[sync_alias_current]
|
||||
Questo è il tuo nome utente attuale. Mantenerlo è gratuito.
|
||||
---
|
||||
|
||||
[sync_alias_taken]
|
||||
Questo nome utente è già occupato.
|
||||
---
|
||||
|
||||
[sync_alias_premium_available]
|
||||
Nome utente premium disponibile
|
||||
---
|
||||
|
||||
[sync_alias_buy]
|
||||
Acquista nome utente
|
||||
---
|
||||
|
||||
[sync_alias_free]
|
||||
Disponibile gratuitamente
|
||||
---
|
||||
|
||||
[sync_alias_check]
|
||||
Verifica disponibilità
|
||||
---
|
||||
|
||||
[sync_alias_checking]
|
||||
Verifica della disponibilità…
|
||||
---
|
||||
|
||||
[sync_alias_premium]
|
||||
Nome utente premium
|
||||
---
|
||||
|
||||
[sync_alias_once]
|
||||
Acquisto unico. Il tuo nome utente cambia solo dopo la conferma del nodo.
|
||||
---
|
||||
|
||||
[sync_alias_insufficient]
|
||||
Dew insufficienti. Ricarica il saldo, poi torna per confermare l’acquisto.
|
||||
---
|
||||
|
||||
[launcher_move_app]
|
||||
Sposta app
|
||||
---
|
||||
@@ -7520,3 +7520,55 @@ Lumi や日記など、Inner Breeze 内のアプリを waozi.xyz から自動で
|
||||
[leaderboard_refresh_failed]
|
||||
ランキングを更新できませんでした。
|
||||
---
|
||||
|
||||
[sync_alias_pending]
|
||||
ユーザー名の購入を再試行する必要があります。
|
||||
---
|
||||
|
||||
[sync_alias_retry]
|
||||
保留中の購入を確認
|
||||
---
|
||||
|
||||
[sync_alias_current]
|
||||
これは現在のユーザー名です。無料で使い続けられます。
|
||||
---
|
||||
|
||||
[sync_alias_taken]
|
||||
このユーザー名はすでに使用されています。
|
||||
---
|
||||
|
||||
[sync_alias_premium_available]
|
||||
プレミアムユーザー名を購入できます
|
||||
---
|
||||
|
||||
[sync_alias_buy]
|
||||
ユーザー名を購入
|
||||
---
|
||||
|
||||
[sync_alias_free]
|
||||
無料で利用可能
|
||||
---
|
||||
|
||||
[sync_alias_check]
|
||||
空き状況を確認
|
||||
---
|
||||
|
||||
[sync_alias_checking]
|
||||
空き状況を確認中…
|
||||
---
|
||||
|
||||
[sync_alias_premium]
|
||||
プレミアムユーザー名
|
||||
---
|
||||
|
||||
[sync_alias_once]
|
||||
一度限りの購入です。ノードが確認するまで現在のユーザー名は変わりません。
|
||||
---
|
||||
|
||||
[sync_alias_insufficient]
|
||||
Dewが不足しています。チャージしてから戻り、購入を確定してください。
|
||||
---
|
||||
|
||||
[launcher_move_app]
|
||||
アプリを移動
|
||||
---
|
||||
@@ -7530,3 +7530,55 @@ Lumi, 일기 등 Inner Breeze 안의 앱을 waozi.xyz에서 자동으로 업데
|
||||
[leaderboard_refresh_failed]
|
||||
순위표를 새로 고칠 수 없습니다.
|
||||
---
|
||||
|
||||
[sync_alias_pending]
|
||||
사용자 이름 구매를 다시 시도해야 합니다.
|
||||
---
|
||||
|
||||
[sync_alias_retry]
|
||||
대기 중인 구매 확인
|
||||
---
|
||||
|
||||
[sync_alias_current]
|
||||
현재 사용자 이름입니다. 무료로 계속 사용할 수 있습니다.
|
||||
---
|
||||
|
||||
[sync_alias_taken]
|
||||
이미 사용 중인 사용자 이름입니다.
|
||||
---
|
||||
|
||||
[sync_alias_premium_available]
|
||||
프리미엄 사용자 이름 구매 가능
|
||||
---
|
||||
|
||||
[sync_alias_buy]
|
||||
사용자 이름 구매
|
||||
---
|
||||
|
||||
[sync_alias_free]
|
||||
무료로 사용 가능
|
||||
---
|
||||
|
||||
[sync_alias_check]
|
||||
사용 가능 여부 확인
|
||||
---
|
||||
|
||||
[sync_alias_checking]
|
||||
사용 가능 여부 확인 중…
|
||||
---
|
||||
|
||||
[sync_alias_premium]
|
||||
프리미엄 사용자 이름
|
||||
---
|
||||
|
||||
[sync_alias_once]
|
||||
일회성 구매입니다. 노드에서 확인한 후에만 사용자 이름이 변경됩니다.
|
||||
---
|
||||
|
||||
[sync_alias_insufficient]
|
||||
Dew가 부족합니다. 충전한 다음 돌아와 구매를 확정하세요.
|
||||
---
|
||||
|
||||
[launcher_move_app]
|
||||
앱 이동
|
||||
---
|
||||
@@ -7533,3 +7533,55 @@ Abrindo aplicativos
|
||||
[leaderboard_refresh_failed]
|
||||
Não foi possível atualizar a classificação.
|
||||
---
|
||||
|
||||
[sync_alias_pending]
|
||||
É preciso tentar novamente a compra de um nome de usuário.
|
||||
---
|
||||
|
||||
[sync_alias_retry]
|
||||
Revisar compra pendente
|
||||
---
|
||||
|
||||
[sync_alias_current]
|
||||
Este é seu nome de usuário atual. Mantê-lo é grátis.
|
||||
---
|
||||
|
||||
[sync_alias_taken]
|
||||
Esse nome de usuário já está em uso.
|
||||
---
|
||||
|
||||
[sync_alias_premium_available]
|
||||
Nome de usuário premium disponível
|
||||
---
|
||||
|
||||
[sync_alias_buy]
|
||||
Comprar nome de usuário
|
||||
---
|
||||
|
||||
[sync_alias_free]
|
||||
Disponível grátis
|
||||
---
|
||||
|
||||
[sync_alias_check]
|
||||
Verificar disponibilidade
|
||||
---
|
||||
|
||||
[sync_alias_checking]
|
||||
Verificando disponibilidade…
|
||||
---
|
||||
|
||||
[sync_alias_premium]
|
||||
Nome de usuário premium
|
||||
---
|
||||
|
||||
[sync_alias_once]
|
||||
Compra única. Seu nome de usuário só muda após a confirmação do nó.
|
||||
---
|
||||
|
||||
[sync_alias_insufficient]
|
||||
Dew insuficiente. Recarregue e volte para confirmar a compra.
|
||||
---
|
||||
|
||||
[launcher_move_app]
|
||||
Mover aplicação
|
||||
---
|
||||
@@ -7529,3 +7529,55 @@ Inner Breeze обновлён до версии %s.
|
||||
[leaderboard_refresh_failed]
|
||||
Не удалось обновить таблицу лидеров.
|
||||
---
|
||||
|
||||
[sync_alias_pending]
|
||||
Покупку имени пользователя нужно повторить.
|
||||
---
|
||||
|
||||
[sync_alias_retry]
|
||||
Проверить ожидающую покупку
|
||||
---
|
||||
|
||||
[sync_alias_current]
|
||||
Это ваше текущее имя пользователя. Его можно сохранить бесплатно.
|
||||
---
|
||||
|
||||
[sync_alias_taken]
|
||||
Это имя пользователя уже занято.
|
||||
---
|
||||
|
||||
[sync_alias_premium_available]
|
||||
Премиальное имя пользователя доступно
|
||||
---
|
||||
|
||||
[sync_alias_buy]
|
||||
Купить имя пользователя
|
||||
---
|
||||
|
||||
[sync_alias_free]
|
||||
Доступно бесплатно
|
||||
---
|
||||
|
||||
[sync_alias_check]
|
||||
Проверить доступность
|
||||
---
|
||||
|
||||
[sync_alias_checking]
|
||||
Проверка доступности…
|
||||
---
|
||||
|
||||
[sync_alias_premium]
|
||||
Премиальное имя пользователя
|
||||
---
|
||||
|
||||
[sync_alias_once]
|
||||
Разовая покупка. Имя пользователя изменится только после подтверждения узлом.
|
||||
---
|
||||
|
||||
[sync_alias_insufficient]
|
||||
Недостаточно Dew. Пополните баланс и вернитесь, чтобы подтвердить покупку.
|
||||
---
|
||||
|
||||
[launcher_move_app]
|
||||
Переместить приложение
|
||||
---
|
||||
@@ -7535,3 +7535,55 @@ Inner Breeze 已更新至 %s 版本。
|
||||
[leaderboard_refresh_failed]
|
||||
无法刷新排行榜。
|
||||
---
|
||||
|
||||
[sync_alias_pending]
|
||||
需要重试购买用户名。
|
||||
---
|
||||
|
||||
[sync_alias_retry]
|
||||
查看待处理的购买
|
||||
---
|
||||
|
||||
[sync_alias_current]
|
||||
这是您当前的用户名,可以继续免费使用。
|
||||
---
|
||||
|
||||
[sync_alias_taken]
|
||||
该用户名已被占用。
|
||||
---
|
||||
|
||||
[sync_alias_premium_available]
|
||||
高级用户名可供购买
|
||||
---
|
||||
|
||||
[sync_alias_buy]
|
||||
购买用户名
|
||||
---
|
||||
|
||||
[sync_alias_free]
|
||||
可免费使用
|
||||
---
|
||||
|
||||
[sync_alias_check]
|
||||
检查可用性
|
||||
---
|
||||
|
||||
[sync_alias_checking]
|
||||
正在检查可用性…
|
||||
---
|
||||
|
||||
[sync_alias_premium]
|
||||
高级用户名
|
||||
---
|
||||
|
||||
[sync_alias_once]
|
||||
一次性购买。节点确认后,您的用户名才会更改。
|
||||
---
|
||||
|
||||
[sync_alias_insufficient]
|
||||
Dew不足。请充值后返回确认购买。
|
||||
---
|
||||
|
||||
[launcher_move_app]
|
||||
移动应用
|
||||
---
|
||||
@@ -1,5 +1,5 @@
|
||||
Package: inbe.waozi
|
||||
Version: 2.1.56
|
||||
Version: 2.1.58
|
||||
Architecture: arm64
|
||||
Maintainer: Waozi <[email protected]>
|
||||
Click-Version: 0.4
|
||||
|
||||
@@ -28,7 +28,7 @@
|
||||
<binary>inbe</binary>
|
||||
</provides>
|
||||
<releases>
|
||||
<release version="2.1.56" date="2026-10-28"/>
|
||||
<release version="2.1.58" date="2026-10-28"/>
|
||||
</releases>
|
||||
<content_rating type="oars-1.1"/>
|
||||
</component>
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "inbe",
|
||||
"title": "Inner Breeze",
|
||||
"version": "2.1.56",
|
||||
"version": "2.1.58",
|
||||
"architecture": "arm64",
|
||||
"framework": "ubuntu-sdk-20.04",
|
||||
"description": "Syncable breathing, meditation, and habit practice app.",
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"manifest_version": 3,
|
||||
"name": "Inner Breeze",
|
||||
"short_name": "Inbe",
|
||||
"version": "2.1.56",
|
||||
"version": "2.1.58",
|
||||
"description": "Breathing, meditation, habit tracking, and encrypted sync.",
|
||||
"permissions": [
|
||||
"contextMenus"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
<binary>inbe</binary>
|
||||
</provides>
|
||||
<releases>
|
||||
<release version="2.1.56" date="2026-10-28"/>
|
||||
<release version="2.1.58" date="2026-10-28"/>
|
||||
</releases>
|
||||
<content_rating type="oars-1.1"/>
|
||||
</component>
|
||||
@@ -22,7 +22,7 @@
|
||||
<binary>inbe</binary>
|
||||
</provides>
|
||||
<releases>
|
||||
<release version="2.1.56" date="2026-10-28"/>
|
||||
<release version="2.1.58" date="2026-10-28"/>
|
||||
</releases>
|
||||
<content_rating type="oars-1.1"/>
|
||||
</component>
|
||||
@@ -6,7 +6,7 @@ description: |
|
||||
meditation, and habit tracking with visual and audio cues, meditation
|
||||
timers, habit counters, session history, and optional sync.
|
||||
|
||||
version: '2.1.56'
|
||||
version: '2.1.58'
|
||||
license: BSD-3-Clause
|
||||
base: core22
|
||||
confinement: strict
|
||||
|
||||
@@ -32,7 +32,14 @@ capture() {
|
||||
adb_run logcat -b crash -d > "$logs/android-smoke-crash.txt" 2>&1 || true
|
||||
adb_run shell dumpsys activity exit-info "$app_id" > "$logs/android-smoke-exit-info.txt" 2>&1 || true
|
||||
}
|
||||
trap capture EXIT
|
||||
started=0
|
||||
cleanup() {
|
||||
capture
|
||||
if [ "$started" = 1 ]; then
|
||||
adb_run shell am force-stop "$app_id" || true
|
||||
fi
|
||||
}
|
||||
trap cleanup EXIT
|
||||
|
||||
if [ "${ANDROID_SMOKE_SKIP_EMULATOR:-0}" != 1 ]; then
|
||||
env -u DISPLAY -u WAYLAND_DISPLAY ANDROID_EMULATOR_HEADLESS=1 bash scripts/emulator.sh
|
||||
@@ -77,6 +84,7 @@ foreground() {
|
||||
}
|
||||
|
||||
adb_run shell am force-stop "$app_id"
|
||||
started=1
|
||||
start
|
||||
pid=$(process || true)
|
||||
[ -n "$pid" ] || fail 'app exited during startup'
|
||||
|
||||
Executable → Regular
+3
-1
@@ -39,7 +39,9 @@ mkdir -p build/entity
|
||||
--module-path kryon=build/packages/kryon/src/ui --module-path build/packages/kryon/src/ui \
|
||||
--module-path build/packages/ziran/std --module-path qrcode=build/packages/qrcode/src \
|
||||
--define KRYON_HOSTED_UI \
|
||||
--asset-dir "assets=$entity_dir/assets" --entry entity:Main -o build/entity/entity.zx "$entity_dir/src/entity.zi"
|
||||
--entry entity:Main -o build/entity/entity.zx "$entity_dir/src/entity.zi"
|
||||
# Entity's images are supplied once by the root package below. Its hosted
|
||||
# child uses those same asset paths; embedding a second copy bloats every APK.
|
||||
for feature in lists habits practices diary lumi leaderboard; do
|
||||
source=$feature
|
||||
entry=$feature
|
||||
|
||||
+31
-24
@@ -326,30 +326,37 @@ def check(phone, apk, seconds, evidence):
|
||||
phone.shell("input", "keyevent", "KEYCODE_WAKEUP")
|
||||
phone.shell("wm", "dismiss-keyguard")
|
||||
phone.shell("am", "force-stop", package)
|
||||
phone.start(package)
|
||||
time.sleep(4)
|
||||
pid = phone.pid(package)
|
||||
if not pid:
|
||||
raise ValueError("Inner Breeze did not stay running after launch")
|
||||
phone.screenshot(package, evidence / "launch.png")
|
||||
phone.start(package, "-a", START_PRACTICE, "--ei", "practice_id", str(WIM_HOF))
|
||||
time.sleep(3)
|
||||
phone.screenshot(package, evidence / "practice-start.png")
|
||||
timing = frame_timing(phone, package, seconds)
|
||||
phone.screenshot(package, evidence / "practice-end.png")
|
||||
if phone.pid(package) != pid:
|
||||
raise ValueError("Inner Breeze restarted during the practice")
|
||||
phone.shell("input", "keyevent", "KEYCODE_HOME")
|
||||
time.sleep(2)
|
||||
phone.start(package)
|
||||
time.sleep(2)
|
||||
if phone.pid(package) != pid:
|
||||
raise ValueError("Inner Breeze restarted when it returned from the background")
|
||||
phone.screenshot(package, evidence / "resume.png")
|
||||
timing["resume_layout_shift"] = layout_shift(evidence / "practice-end.png", evidence / "resume.png")
|
||||
model = phone.shell("getprop", "ro.product.model").strip()
|
||||
android = phone.shell("getprop", "ro.build.version.release").strip()
|
||||
return identity, timing, dict(model=model, android=android)
|
||||
try:
|
||||
phone.start(package)
|
||||
time.sleep(4)
|
||||
pid = phone.pid(package)
|
||||
if not pid:
|
||||
raise ValueError("Inner Breeze did not stay running after launch")
|
||||
phone.screenshot(package, evidence / "launch.png")
|
||||
phone.start(package, "-a", START_PRACTICE, "--ei", "practice_id", str(WIM_HOF))
|
||||
time.sleep(3)
|
||||
phone.screenshot(package, evidence / "practice-start.png")
|
||||
timing = frame_timing(phone, package, seconds)
|
||||
phone.screenshot(package, evidence / "practice-end.png")
|
||||
if phone.pid(package) != pid:
|
||||
raise ValueError("Inner Breeze restarted during the practice")
|
||||
phone.shell("input", "keyevent", "KEYCODE_HOME")
|
||||
time.sleep(2)
|
||||
phone.start(package)
|
||||
time.sleep(2)
|
||||
if phone.pid(package) != pid:
|
||||
raise ValueError("Inner Breeze restarted when it returned from the background")
|
||||
phone.screenshot(package, evidence / "resume.png")
|
||||
timing["resume_layout_shift"] = layout_shift(evidence / "practice-end.png", evidence / "resume.png")
|
||||
model = phone.shell("getprop", "ro.product.model").strip()
|
||||
android = phone.shell("getprop", "ro.build.version.release").strip()
|
||||
return identity, timing, dict(model=model, android=android)
|
||||
finally:
|
||||
# This check refused a pre-existing process before installation. Stop
|
||||
# only its own app, including any practice/audio still running.
|
||||
phone.shell("am", "force-stop", package)
|
||||
if phone.pid(package):
|
||||
raise ValueError("the test app did not close after the phone check")
|
||||
|
||||
|
||||
def resolve_host(host, serial):
|
||||
|
||||
+16
-4
@@ -92,12 +92,24 @@ app_launcher_update_drag :: (app: *InnerBreeze, point: Vector2) {
|
||||
app_launcher_drag_handle :: (app: *InnerBreeze, card: ButtonProps,
|
||||
route: s32, vertical: bool) {
|
||||
if !app.launcher_editing { return }
|
||||
key := card.key
|
||||
key := card.key + cast(u64)29
|
||||
handle: ButtonProps
|
||||
handle.key = key
|
||||
handle.label = LocaleText("launcher_move_app")
|
||||
handle.icon_only = true
|
||||
handle.icon_shape = "F:M7 4H10V7H7ZM14 4H17V7H14ZM7 10H10V13H7ZM14 10H17V13H14ZM7 16H10V19H7ZM14 16H17V19H14Z"
|
||||
handle.emphasis = cast(ButtonEmphasis)ButtonEmphasisSoft
|
||||
handle.bounds = Rectangle.{card.bounds.x + cast(float32)AppScale(4),
|
||||
card.bounds.y + (card.bounds.height - cast(float32)AppScale(44)) * 0.5,
|
||||
cast(float32)AppScale(44), cast(float32)AppScale(44)}
|
||||
unused Button(app.ui.session, handle)
|
||||
node := TreeSubmitted(app.ui.session, TreeCurrentParent(app.ui.session), key, WidgetKindButton)
|
||||
TreeSetDragCapture(app.ui.session, node, !card.disabled)
|
||||
previous := TreePrevious(app.ui.session, TreeCurrentParent(app.ui.session),
|
||||
key, WidgetKindButton)
|
||||
drag := TreeTakeDragAt(app.ui.session, previous)
|
||||
if drag.started {
|
||||
app.launcher_drag_key = key
|
||||
app.launcher_drag_key = card.key
|
||||
app.launcher_drag_route = route
|
||||
unused AppCopyText(LauncherLibraryName(route), app.launcher_drag_name[:])
|
||||
app.launcher_drag_moving = false
|
||||
@@ -106,13 +118,13 @@ app_launcher_drag_handle :: (app: *InnerBreeze, card: ButtonProps,
|
||||
app.launcher_drag_bounds = card.bounds
|
||||
app.launcher_drag_origin = Vector2.{drag.x, drag.y}
|
||||
app.launcher_drag_grab = Vector2.{drag.grab_x, drag.grab_y}
|
||||
row := TreePrevious(app.ui.session, TreeCurrentParent(app.ui.session), key - cast(u64)7, WidgetKindButton)
|
||||
row := TreePrevious(app.ui.session, TreeCurrentParent(app.ui.session), card.key, WidgetKindButton)
|
||||
if row >= 0 {
|
||||
app.launcher_drag_bounds = TreeNodeAt(app.ui.session, row).bounds
|
||||
app.launcher_drag_grab = Vector2.{drag.x - app.launcher_drag_bounds.x, drag.y - app.launcher_drag_bounds.y}
|
||||
}
|
||||
}
|
||||
if (drag.active || drag.ended) && app.launcher_drag_key == key {
|
||||
if (drag.active || drag.ended) && app.launcher_drag_key == card.key {
|
||||
app_launcher_update_drag(app, Vector2.{drag.x, drag.y})
|
||||
app.launcher_drag_released = drag.ended
|
||||
}
|
||||
|
||||
@@ -206,7 +206,7 @@ LauncherAppWidgets :: (context: *void, module: *u8, function: *u8,
|
||||
card := WidgetDecodeButtonProps(arguments[1], *launcher_app_button_codec)
|
||||
for index: cast(s32)0..group.count - 1 {
|
||||
entry := group.entries[index]
|
||||
// While editing, the whole card is the handle that drags it.
|
||||
// Editing exposes an explicit handle; the card keeps its own gestures.
|
||||
handle := group.owner.launcher_editing && card.key == Rules.AppCardKey(TextUntilNul(entry.id[:]))
|
||||
if !handle { continue }
|
||||
item := entry.route
|
||||
@@ -219,9 +219,6 @@ LauncherAppWidgets :: (context: *void, module: *u8, function: *u8,
|
||||
}
|
||||
}
|
||||
app_launcher_drag_handle(group.owner, card, item, group.owner.launcher_grid_view)
|
||||
node := TreeSubmitted(group.owner.ui.session, TreeCurrentParent(group.owner.ui.session),
|
||||
card.key, WidgetKindButton)
|
||||
TreeSetDragCapture(group.owner.ui.session, node, !card.disabled)
|
||||
break
|
||||
}
|
||||
return called
|
||||
@@ -503,8 +500,10 @@ app_launcher_shared_group :: (app: *InnerBreeze, section: s32, routes: []s32,
|
||||
document: Vec(u8)
|
||||
BuilderPrint(*document, "\"title\":\"\",\"locale\":")
|
||||
Rules.AppsWriteQuoted(*document, LocaleActiveCode())
|
||||
BuilderPrint(*document, ",\"presentation\":{\"mode\":\"%\",\"hide_sizes\":true,\"section_break\":%,\"columns\":%,\"tile_class\":%,\"action_class\":%,\"muted_class\":%",
|
||||
ifx grid then "icon" else "list", section_break, columns, KssClassId(KssMakeName("launcher-tile")), KssClassId(KssMakeName("launcher-action")), KssClassId(KssMakeName("launcher-muted")))
|
||||
// Editing changes the native controls attached to each shared card.
|
||||
// Include it in the revision so a quiet frame cannot replay the old tree.
|
||||
BuilderPrint(*document, ",\"presentation\":{\"mode\":\"%\",\"editing\":%,\"hide_sizes\":true,\"section_break\":%,\"columns\":%,\"tile_class\":%,\"action_class\":%,\"muted_class\":%",
|
||||
ifx grid then "icon" else "list", app.launcher_editing, section_break, columns, KssClassId(KssMakeName("launcher-tile")), KssClassId(KssMakeName("launcher-action")), KssClassId(KssMakeName("launcher-muted")))
|
||||
if app.launcher_pending_node > 0 {
|
||||
LauncherAppQuoted(*document, "download_id", TextUntilNul(app.launcher_download_id[:]))
|
||||
BuilderPrint(*document, ",\"download_request\":%", app.launcher_download_request)
|
||||
|
||||
+14
-2
@@ -33,6 +33,7 @@ app_force_dark_mode :: () -> bool #foreign c;
|
||||
#import, file "../apps/inbe_types.zi";
|
||||
#import, file "../apps/catalog.zi";
|
||||
#import, file "profile_picture_policy.zi";
|
||||
ProfileEntity :: #import "entity/model";
|
||||
#import, file "../platform/environment.zi";
|
||||
#import, file "../platform/telegram_bridge.zi";
|
||||
#import, file "../platform/web_storage.zi";
|
||||
@@ -71,8 +72,19 @@ load_navigation_mode :: () -> s32 {
|
||||
}
|
||||
|
||||
load_profile_picture_icon :: () -> s32 {
|
||||
saved := SettingsCacheInt("profile_picture_icon", ProfilePictureDefault())
|
||||
return ProfilePictureSelected(saved)
|
||||
saved := SettingsCacheInt("profile_picture_icon", -1)
|
||||
if saved >= 0 {
|
||||
return ProfilePictureSelected(saved)
|
||||
}
|
||||
owner := storage_get_setting_text("sync_public_id")
|
||||
if owner.count != 64 {
|
||||
return ProfilePictureDefault()
|
||||
}
|
||||
allowed := 268435455 & ~((1 << 21) | (1 << 22) | (1 << 23))
|
||||
picture := ProfileEntity.EntityInitialPicture(owner, cast(s32)allowed)
|
||||
icon := ifx picture >= 25 then 124 + picture - 25 else 41 + picture
|
||||
storage_set_setting_int("profile_picture_icon", icon)
|
||||
return icon
|
||||
}
|
||||
|
||||
load_bottom_nav_routes :: (app: *InnerBreeze) {
|
||||
|
||||
@@ -549,6 +549,8 @@ InnerBreeze :: struct {
|
||||
// Advances whenever saved or fetched leaderboard results change.
|
||||
leaderboard_revision: s32
|
||||
profile_friend_input_cursor: s32
|
||||
profile_friend_input_anchor: s32
|
||||
profile_friend_input_scroll_x: s32
|
||||
profile_friend_input_focused: s32
|
||||
profile_friends_loaded: s32
|
||||
profile_name_cursor: s32
|
||||
|
||||
@@ -276,6 +276,21 @@ EntityHostLocale :: (key: string) -> string {
|
||||
if key == "entity.copy_id" { return LocaleText("sync_copy_id_button") }
|
||||
if key == "entity.copied" { return LocaleText("sync_public_id_copied") }
|
||||
if key == "entity.alias" { return LocaleText("sync_alias_title") }
|
||||
if key == "entity.alias_rule" { return LocaleText("sync_alias_rule") }
|
||||
if key == "entity.alias_pending" { return LocaleText("sync_alias_pending") }
|
||||
if key == "entity.alias_retry" { return LocaleText("sync_alias_retry") }
|
||||
if key == "entity.alias_current" { return LocaleText("sync_alias_current") }
|
||||
if key == "entity.alias_taken" { return LocaleText("sync_alias_taken") }
|
||||
if key == "entity.alias_premium_available" { return LocaleText("sync_alias_premium_available") }
|
||||
if key == "entity.alias_buy" { return LocaleText("sync_alias_buy") }
|
||||
if key == "entity.alias_free" { return LocaleText("sync_alias_free") }
|
||||
if key == "entity.alias_check" { return LocaleText("sync_alias_check") }
|
||||
if key == "entity.alias_checking" { return LocaleText("sync_alias_checking") }
|
||||
if key == "entity.alias_premium" { return LocaleText("sync_alias_premium") }
|
||||
if key == "entity.alias_once" { return LocaleText("sync_alias_once") }
|
||||
if key == "entity.alias_insufficient" { return LocaleText("sync_alias_insufficient") }
|
||||
if key == "entity.retry" { return LocaleText("retry_button") }
|
||||
if key == "entity.refresh" { return LocaleText("elist_refresh") }
|
||||
if key == "entity.save" { return LocaleText("save_button") }
|
||||
if key == "entity.sync" { return LocaleText("sync_status_title") }
|
||||
if key == "entity.sync_now" { return LocaleText("sync_now_button") }
|
||||
|
||||
@@ -30,6 +30,7 @@ PairingTypes :: #import "entity/pairing";
|
||||
#import, file "../storage/daochi_account.zi";
|
||||
#import, file "../storage/data.zi";
|
||||
#import, file "../platform/environment.zi";
|
||||
#import, file "../platform/web_storage.zi";
|
||||
#import, file "../platform/android/android_import.zi";
|
||||
|
||||
using SyncAccountSaveResult;
|
||||
@@ -123,6 +124,15 @@ InbeRecoveryApply :: (context: *void, incoming: *Recovery.Recovery, choice: s32)
|
||||
if !InbeManagementConnect(context) {
|
||||
return 0
|
||||
}
|
||||
if TextUntilNul(entity_management.queue.request.operation[:]) == "create" {
|
||||
state := Entity.EntityDefault()
|
||||
state.pictures &= ~((1 << 21) | (1 << 22) | (1 << 23))
|
||||
state.picture = Entity.EntityInitialPicture(TextUntilNul(incoming.keys.public_id[:]), state.pictures)
|
||||
icon := ifx state.picture >= 25 then 124 + state.picture - 25 else 41 + state.picture
|
||||
storage_set_setting_int("profile_picture_icon", icon)
|
||||
state.owner_id = incoming.keys.public_id
|
||||
unused Native.SharedProfileSave(TextUntilNul(state.owner_id[:]), state)
|
||||
}
|
||||
EntityReloadData(app, 0)
|
||||
unused EntityRequestSync(app)
|
||||
return 1
|
||||
@@ -304,6 +314,33 @@ InbeManagementAction :: (context: *void, request: *Manage.ManagementRequest) ->
|
||||
storage_set_setting_text("sync_account_alias", TextUntilNul(request.value[:]))
|
||||
return 1
|
||||
}
|
||||
if operation == "alias_purchase_load" || operation == "alias_purchase_save" || operation == "alias_purchase_clear" {
|
||||
owner_buffer: [65]u8
|
||||
if !InbeEntityOwner(owner_buffer[:]) ||
|
||||
TextUntilNul(owner_buffer[:]) != TextUntilNul(request.owner_id[:]) {
|
||||
return 0
|
||||
}
|
||||
name: Vec(u8)
|
||||
BuilderPrint(*name, "username.%.purchase.json", TextUntilNul(owner_buffer[:]))
|
||||
file := BuilderFinish(name)
|
||||
defer {
|
||||
Entity.EntityFree(file)
|
||||
}
|
||||
path_buffer: [4096]u8
|
||||
path := Native.NativeJoin(path_buffer[:], data_root(), file)
|
||||
if operation == "alias_purchase_load" {
|
||||
count := Native.NativeRead(path, request.value[:])
|
||||
if count < 0 {
|
||||
return ifx PathExists(path) then 0 else 2
|
||||
}
|
||||
return ifx count > 2 then 1 else 2
|
||||
}
|
||||
document := ifx operation == "alias_purchase_clear" then "{}" else TextUntilNul(request.value[:])
|
||||
if !Native.NativeWrite(path, document) || sync_web_storage_critical() == 0 {
|
||||
return 0
|
||||
}
|
||||
return 1
|
||||
}
|
||||
if operation == "link_show" {
|
||||
unused InbeEntityOwner(entity_management_link_owner[:])
|
||||
entity_management_delivered = false
|
||||
|
||||
@@ -32,5 +32,10 @@ ProfilePictureSelected :: (saved: s32) -> s32 {
|
||||
ProfilePictureFromRemote :: (saved: s32) -> s32 {
|
||||
legacy: [12]s32 = .[0, 42, 43, 46, 53, 54, 55, 62, 63, 64, 65, 65]
|
||||
if saved >= 0 && saved <= 11 { return legacy[saved] }
|
||||
return ifx ProfilePictureValid(saved) then saved else 0
|
||||
// Friends may choose a picture in another app's larger picker. The
|
||||
// local selection policy must not replace that valid remote picture.
|
||||
if saved >= 41 && saved <= 65 || saved >= 124 && saved <= 126 {
|
||||
return saved
|
||||
}
|
||||
return 0
|
||||
}
|
||||
@@ -2,7 +2,7 @@
|
||||
// bytes, but cannot select or replace the host's controller trust anchor.
|
||||
// Collections built before the ZX format carried ZIB controllers, which this
|
||||
// runtime cannot run; earlier ZX controllers stay trusted for collections.
|
||||
AppsControllerSha256 :: "a81eb5b14d2066925d19c3fd922865af40c90673cf54fb11bd7f9bf89a29cb98"
|
||||
AppsControllerSha256 :: "a1b56259e0b8581188459cc366736feacda3969b2db3055e8425a81065b065e1"
|
||||
|
||||
// Existing collections keep the controller from before shared saved records.
|
||||
AppsControllerBeforeSharedRecords :: "a99851fc40d67a8ca820841722ce2ddde5ca51844e0778c4762681570c488289"
|
||||
@@ -23,3 +23,6 @@ AppsControllerBeforeCoverGrid :: "0b350b5a5ae9813e9e0521ad6089bda78ee125483cefa0
|
||||
// Collections that pack the controller from before small phone covers,
|
||||
// such as Arcade 0.7.77, keep opening.
|
||||
AppsControllerBeforeSmallCovers :: "5490a8e61f5fa218e813b6e3d78bece6198d2ed935c42fc77b7d5e4aeed9bfe3"
|
||||
|
||||
// Collections published before installation completion was retained.
|
||||
AppsControllerBeforeInstalledDownloads :: "a81eb5b14d2066925d19c3fd922865af40c90673cf54fb11bd7f9bf89a29cb98"
|
||||
@@ -496,6 +496,7 @@ NodeTreeStart :: (runner: *NodeAppRunner, bytes: string, verified: string,
|
||||
unused AppHostTrustHarness(host, AppsControllerBeforeSmallCovers)
|
||||
unused AppHostTrustHarness(host, AppsControllerBeforeDownload)
|
||||
unused AppHostTrustHarness(host, AppsControllerBeforeSeparateDownloads)
|
||||
unused AppHostTrustHarness(host, AppsControllerBeforeInstalledDownloads)
|
||||
platform := AppPlatform.{.context = cast(*void)runner, .allows = NodeTreeAllows, .call = NodeTreeCall,
|
||||
.widgets = NodeTreeWidgets, .save = NodeTreeSave, .state = NodeTreeState,
|
||||
.effect = NodeTreeEffect, .bundle = NodeChildBundle,
|
||||
|
||||
@@ -109,6 +109,33 @@ NodeChildBundle :: (context: *void, parent: *AppNode, entry: *AppEntry) -> Hoste
|
||||
return HostedAsset.{.found = true, .data = node_children[index].bytes}
|
||||
}
|
||||
|
||||
NodeChildDependsOn :: (catalog: *AppCatalog, entry: *AppEntry, wanted: *AppEntry, depth: s32) -> bool {
|
||||
if entry == wanted { return true }
|
||||
if entry == null || depth >= 32 { return false }
|
||||
for index: cast(s32)0..entry.dependency_count - 1 {
|
||||
dependency := AppCatalogAt(catalog, AppCatalogFind(catalog, TextUntilNul(entry.dependencies[index][:])))
|
||||
if NodeChildDependsOn(catalog, dependency, wanted, depth + 1) { return true }
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// Installation belongs to a publisher and app ID, not one release digest.
|
||||
// A new catalog may update an installed game and its libraries, while games
|
||||
// the account has never installed still require the download dialog.
|
||||
NodeChildInstalled :: (parent: *AppNode, entry: *AppEntry) -> bool {
|
||||
if parent == null { return false }
|
||||
item := parent.catalog.children
|
||||
while item != null {
|
||||
if NodeChildDependsOn(*parent.catalog, *item.entry, entry, 0) {
|
||||
identity := AppIdentity.{.authority = parent.identity.authority, .id = item.entry.id}
|
||||
state: AppState
|
||||
if NodeTreeState(null, NodeTreeAccount(), *identity, *state) && state.installed { return true }
|
||||
}
|
||||
item = item.next
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
NodeChildDownload :: (context: *void, parent: *AppNode, entry: *AppEntry,
|
||||
download: *AppDownload) -> bool {
|
||||
runner := cast(*NodeAppRunner)context
|
||||
@@ -122,6 +149,10 @@ NodeChildDownload :: (context: *void, parent: *AppNode, entry: *AppEntry,
|
||||
}
|
||||
child := *node_children[index]
|
||||
if child.status == 2 { return false }
|
||||
if child.status == 0 && PackageAutomaticEnabled() && NodeChildInstalled(parent, entry) {
|
||||
child.requested = true
|
||||
child.status = 1
|
||||
}
|
||||
download.downloading = child.status == 1
|
||||
download.failed = child.status == 3
|
||||
download.bytes = child.size
|
||||
@@ -223,19 +254,23 @@ NodeChildPump :: () {
|
||||
}
|
||||
if node_child_work != null {
|
||||
if !PackageWorkReady(node_child_work) { return }
|
||||
ok := !child.retired && node_child_work.ok &&
|
||||
TextUntilNul(node_child_work.digest[:]) == TextUntilNul(child.digest[:]) && node_child_work.bytes.count > 0 &&
|
||||
node_child_work.bytes.count <= NODE_CHILD_MEMORY_LIMIT - node_child_memory
|
||||
if ok && node_child_work.path != child.path {
|
||||
ok = RenamePath(node_child_work.path, child.path)
|
||||
verified := node_child_work.ok &&
|
||||
TextUntilNul(node_child_work.digest[:]) == TextUntilNul(child.digest[:]) && node_child_work.bytes.count > 0
|
||||
stored := verified
|
||||
if stored && node_child_work.path != child.path {
|
||||
stored = RenamePath(node_child_work.path, child.path)
|
||||
}
|
||||
ok := !child.retired && stored &&
|
||||
node_child_work.bytes.count <= NODE_CHILD_MEMORY_LIMIT - node_child_memory
|
||||
if ok {
|
||||
child.bytes = node_child_work.bytes
|
||||
node_child_work.bytes = ""
|
||||
child.size = child.bytes.count
|
||||
node_child_memory += child.bytes.count
|
||||
}
|
||||
if !ok && !child.retired { unused RemoveFile(node_child_work.path) }
|
||||
// Memory pressure or a closed collection must not uninstall a valid
|
||||
// download. Only an invalid payload is removed from persistent storage.
|
||||
if !verified && !child.retired { unused RemoveFile(node_child_work.path) }
|
||||
PackageWorkFree(node_child_work)
|
||||
node_child_work = null
|
||||
NodeChildFinish(ok)
|
||||
|
||||
@@ -3,7 +3,7 @@ PackageBundledVersion :: (index: s32) -> string {
|
||||
if index < 0 || index >= 7 {
|
||||
return ""
|
||||
}
|
||||
versions: [7]string = .["2.1.58", "1.1.24", "1.3.11", "1.6.5", "1.3.21", "1.5.23", "1.0.25"]
|
||||
versions: [7]string = .["2.1.59", "1.1.25", "1.3.12", "1.6.6", "1.3.22", "1.5.24", "1.0.26"]
|
||||
return versions[index]
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ PackageBundledSequence :: (index: s32) -> s32 {
|
||||
if index < 0 || index >= 7 {
|
||||
return 0
|
||||
}
|
||||
sequences: [7]s32 = .[55, 32, 34, 34, 38, 41, 26]
|
||||
sequences: [7]s32 = .[56, 33, 35, 35, 39, 42, 27]
|
||||
return sequences[index]
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@
|
||||
|
||||
#define APP_VERSION_MAJOR 2
|
||||
#define APP_VERSION_MINOR 1
|
||||
#define APP_VERSION_PATCH 56
|
||||
#define APP_VERSION_STRING "2.1.56"
|
||||
#define APP_VERSION_PATCH 58
|
||||
#define APP_VERSION_STRING "2.1.58"
|
||||
|
||||
#endif
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
// Generated by update_version.sh from CHANGELOG.md. Do not edit by hand.
|
||||
VersionMajor :: 2
|
||||
VersionMinor :: 1
|
||||
VersionPatch :: 56
|
||||
VersionString :: "2.1.56"
|
||||
VersionPatch :: 58
|
||||
VersionString :: "2.1.58"
|
||||
@@ -32,6 +32,7 @@ using TextWrap;
|
||||
#import "button_props"
|
||||
#import "dropdown_props"
|
||||
#import "text_input_props"
|
||||
#import, file "../platform/raylib_text_input.zi";
|
||||
#import, file "settings/settings_status.zi";
|
||||
#import, file "../storage/account_types.zi";
|
||||
#import "url"
|
||||
@@ -391,13 +392,6 @@ draw_friends :: (app: *InnerBreeze, x: s32, w: s32, y: *s32) {
|
||||
"outgoing")
|
||||
|
||||
y.* += AppScale(16)
|
||||
Text(CurrentApp().ui.session, TextProps.{
|
||||
.bounds = Rectangle.{cast(float32)x, cast(float32)y.*, 0, 0},
|
||||
.text = (LocaleText("profile_friends_title")),
|
||||
.wrap = cast(TextWrap)TextWrapNone
|
||||
})
|
||||
y.* += AppScale(30)
|
||||
|
||||
Text(CurrentApp().ui.session, TextProps.{
|
||||
.bounds = Rectangle.{cast(float32)x, cast(float32)y.*, 0, 0},
|
||||
.text = (LocaleText("profile_friend_input_label")),
|
||||
@@ -405,16 +399,31 @@ draw_friends :: (app: *InnerBreeze, x: s32, w: s32, y: *s32) {
|
||||
})
|
||||
y.* += AppScale(28)
|
||||
|
||||
typed: [128]u8
|
||||
field_result := TextField(CurrentApp().ui.session, TextFieldProps.{
|
||||
.key = 810,
|
||||
.bounds = Rectangle.{cast(float32)x, cast(float32)y.*, cast(float32)w, cast(float32)AppScale(44)},
|
||||
.value = AppTextFromCString(*app.profile_friend_input[0], 80),
|
||||
.value = FrameTextHold(*app.ui.frame_text, AppTextFromCString(*app.profile_friend_input[0], 80)),
|
||||
.cursor = app.profile_friend_input_cursor,
|
||||
.anchor = app.profile_friend_input_anchor,
|
||||
.scroll_x = app.profile_friend_input_scroll_x,
|
||||
.focused = app.profile_friend_input_focused != 0,
|
||||
.input = SampleTextFieldInput(app.profile_friend_input_focused != 0, typed[:]),
|
||||
.max_bytes = 79,
|
||||
.max_codepoints = 79,
|
||||
.focus_id = 810
|
||||
})
|
||||
if field_result.edit.changed {
|
||||
unused AppReplaceText(app.profile_friend_input[:], field_result.edit.start,
|
||||
field_result.edit.end, field_result.edit.replacement)
|
||||
}
|
||||
app.profile_friend_input_cursor = field_result.cursor
|
||||
app.profile_friend_input_anchor = field_result.anchor
|
||||
app.profile_friend_input_scroll_x = field_result.scroll_x
|
||||
app.profile_friend_input_focused = ifx (field_result.focused) then (1) else (0)
|
||||
if field_result.clipboard_write {
|
||||
unused TextInputWriteClipboard(field_result.clipboard_text)
|
||||
}
|
||||
if field_result.committed {
|
||||
commit = 1
|
||||
}
|
||||
@@ -437,6 +446,8 @@ draw_friends :: (app: *InnerBreeze, x: s32, w: s32, y: *s32) {
|
||||
load_friends_cache(app)
|
||||
app.profile_friend_input[0] = cast(u8)0
|
||||
app.profile_friend_input_cursor = 0
|
||||
app.profile_friend_input_anchor = 0
|
||||
app.profile_friend_input_scroll_x = 0
|
||||
} else {
|
||||
settings_screen_set_status_error(
|
||||
LocaleText("profile_friend_invalid"))
|
||||
@@ -460,12 +471,6 @@ draw_friends :: (app: *InnerBreeze, x: s32, w: s32, y: *s32) {
|
||||
y.* += AppScale(16)
|
||||
}
|
||||
|
||||
Text(CurrentApp().ui.session, TextProps.{
|
||||
.bounds = Rectangle.{cast(float32)x, cast(float32)y.*, 0, 0},
|
||||
.text = (LocaleText("profile_friends_title")),
|
||||
.wrap = cast(TextWrap)TextWrapNone
|
||||
})
|
||||
y.* += AppScale(28)
|
||||
draw_json_people(AppTextFromCString(*app.profile_friends_json[0], 8192), "friends", x, w, y, 0, app)
|
||||
|
||||
if outgoing_count > 0 {
|
||||
@@ -482,7 +487,7 @@ draw_friends :: (app: *InnerBreeze, x: s32, w: s32, y: *s32) {
|
||||
}
|
||||
|
||||
friends_content_height :: (app: *InnerBreeze, content_w: s32) -> s32 {
|
||||
h := AppScale(16) + AppScale(30) + AppScale(28) + AppScale(56) + AppScale(44) + AppScale(24)
|
||||
h := AppScale(16) + AppScale(28) + AppScale(56) + AppScale(44) + AppScale(24)
|
||||
incoming_count: s32 = 0
|
||||
outgoing_count: s32 = 0
|
||||
friends: s32 = 0
|
||||
@@ -501,7 +506,7 @@ friends_content_height :: (app: *InnerBreeze, content_w: s32) -> s32 {
|
||||
if incoming_count > 0 {
|
||||
h += AppScale(28) + incoming_count * AppScale(108) + AppScale(16)
|
||||
}
|
||||
h += AppScale(28) + (ifx (friends > 0) then (friends * AppScale(64)) else (AppScale(24)))
|
||||
h += ifx friends > 0 then friends * AppScale(64) else AppScale(24)
|
||||
if outgoing_count > 0 {
|
||||
h += AppScale(16) + AppScale(28) + outgoing_count * AppScale(64)
|
||||
}
|
||||
|
||||
@@ -142,8 +142,8 @@ with contextlib.ExitStack() as stack:
|
||||
driver.wait(label=label, role="text", visible=False)
|
||||
assert not driver.find(label="Progress", role="button"), "Activity still uses a separate row"
|
||||
driver.press(label="Change picture", role="button")
|
||||
driver.wait(label="Profile picture", role="button")
|
||||
driver.press(label="Profile picture", role="button", index=1)
|
||||
driver.wait(focus_id=76401, role="button")
|
||||
driver.press(focus_id=76401, role="button")
|
||||
deadline = time.monotonic() + 15
|
||||
while time.monotonic() < deadline:
|
||||
if shared.exists() and json.loads(shared.read_text()).get("picture") == 1:
|
||||
@@ -156,13 +156,12 @@ with contextlib.ExitStack() as stack:
|
||||
assert document["owner_id"] == owner, "Entity used a different account"
|
||||
assert credentials() == before, "Editing Entity changed Inbe account keys"
|
||||
assert not (Path(environment["ENTITY_DATA"]) / "account.key").exists(), "Entity made another account"
|
||||
driver.press(label="Done", role="button")
|
||||
driver.wait(label="Dew balance", role="text")
|
||||
with application("restart"):
|
||||
open_profile()
|
||||
driver.press(label="Change picture", role="button")
|
||||
pictures = driver.find(label="Profile picture", role="button", visible=True)
|
||||
assert len(pictures) > 1 and pictures[1].get("selected"), "Picture edit was lost after restart"
|
||||
selected = driver.wait(focus_id=76401, role="button")
|
||||
assert selected.get("selected"), "Picture edit was lost after restart"
|
||||
assert credentials() == before, "Restart changed Inbe account keys"
|
||||
assert json.loads(shared.read_text())["owner_id"] == owner
|
||||
|
||||
@@ -178,6 +177,14 @@ with contextlib.ExitStack() as stack:
|
||||
with application("friends") as process:
|
||||
open_profile()
|
||||
driver.press(label="Friends", role="button")
|
||||
field = driver.wait(focus_id=810, role="text_field")
|
||||
driver.press(focus_id=810, role="text_field")
|
||||
driver.type("@soft_keyboard_friend")
|
||||
assert driver.wait(focus_id=810, role="text_field")["value"] == "@soft_keyboard_friend", "Friends discarded typed text"
|
||||
driver.key("backspace")
|
||||
assert driver.wait(focus_id=810, role="text_field")["value"] == "@soft_keyboard_frien", "Friends discarded edits"
|
||||
assert not [node for node in driver.find(label="Friends", role="text", visible=True)
|
||||
if node["y"] > 80], "Duplicate Friends heading remains in the page"
|
||||
rows = [driver.wait(label="@" + name, role="button") for name in ("willow", "river", "fern")]
|
||||
for row in rows:
|
||||
picture = driver.wait(label=row["label"], role="image")
|
||||
|
||||
@@ -794,7 +794,8 @@ with contextlib.ExitStack() as stack:
|
||||
# Practice is the third pinned card in the same grid as the rest.
|
||||
pinned, more, tree = cards()
|
||||
assert [card["label"] for card in pinned] == ["Lumi", "Habits", "Practice"], pinned
|
||||
assert [round(card["x"]) for card in pinned] == [round(card["x"]) for card in more[:len(pinned)]], \
|
||||
shared_columns = min(len(pinned), len(more))
|
||||
assert [round(card["x"]) for card in pinned[:shared_columns]] == [round(card["x"]) for card in more[:shared_columns]], \
|
||||
"Pinned and More apps cards use different columns"
|
||||
press(pinned[2])
|
||||
wait_setting(profile, "apps_setup_done", 1, log.read_text())
|
||||
|
||||
@@ -75,7 +75,6 @@ chess_you_lost
|
||||
chess_you_resigned
|
||||
chess_you_won
|
||||
chess_your_move
|
||||
elist_refresh
|
||||
elist_share_detail
|
||||
elist_no_friends
|
||||
elist_accepted
|
||||
|
||||
@@ -6,7 +6,9 @@ import json
|
||||
import os
|
||||
from pathlib import Path
|
||||
import re
|
||||
import shutil
|
||||
import sqlite3
|
||||
import struct
|
||||
import subprocess
|
||||
import sys
|
||||
import tempfile
|
||||
@@ -18,8 +20,24 @@ from ui_driver import UiDriver
|
||||
ROOT = Path(__file__).resolve().parents[1]
|
||||
sys.path.insert(0, str(ROOT / 'scripts'))
|
||||
from practice_content import bundle_assets
|
||||
sys.path.insert(0, str(ROOT.parent / 'shovey/tests'))
|
||||
from inbe_apps import open_arcade
|
||||
|
||||
def open_arcade(driver):
|
||||
driver.press(label='Apps', role='button')
|
||||
if not driver.find(label='Arcade', role='button', visible=True):
|
||||
driver.press(label='Find an app', role='text_field')
|
||||
driver.type('Arcade')
|
||||
driver.press(label='Arcade', role='button')
|
||||
deadline = time.monotonic() + 60
|
||||
while driver.find(label='Find an app', role='text_field', visible=True):
|
||||
assert time.monotonic() < deadline, 'Arcade did not open: ' + driver.text()
|
||||
cancel = driver.find(label='Cancel', role='button', visible=True)
|
||||
if cancel:
|
||||
downloads = driver.find(label='Download', role='button', visible=True)
|
||||
nearest = min(range(len(downloads)), key=lambda at: abs(downloads[at]['y'] - cancel[0]['y']))
|
||||
driver.press(label='Download', role='button', index=nearest)
|
||||
elif driver.find(label='Ready to open', role='text', visible=True):
|
||||
driver.press(label='Open', role='button')
|
||||
time.sleep(.1)
|
||||
|
||||
BINARY, CATALOG = (Path(value).resolve() for value in sys.argv[1:3])
|
||||
BUNDLE = Path(sys.argv[3]).resolve() if len(sys.argv) > 3 else ROOT / 'build/inbe-full.zx'
|
||||
@@ -32,14 +50,74 @@ catalog_assets = bundle_assets(CATALOG.read_bytes())
|
||||
catalog = json.loads(catalog_assets['assets/apps/catalog.json'])
|
||||
assert catalog['id'] == 'inbe.arcade'
|
||||
assert all(entry['bundle'] not in catalog_assets for entry in catalog['children'])
|
||||
controller_digest = hashlib.sha256(catalog_assets[catalog['harness']]).hexdigest()
|
||||
host_controller = bundle_assets(BUNDLE.read_bytes())['assets/apps/apps.zx']
|
||||
assert controller_digest == hashlib.sha256(host_controller).hexdigest(), 'Catalog uses another controller'
|
||||
controller_digest = hashlib.sha256(host_controller).hexdigest()
|
||||
if catalog['harness'] in catalog_assets:
|
||||
assert controller_digest == hashlib.sha256(catalog_assets[catalog['harness']]).hexdigest(), 'Catalog uses another controller'
|
||||
classic = next(entry for entry in catalog['children'] if entry['expected_id'] == 'shovey')
|
||||
payloads = CATALOG.with_suffix('.games')
|
||||
game = (payloads / (classic['sha256'] + '.zx')).read_bytes()
|
||||
assert hashlib.sha256(game).hexdigest() == classic['sha256']
|
||||
requests = []
|
||||
updated_game = None
|
||||
updated_digest = None
|
||||
|
||||
|
||||
def rewrite_assets(source, destination, replacements=None, additions=None):
|
||||
"""Keep executable sections intact while streaming fixture resource changes."""
|
||||
replacements = replacements or {}
|
||||
additions = additions or {}
|
||||
with source.open('rb') as incoming, destination.open('wb') as outgoing:
|
||||
def number():
|
||||
return struct.unpack('<I', incoming.read(4))[0]
|
||||
|
||||
def skip_text():
|
||||
incoming.seek(number(), 1)
|
||||
|
||||
assert incoming.read(8) == b'ZX\0\0\x1a\0\0\0'
|
||||
skip_text(); skip_text()
|
||||
for _ in range(number()):
|
||||
skip_text(); skip_text()
|
||||
for _ in range(number()):
|
||||
for _ in range(7):
|
||||
skip_text()
|
||||
incoming.seek(8, 1); skip_text(); incoming.seek(4, 1)
|
||||
for _ in range(number()):
|
||||
for _ in range(3):
|
||||
skip_text()
|
||||
incoming.seek(number(), 1)
|
||||
count_at = incoming.tell()
|
||||
count = number()
|
||||
incoming.seek(0)
|
||||
outgoing.write(incoming.read(count_at))
|
||||
incoming.seek(4, 1)
|
||||
outgoing.write(struct.pack('<I', count + len(additions)))
|
||||
for _ in range(count):
|
||||
name = incoming.read(number())
|
||||
length = number()
|
||||
outgoing.write(struct.pack('<I', len(name)) + name)
|
||||
replacement = replacements.get(name.decode())
|
||||
if replacement is not None:
|
||||
outgoing.write(struct.pack('<I', len(replacement)) + replacement)
|
||||
incoming.seek(length, 1)
|
||||
else:
|
||||
outgoing.write(struct.pack('<I', length))
|
||||
remaining = length
|
||||
while remaining:
|
||||
block = incoming.read(min(remaining, 65536))
|
||||
assert block, 'Truncated fixture bundle'
|
||||
outgoing.write(block)
|
||||
remaining -= len(block)
|
||||
assert incoming.read(1) == b''
|
||||
for name, content in additions.items():
|
||||
encoded = name.encode()
|
||||
outgoing.write(struct.pack('<I', len(encoded)) + encoded)
|
||||
outgoing.write(struct.pack('<I', len(content)) + content)
|
||||
|
||||
|
||||
def digest_file(path):
|
||||
with path.open('rb') as source:
|
||||
return hashlib.file_digest(source, 'sha256').hexdigest()
|
||||
identities = dict(binary=str(BINARY), runtime_bundle=str(BUNDLE), catalog=str(CATALOG),
|
||||
binary_sha256=hashlib.sha256(BINARY.read_bytes()).hexdigest(),
|
||||
runtime_bundle_sha256=hashlib.sha256(BUNDLE.read_bytes()).hexdigest(),
|
||||
@@ -52,19 +130,24 @@ class Handler(http.server.BaseHTTPRequestHandler):
|
||||
def do_GET(self):
|
||||
requests.append(self.path)
|
||||
wanted = '/api/v2/packages/inbe.arcade/' + classic['sha256'] + '.zx'
|
||||
if self.path != wanted:
|
||||
upgrade = updated_digest and self.path == '/api/v2/packages/inbe.arcade/' + updated_digest + '.zx'
|
||||
if self.path != wanted and not upgrade:
|
||||
self.send_error(404)
|
||||
return
|
||||
# The first response has the correct length and a deliberately bad hash.
|
||||
body = game if len(requests) > 1 else game[:-1] + bytes([game[-1] ^ 1])
|
||||
self.send_response(200)
|
||||
self.send_header('Content-Length', str(len(body)))
|
||||
self.send_header('Content-Length', str(updated_game.stat().st_size if upgrade else len(game)))
|
||||
self.end_headers()
|
||||
try:
|
||||
for start in range(0, len(body), 65536):
|
||||
self.wfile.write(body[start:start + 65536])
|
||||
self.wfile.flush()
|
||||
time.sleep(.02)
|
||||
if upgrade:
|
||||
with updated_game.open('rb') as source:
|
||||
shutil.copyfileobj(source, self.wfile, 65536)
|
||||
else:
|
||||
body = game if len(requests) > 1 else game[:-1] + bytes([game[-1] ^ 1])
|
||||
for start in range(0, len(body), 65536):
|
||||
self.wfile.write(body[start:start + 65536])
|
||||
self.wfile.flush()
|
||||
time.sleep(.02)
|
||||
except (BrokenPipeError, ConnectionResetError):
|
||||
pass
|
||||
|
||||
@@ -84,6 +167,14 @@ def stop(process):
|
||||
|
||||
with contextlib.ExitStack() as stack:
|
||||
profile = Path(stack.enter_context(tempfile.TemporaryDirectory(prefix='child-download-', dir=OUTPUT)))
|
||||
active_catalog = profile / 'arcade.zx'
|
||||
rewrite_assets(CATALOG, active_catalog,
|
||||
replacements={'assets/apps/catalog.json': json.dumps(catalog).encode()})
|
||||
if 'art' in catalog:
|
||||
cache = profile / 'packages'
|
||||
cache.mkdir()
|
||||
art_digest = catalog['art']['sha256']
|
||||
shutil.copyfile(payloads / (art_digest + '.zx'), cache / ('child-inbe.arcade-' + art_digest + '.zx'))
|
||||
audio = profile / 'alsa.conf'
|
||||
audio.write_text('pcm.!default { type null }\n')
|
||||
server = http.server.ThreadingHTTPServer(('127.0.0.1', 0), Handler)
|
||||
@@ -98,9 +189,10 @@ with contextlib.ExitStack() as stack:
|
||||
env.pop(key, None)
|
||||
env.update(driver.environment())
|
||||
env.update(APP_DATA_ROOT=str(profile), APP_NO_TRAY='1', YUE_DESKTOP_RECOVERY='0',
|
||||
INBE_NODE_APP_FILE=str(CATALOG),
|
||||
INBE_NODE_APP_FILE=str(active_catalog),
|
||||
INBE_LOCAL_PACKAGE_ORIGIN='http://127.0.0.1:' + str(server.server_port),
|
||||
NO_PROXY='127.0.0.1', SDL_VIDEODRIVER='x11', LIBGL_ALWAYS_SOFTWARE='1',
|
||||
NO_PROXY='127.0.0.1', http_proxy='http://127.0.0.1:9', https_proxy='http://127.0.0.1:9',
|
||||
SDL_VIDEODRIVER='x11', LIBGL_ALWAYS_SOFTWARE='1',
|
||||
LP_NUM_THREADS='2', ALSA_CONFIG_PATH=str(audio))
|
||||
display_log = stack.enter_context((OUTPUT / 'display.log').open('w'))
|
||||
display = subprocess.Popen(['Xvfb', ':975', '-noreset', '-displayfd', '1',
|
||||
@@ -175,11 +267,11 @@ with contextlib.ExitStack() as stack:
|
||||
# Discovery continues after the first painted frame. The catalog must
|
||||
# stay open while its declared games are still absent.
|
||||
time.sleep(1)
|
||||
assert driver.find(label='Play', role='button', visible=True), driver.text()
|
||||
driver.press(label='Play', role='button')
|
||||
assert driver.find(label='Download', role='button', visible=True), driver.text()
|
||||
driver.press(label='Download', role='button', index=0)
|
||||
driver.wait(role='modal')
|
||||
assert not requests, 'Opening the dialog downloaded before consent'
|
||||
driver.press(label='Download', role='button')
|
||||
driver.press(label='Download', role='button', index=len(driver.find(label='Download', role='button', visible=True)) - 1)
|
||||
wait_for_download('Download failed')
|
||||
assert not driver.find(contains='Level 1 / ', visible=True), 'Corrupt bytes opened'
|
||||
driver.press(label='Try again', role='button')
|
||||
@@ -191,12 +283,52 @@ with contextlib.ExitStack() as stack:
|
||||
with application('offline-restart'):
|
||||
open_arcade(driver)
|
||||
driver.wait_idle(frames=4)
|
||||
driver.press(label='Play', role='button')
|
||||
driver.press(label=classic['title'], role='button', index=0)
|
||||
wait_for_download('Level 1 / ')
|
||||
assert len(requests) == count, 'Restart downloaded the cached game again'
|
||||
|
||||
# An updated root catalog retains the installed identity, even when the
|
||||
# game has a new exact digest. Only that game's update may be downloaded.
|
||||
updated_game = profile / 'updated-game.zx'
|
||||
rewrite_assets(payloads / (classic['sha256'] + '.zx'), updated_game,
|
||||
additions={'assets/' + classic['expected_id'] + '/test-update.txt': b'updated game fixture'})
|
||||
updated_digest = digest_file(updated_game)
|
||||
updated_catalog = json.loads(json.dumps(catalog))
|
||||
updated_child = next(entry for entry in updated_catalog['children'] if entry['id'] == classic['id'])
|
||||
updated_child.update(sha256=updated_digest, bytes=updated_game.stat().st_size, version='999.0.1')
|
||||
rewrite_assets(CATALOG, active_catalog,
|
||||
replacements={'assets/apps/catalog.json': json.dumps(updated_catalog).encode()})
|
||||
with sqlite3.connect(profile / 'inbe.db') as db:
|
||||
db.execute("UPDATE settings SET value='1' WHERE user_id=? AND key='package_updates_allowed'", (user,))
|
||||
save_identity = hashlib.sha256(('local-development\n' + classic['id']).encode()).hexdigest()
|
||||
save_key = 'nested.' + save_identity + '.test_progress'
|
||||
save_value = '{"level":7,"score":420}'
|
||||
db.execute('INSERT INTO settings(user_id,key,value,updated_at) VALUES(?,?,?,1)',
|
||||
(user, save_key, save_value))
|
||||
with application('catalog-update'):
|
||||
open_arcade(driver)
|
||||
deadline = time.monotonic() + 60
|
||||
while len(requests) == count and time.monotonic() < deadline:
|
||||
driver.wait_idle(frames=2)
|
||||
time.sleep(.05)
|
||||
assert requests[count:] == ['/api/v2/packages/inbe.arcade/' + updated_digest + '.zx'], requests
|
||||
driver.wait(label='App options', role='button', timeout=60)
|
||||
driver.press(label=classic['title'], role='button', index=0)
|
||||
wait_for_download('Level 1 / ')
|
||||
assert not driver.find(role='modal', visible=True), 'Installed game required installation again'
|
||||
count = len(requests)
|
||||
with application('updated-offline-restart'):
|
||||
open_arcade(driver)
|
||||
driver.press(label=classic['title'], role='button', index=0)
|
||||
wait_for_download('Level 1 / ')
|
||||
assert len(requests) == count, 'Updated cached game downloaded on restart'
|
||||
with sqlite3.connect(profile / 'inbe.db') as db:
|
||||
assert db.execute('SELECT value FROM settings WHERE user_id=? AND key=?',
|
||||
(user, save_key)).fetchone() == (save_value,), 'Saved game record changed during update'
|
||||
|
||||
(OUTPUT / 'result.json').write_text(json.dumps(dict(
|
||||
passed=True, **identities, requests=requests, percentages=percentages,
|
||||
corrupt_payload_rejected=True, automatic_open=True, offline_restart=True), indent=2) + '\n')
|
||||
corrupt_payload_rejected=True, automatic_open=True, offline_restart=True,
|
||||
installed_game_update=True, updated_offline_restart=True), indent=2) + '\n')
|
||||
|
||||
print('Separate game download: visible progress, corruption rejection, retry, automatic open and offline restart passed')
|
||||
print('Arcade local tests passed: download consent, corruption rejection, retry, installed catalog update, saved progress and offline restarts.')
|
||||
@@ -100,6 +100,19 @@ class PhoneCheckGateTest(unittest.TestCase):
|
||||
self.assertEqual(phone.adb.call_args_list, [mock.call("get-state")])
|
||||
phone.shell.assert_not_called()
|
||||
|
||||
def test_practice_failure_still_closes_the_owned_app(self):
|
||||
phone = mock.Mock()
|
||||
phone.host = "local"
|
||||
phone.adb.side_effect = [b"device\n", b"Success\n"]
|
||||
phone.pid.side_effect = ["", "4321", ""]
|
||||
phone.screenshot.side_effect = RuntimeError("fixture screenshot failed")
|
||||
with mock.patch.object(phone_check, "apk_identity", return_value={"package": "fixture.debug"}), \
|
||||
mock.patch.object(phone_check.time, "sleep"):
|
||||
with self.assertRaisesRegex(RuntimeError, "fixture screenshot failed"):
|
||||
phone_check.check(phone, self.root / "candidate.apk", 60, self.root)
|
||||
self.assertEqual(phone.shell.call_args, mock.call("am", "force-stop", "fixture.debug"))
|
||||
self.assertEqual(phone.pid.call_args, mock.call("fixture.debug"))
|
||||
|
||||
def test_missing_process_is_empty_but_adb_failure_is_not_ignored(self):
|
||||
phone = phone_check.Phone("local", "Fixture")
|
||||
with mock.patch.object(phone, "shell", side_effect=subprocess.CalledProcessError(
|
||||
|
||||
@@ -14,5 +14,7 @@ Answer :: () -> s32 {
|
||||
ProfilePictureSelected(999) != 41 { return 6 }
|
||||
if ProfilePictureFromRemote(1) != 42 || ProfilePictureFromRemote(11) != 65 ||
|
||||
ProfilePictureFromRemote(126) != 126 || ProfilePictureFromRemote(999) != 0 { return 7 }
|
||||
if ProfilePictureFromRemote(62) != 62 || ProfilePictureFromRemote(63) != 63 ||
|
||||
ProfilePictureFromRemote(64) != 64 { return 8 }
|
||||
return 42
|
||||
}
|
||||
@@ -28,6 +28,9 @@ static int requests;
|
||||
int32_t ConnectionRequests(void) { return requests; }
|
||||
int32_t app_request_sync(void *app) { (void)app; requests++; return 1; }
|
||||
void app_reload_after_import(void *app, int32_t settings) { (void)app; (void)settings; }
|
||||
int32_t app_web_storage_flush_critical(int32_t timeout_ms, int32_t log_success) {
|
||||
(void)timeout_ms; (void)log_success; return 1;
|
||||
}
|
||||
int main(void) {
|
||||
int result = Check();
|
||||
if (result) fprintf(stderr, "Sync connection checks failed: %d\n", result);
|
||||
|
||||
+4
-4
@@ -6,8 +6,8 @@ IDI_APP_ICON ICON "inbe.ico"
|
||||
IDI_NOTIFICATION_ICON ICON "inbe.ico"
|
||||
|
||||
VS_VERSION_INFO VERSIONINFO
|
||||
FILEVERSION 2,1,56,0
|
||||
PRODUCTVERSION 2,1,56,0
|
||||
FILEVERSION 2,1,58,0
|
||||
PRODUCTVERSION 2,1,58,0
|
||||
FILEFLAGSMASK 0x3fL
|
||||
#ifdef _DEBUG
|
||||
FILEFLAGS 0x1L
|
||||
@@ -24,11 +24,11 @@ BEGIN
|
||||
BEGIN
|
||||
VALUE "CompanyName", "waozi"
|
||||
VALUE "FileDescription", "Inner Breeze"
|
||||
VALUE "FileVersion", "2.1.56"
|
||||
VALUE "FileVersion", "2.1.58"
|
||||
VALUE "InternalName", "breeze"
|
||||
VALUE "OriginalFilename", "breeze-windows-x86_64.exe"
|
||||
VALUE "ProductName", "Inner Breeze"
|
||||
VALUE "ProductVersion", "2.1.56"
|
||||
VALUE "ProductVersion", "2.1.58"
|
||||
END
|
||||
END
|
||||
BLOCK "VarFileInfo"
|
||||
|
||||
+36
-36
@@ -20,7 +20,7 @@
|
||||
},
|
||||
{
|
||||
"commit": "1cb9df183089a77c8a16448a556186f30b261a98",
|
||||
"dependencies": {"kryon": "p7213416dd56f3a5c"},
|
||||
"dependencies": {"kryon": "p88aa1ce527782b62"},
|
||||
"id": "p1b13dda539ed2a39",
|
||||
"name": "Kss",
|
||||
"ref": "master",
|
||||
@@ -28,28 +28,12 @@
|
||||
},
|
||||
{
|
||||
"commit": "bad2caaa84ef3eae61e40c99bf572d2b060d0ca2",
|
||||
"dependencies": {"kryon": "p7213416dd56f3a5c"},
|
||||
"dependencies": {"kryon": "p88aa1ce527782b62"},
|
||||
"id": "p20eb23d3e6db3711",
|
||||
"name": "Game2D",
|
||||
"ref": "master",
|
||||
"url": "https://github.com/kryonlabs/game2d.git"
|
||||
},
|
||||
{
|
||||
"commit": "b1e4ed4b0f7283e2b7a8ae7740f283d5729b3b04",
|
||||
"dependencies": {"crypto": "pc23fbf455e97614d", "kryon": "p7213416dd56f3a5c"},
|
||||
"id": "p4158fd507db6061e",
|
||||
"name": "Apps",
|
||||
"ref": "b1e4ed4b0f7283e2b7a8ae7740f283d5729b3b04",
|
||||
"url": "https://github.com/waozixyz/apps.git"
|
||||
},
|
||||
{
|
||||
"commit": "2062597cecba5ce1bf54a20e6d5a2bdda148a06b",
|
||||
"dependencies": {"daochi_client": "p9972fcdd2d5ba999", "kryon": "p7213416dd56f3a5c", "monocypher": "p809b4d31a48625a3", "qrcode": "p0dfa70137405b096"},
|
||||
"id": "p523d96ecdb68b57a",
|
||||
"name": "Entity",
|
||||
"ref": "master",
|
||||
"url": "https://github.com/waozixyz/entity.git"
|
||||
},
|
||||
{
|
||||
"commit": "fafa2cea97d0cb379d832086ba45a989fa6f9c8e",
|
||||
"dependencies": {},
|
||||
@@ -67,14 +51,6 @@
|
||||
"ref": "master",
|
||||
"url": "https://github.com/ziranlang/oqs.git"
|
||||
},
|
||||
{
|
||||
"commit": "5b2bfb71fef6111fcbaeb0446ba02ab6b0cd8f89",
|
||||
"dependencies": {"raylib": "p5a77c9c35110e925"},
|
||||
"id": "p7213416dd56f3a5c",
|
||||
"name": "kryon",
|
||||
"ref": "master",
|
||||
"url": "https://github.com/kryonlabs/kryon.git"
|
||||
},
|
||||
{
|
||||
"commit": "f5f0a19a5dc6c14a49adb3cd63ea79a60f6ba77b",
|
||||
"dependencies": {},
|
||||
@@ -84,6 +60,22 @@
|
||||
"source": true,
|
||||
"url": "https://github.com/LoupVaillant/Monocypher.git"
|
||||
},
|
||||
{
|
||||
"commit": "576b3e22f7b4e2d19be8f1914b2083d25200e950",
|
||||
"dependencies": {"raylib": "p5a77c9c35110e925"},
|
||||
"id": "p88aa1ce527782b62",
|
||||
"name": "kryon",
|
||||
"ref": "master",
|
||||
"url": "https://github.com/kryonlabs/kryon.git"
|
||||
},
|
||||
{
|
||||
"commit": "ef7af77d4520ede2ca9db92f86f4f5dbbccc4085",
|
||||
"dependencies": {"daochi_client": "pc7497174ec9a74a4", "kryon": "p88aa1ce527782b62", "monocypher": "p809b4d31a48625a3", "qrcode": "p0dfa70137405b096"},
|
||||
"id": "p8fbbbcae634fef4f",
|
||||
"name": "Entity",
|
||||
"ref": "master",
|
||||
"url": "https://github.com/waozixyz/entity.git"
|
||||
},
|
||||
{
|
||||
"commit": "8b81994303400255ddb0ee2da49044dbaef4397f",
|
||||
"dependencies": {},
|
||||
@@ -93,22 +85,22 @@
|
||||
"source": true,
|
||||
"url": "https://github.com/waozixyz/practices.git"
|
||||
},
|
||||
{
|
||||
"commit": "25d9f649c43a8de44a5fea602d2835e33e6ca999",
|
||||
"dependencies": {"crypto": "pc23fbf455e97614d", "oqs": "p7098ac9cd92f7e5f"},
|
||||
"id": "p9972fcdd2d5ba999",
|
||||
"name": "DaochiClient",
|
||||
"ref": "master",
|
||||
"url": "https://github.com/ziranlang/daochi-client.git"
|
||||
},
|
||||
{
|
||||
"commit": "3f888653b6b97010163d824c4cc72476be3214f3",
|
||||
"dependencies": {"kryon": "p7213416dd56f3a5c"},
|
||||
"dependencies": {"kryon": "p88aa1ce527782b62"},
|
||||
"id": "pab5377a2950368a2",
|
||||
"name": "plot",
|
||||
"ref": "master",
|
||||
"url": "https://github.com/kryonlabs/plot.git"
|
||||
},
|
||||
{
|
||||
"commit": "b31f9528acc99ac13c7d396edaa42c293be1325f",
|
||||
"dependencies": {"crypto": "pc23fbf455e97614d", "kryon": "p88aa1ce527782b62"},
|
||||
"id": "pb79af7eaf6037b09",
|
||||
"name": "Apps",
|
||||
"ref": "b31f9528acc99ac13c7d396edaa42c293be1325f",
|
||||
"url": "https://github.com/waozixyz/apps.git"
|
||||
},
|
||||
{
|
||||
"commit": "944826f70779a6b6cd53f6b06a75b36f4d8a2558",
|
||||
"dependencies": {},
|
||||
@@ -117,6 +109,14 @@
|
||||
"ref": "master",
|
||||
"url": "https://github.com/ziranlang/crypto.git"
|
||||
},
|
||||
{
|
||||
"commit": "f0f56d0ac48858cc14649cf3eff66a109fc0c388",
|
||||
"dependencies": {"crypto": "pc23fbf455e97614d", "oqs": "p7098ac9cd92f7e5f"},
|
||||
"id": "pc7497174ec9a74a4",
|
||||
"name": "DaochiClient",
|
||||
"ref": "master",
|
||||
"url": "https://github.com/ziranlang/daochi-client.git"
|
||||
},
|
||||
{
|
||||
"commit": "9ef1a3a130450d603abd029772422abd40cfcde0",
|
||||
"dependencies": {},
|
||||
@@ -154,7 +154,7 @@
|
||||
}
|
||||
],
|
||||
"root": {
|
||||
"dependencies": {"apps": "p4158fd507db6061e", "crypto": "pc23fbf455e97614d", "curl": "pd4bcd11b7d623073", "daochi_client": "p9972fcdd2d5ba999", "entity": "p523d96ecdb68b57a", "game2d": "p20eb23d3e6db3711", "kryon": "p7213416dd56f3a5c", "kss": "p1b13dda539ed2a39", "liboqs": "pecdb097af6ab16f7", "mingcute": "pe1027b9d16704793", "monocypher": "p809b4d31a48625a3", "oqs": "p7098ac9cd92f7e5f", "plot": "pab5377a2950368a2", "practices": "p9079dde0fcc11248", "qrcode": "p0dfa70137405b096", "rini": "p09fa77e94b0dfc6c", "sqlite": "peaa43c4b7ef72edf"},
|
||||
"dependencies": {"apps": "pb79af7eaf6037b09", "crypto": "pc23fbf455e97614d", "curl": "pd4bcd11b7d623073", "daochi_client": "pc7497174ec9a74a4", "entity": "p8fbbbcae634fef4f", "game2d": "p20eb23d3e6db3711", "kryon": "p88aa1ce527782b62", "kss": "p1b13dda539ed2a39", "liboqs": "pecdb097af6ab16f7", "mingcute": "pe1027b9d16704793", "monocypher": "p809b4d31a48625a3", "oqs": "p7098ac9cd92f7e5f", "plot": "pab5377a2950368a2", "practices": "p9079dde0fcc11248", "qrcode": "p0dfa70137405b096", "rini": "p09fa77e94b0dfc6c", "sqlite": "peaa43c4b7ef72edf"},
|
||||
"name": "Inbe"
|
||||
},
|
||||
"toolchain": {
|
||||
|
||||
+1
-1
@@ -74,7 +74,7 @@ ref = "master"
|
||||
|
||||
[dependencies.apps]
|
||||
git = "https://github.com/waozixyz/apps.git"
|
||||
ref = "b1e4ed4b0f7283e2b7a8ae7740f283d5729b3b04"
|
||||
ref = "b31f9528acc99ac13c7d396edaa42c293be1325f"
|
||||
|
||||
# The practices' pictures, course data and recordings (scripts/practice_media.py).
|
||||
[dependencies.practices]
|
||||
|
||||
Reference in new issue
Block a user