Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c9cf77d05a | ||
|
|
8315898d00 | ||
|
|
f61a9e9094 | ||
|
|
f7cb61cf57 | ||
|
|
407e4fa2a0 | ||
|
|
7093dd1a51 | ||
|
|
f78cd854c8 | ||
|
|
44725b5bf6 | ||
|
|
894552e1b6 | ||
|
|
2695cf99a1 | ||
|
|
62317fa294 | ||
|
|
b492e59c90 | ||
|
|
86e529db36 | ||
|
|
a9248d0645 | ||
|
|
0d6f853775 | ||
|
|
841018451d | ||
|
|
15d3176a0b | ||
|
|
67e55bc931 | ||
|
|
8d3265732e | ||
|
|
15eab9f75c | ||
|
|
ca6d0c1a51 | ||
|
|
edac1da85c | ||
|
|
48ee4615d1 | ||
|
|
631a3d4666 | ||
|
|
0a325d2dc7 | ||
|
|
32e76391ef | ||
|
|
57af29796e | ||
|
|
d87a9fd7e7 | ||
|
|
6396281b9c | ||
|
|
cac8afab9e | ||
|
|
39c11965ca | ||
|
|
2f45dc30a1 | ||
|
|
0b85606f98 | ||
|
|
2b3183eb38 | ||
|
|
810436f3bb | ||
|
|
c51911383f | ||
|
|
a0ea5d987c | ||
|
|
b7b470ca1c | ||
|
|
63acc477e5 | ||
|
|
aebc742384 | ||
|
|
37856cef75 | ||
|
|
240ae3345f | ||
|
|
8b314ef21f | ||
|
|
604f1adc0b | ||
|
|
05d55bf845 | ||
|
|
393f62e5f0 | ||
|
|
a12cdac763 | ||
|
|
5da72c3710 | ||
|
|
73b6e5a2dc | ||
|
|
9930131571 | ||
|
|
8f8114b8d7 | ||
|
|
cfd92e587a | ||
|
|
e6aa9b1d84 | ||
|
|
e625044648 | ||
|
|
f28daf7668 |
No files matched your search
@@ -0,0 +1,122 @@
|
||||
name: Netlify
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
concurrency:
|
||||
group: netlify-${{ github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
build:
|
||||
name: Build Site
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
|
||||
- name: Install Packages
|
||||
run: |
|
||||
set -euo pipefail
|
||||
mapfile -t packages < .github/apt/web-packages.txt
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y "${packages[@]}" tcl
|
||||
|
||||
- name: Set Up Emscripten
|
||||
run: |
|
||||
set -euo pipefail
|
||||
git clone --depth 1 https://github.com/emscripten-core/emsdk.git "$HOME/emsdk"
|
||||
"$HOME/emsdk/emsdk" install latest
|
||||
"$HOME/emsdk/emsdk" activate latest
|
||||
echo "EMSDK=$HOME/emsdk" >> "$GITHUB_ENV"
|
||||
echo "EM_CONFIG=$HOME/emsdk/.emscripten" >> "$GITHUB_ENV"
|
||||
echo "$HOME/emsdk" >> "$GITHUB_PATH"
|
||||
echo "$HOME/emsdk/upstream/emscripten" >> "$GITHUB_PATH"
|
||||
|
||||
- name: Build Site
|
||||
run: |
|
||||
set -euo pipefail
|
||||
make site
|
||||
test -f build/site/index.html
|
||||
test -f build/site/build/web/index.html
|
||||
test -f build/site/build/web/index.js
|
||||
test -f build/site/build/web/index.wasm
|
||||
|
||||
- name: Upload Site Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: inbe-site
|
||||
path: build/site
|
||||
if-no-files-found: error
|
||||
|
||||
deploy-preview:
|
||||
name: Deploy Preview
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: github.event_name == 'pull_request'
|
||||
|
||||
steps:
|
||||
- name: Download Site Artifact
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: inbe-site
|
||||
path: build/site
|
||||
|
||||
- name: Install Netlify CLI
|
||||
run: npm install --global netlify-cli
|
||||
|
||||
- name: Deploy Preview To Netlify
|
||||
run: |
|
||||
set -euo pipefail
|
||||
auth_token="$(printf '%s' "$NETLIFY_AUTH_TOKEN" | tr -d '\r\n')"
|
||||
site_id="$(printf '%s' "$NETLIFY_SITE_ID" | tr -d '\r\n')"
|
||||
netlify deploy \
|
||||
--dir build/site \
|
||||
--alias "pr-${{ github.event.pull_request.number }}" \
|
||||
--message "Preview ${{ github.event.pull_request.number }}" \
|
||||
--auth "$auth_token" \
|
||||
--site "$site_id"
|
||||
env:
|
||||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
||||
|
||||
deploy-production:
|
||||
name: Deploy Production
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
|
||||
|
||||
steps:
|
||||
- name: Download Site Artifact
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: inbe-site
|
||||
path: build/site
|
||||
|
||||
- name: Install Netlify CLI
|
||||
run: npm install --global netlify-cli
|
||||
|
||||
- name: Deploy Production To Netlify
|
||||
run: |
|
||||
set -euo pipefail
|
||||
auth_token="$(printf '%s' "$NETLIFY_AUTH_TOKEN" | tr -d '\r\n')"
|
||||
site_id="$(printf '%s' "$NETLIFY_SITE_ID" | tr -d '\r\n')"
|
||||
netlify deploy \
|
||||
--dir build/site \
|
||||
--prod \
|
||||
--message "Production ${{ github.sha }}" \
|
||||
--auth "$auth_token" \
|
||||
--site "$site_id"
|
||||
env:
|
||||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
|
||||
@@ -169,7 +169,7 @@ jobs:
|
||||
|
||||
build-linux:
|
||||
name: Build Linux
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-22.04
|
||||
needs: test
|
||||
env:
|
||||
APT_CACHE_DIR: /tmp/apt-cache
|
||||
@@ -229,6 +229,37 @@ jobs:
|
||||
find build/dist/linux -maxdepth 1 -type f -name '*.AppImage' -exec cp {} build/release/linux/ \;
|
||||
test -n "$(find build/release/linux -type f -print -quit)"
|
||||
|
||||
- name: Smoke Test Linux AppImage
|
||||
env:
|
||||
APPIMAGE_EXTRACT_AND_RUN: "1"
|
||||
DISPLAY: ":99"
|
||||
run: |
|
||||
set -euo pipefail
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y xvfb x11-utils
|
||||
appimage="$(find build/release/linux -maxdepth 1 -type f -name '*.AppImage' | head -n 1)"
|
||||
chmod +x "$appimage"
|
||||
Xvfb "$DISPLAY" -screen 0 800x600x24 >/tmp/inbe-xvfb.log 2>&1 &
|
||||
xvfb_pid=$!
|
||||
trap 'kill "$app_pid" "$xvfb_pid" >/dev/null 2>&1 || true' EXIT
|
||||
sleep 2
|
||||
"$appimage" >/tmp/inbe-appimage.log 2>&1 &
|
||||
app_pid=$!
|
||||
for _ in $(seq 1 30); do
|
||||
if xwininfo -tree -root | grep -q 'Inner Breeze'; then
|
||||
exit 0
|
||||
fi
|
||||
if ! kill -0 "$app_pid" >/dev/null 2>&1; then
|
||||
echo "AppImage exited before opening a window"
|
||||
cat /tmp/inbe-appimage.log || true
|
||||
exit 1
|
||||
fi
|
||||
sleep 1
|
||||
done
|
||||
echo "AppImage did not open an X11 window within 30 seconds"
|
||||
cat /tmp/inbe-appimage.log || true
|
||||
exit 1
|
||||
|
||||
- name: Upload Linux Artifact
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
@@ -264,7 +295,7 @@ jobs:
|
||||
path: |
|
||||
vendor-builds/windows
|
||||
vendor-builds/sqlite
|
||||
key: windows-vendor-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('Makefile', 'vendor/raylib/src/**', 'vendor/curl/**', 'vendor/sqlite/**') }}
|
||||
key: windows-vendor-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('Makefile', 'vendor/flint/vendor/raylib/src/**', 'vendor/curl/**', 'vendor/sqlite/**') }}
|
||||
restore-keys: |
|
||||
windows-vendor-${{ runner.os }}-${{ runner.arch }}-
|
||||
|
||||
@@ -340,7 +371,7 @@ jobs:
|
||||
path: |
|
||||
droid/app/.cxx
|
||||
droid/app/build/intermediates/cxx
|
||||
key: android-native-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('droid/app/src/main/cpp/CMakeLists.txt', 'droid/app/build.gradle', 'src/**/*.c', 'src/**/*.h', 'flint/src/**/*.c', 'flint/include/**/*.h', 'vendor/raylib/src/**') }}
|
||||
key: android-native-${{ runner.os }}-${{ runner.arch }}-${{ hashFiles('droid/app/src/main/cpp/CMakeLists.txt', 'droid/app/build.gradle', 'src/**/*.c', 'src/**/*.h', 'flint/src/**/*.c', 'flint/include/**/*.h', 'vendor/flint/vendor/raylib/src/**') }}
|
||||
restore-keys: |
|
||||
android-native-${{ runner.os }}-${{ runner.arch }}-
|
||||
|
||||
@@ -362,7 +393,7 @@ jobs:
|
||||
- name: Copy Android Assets
|
||||
run: ./scripts/copy-android-assets.sh
|
||||
|
||||
- name: Build Android APK
|
||||
- name: Build Android APK and AAB
|
||||
env:
|
||||
KEYSTORE_PASSWORD: ${{ secrets.KEYSTORE_PASSWORD }}
|
||||
KEY_ALIAS: ${{ secrets.KEY_ALIAS }}
|
||||
@@ -374,7 +405,13 @@ jobs:
|
||||
-Pkeystore.alias="$KEY_ALIAS" \
|
||||
-Pkeystore.password="$KEYSTORE_PASSWORD" \
|
||||
--stacktrace
|
||||
./droid/gradlew -p droid bundleRelease \
|
||||
-Pkeystore.path="$HOME/.android/inbe-release.keystore" \
|
||||
-Pkeystore.alias="$KEY_ALIAS" \
|
||||
-Pkeystore.password="$KEYSTORE_PASSWORD" \
|
||||
--stacktrace
|
||||
make android-copy-release-apks
|
||||
make android-copy-bundle
|
||||
|
||||
- name: Collect Android Release Files
|
||||
run: |
|
||||
@@ -386,6 +423,12 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
cp "build/android/inbe-$VERSION.apk" build/release/android/
|
||||
aab="$(find droid/app/build/outputs/bundle/release build/android -type f -name '*.aab' | head -n 1)"
|
||||
if [ -z "$aab" ]; then
|
||||
echo "No release AAB was produced"
|
||||
exit 1
|
||||
fi
|
||||
cp "$aab" "build/release/android/inbe-$VERSION.aab"
|
||||
|
||||
- name: Upload Android Artifacts
|
||||
uses: actions/upload-artifact@v4
|
||||
@@ -403,6 +446,10 @@ jobs:
|
||||
- build-linux
|
||||
- build-windows
|
||||
- build-android
|
||||
outputs:
|
||||
tag_pushed: ${{ steps.tag_version.outputs.tag_pushed }}
|
||||
tag_name: ${{ steps.tag_version.outputs.tag_name }}
|
||||
version: ${{ steps.tag_version.outputs.version }}
|
||||
|
||||
steps:
|
||||
- name: Checkout Repository
|
||||
@@ -432,6 +479,8 @@ jobs:
|
||||
exit 1
|
||||
fi
|
||||
TAG="v$VERSION"
|
||||
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
|
||||
echo "tag_name=$TAG" >> "$GITHUB_OUTPUT"
|
||||
if git rev-parse "$TAG" >/dev/null 2>&1; then
|
||||
echo "Tag $TAG exists, skipping release"
|
||||
echo "tag_pushed=false" >> "$GITHUB_OUTPUT"
|
||||
@@ -441,7 +490,6 @@ jobs:
|
||||
git tag -a "$TAG" -m "Release $VERSION"
|
||||
git push origin "$TAG"
|
||||
echo "tag_pushed=true" >> "$GITHUB_OUTPUT"
|
||||
echo "tag_name=$TAG" >> "$GITHUB_OUTPUT"
|
||||
fi
|
||||
|
||||
- name: Create GitHub Release
|
||||
@@ -454,3 +502,192 @@ jobs:
|
||||
draft: false
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
publish-itch:
|
||||
name: Publish itch.io
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- build-web
|
||||
- release
|
||||
if: needs.release.outputs.tag_pushed == 'true'
|
||||
env:
|
||||
BUTLER_API_KEY: ${{ secrets.ITCH_API_KEY }}
|
||||
|
||||
steps:
|
||||
- name: Check itch.io Secret
|
||||
run: |
|
||||
set -euo pipefail
|
||||
if [ -z "${BUTLER_API_KEY:-}" ]; then
|
||||
echo "ITCH_API_KEY secret is required to publish itch.io"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Download Release Artifacts
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
pattern: release-*
|
||||
path: build/release
|
||||
merge-multiple: true
|
||||
|
||||
- name: Install Butler
|
||||
run: |
|
||||
set -euo pipefail
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y unzip
|
||||
curl -fsSL \
|
||||
https://broth.itch.zone/butler/linux-amd64/LATEST/archive/default \
|
||||
-o "$RUNNER_TEMP/butler.zip"
|
||||
mkdir -p "$RUNNER_TEMP/butler"
|
||||
unzip -q "$RUNNER_TEMP/butler.zip" -d "$RUNNER_TEMP/butler"
|
||||
chmod +x "$RUNNER_TEMP/butler/butler"
|
||||
echo "$RUNNER_TEMP/butler" >> "$GITHUB_PATH"
|
||||
|
||||
- name: Check Butler
|
||||
run: |
|
||||
set -euo pipefail
|
||||
butler version
|
||||
|
||||
- name: Publish Release Builds to itch.io
|
||||
run: |
|
||||
set -euo pipefail
|
||||
VERSION="${{ needs.release.outputs.version }}"
|
||||
|
||||
web_zip="build/release/inbe-web.zip"
|
||||
android_apk="build/release/inbe-$VERSION.apk"
|
||||
windows_zip="build/release/inbe-windows.zip"
|
||||
linux_appimage="build/release/inbe-linux-x86_64.AppImage"
|
||||
|
||||
test -f "$web_zip"
|
||||
test -f "$android_apk"
|
||||
test -f "$windows_zip"
|
||||
test -f "$linux_appimage"
|
||||
|
||||
mkdir -p build/itch/inbe-web
|
||||
unzip -q "$web_zip" -d build/itch/inbe-web
|
||||
|
||||
butler push build/itch/inbe-web waozi/inbe:html5 --userversion "$VERSION"
|
||||
butler push "$android_apk" waozi/inbe:android --userversion "$VERSION"
|
||||
butler push "$windows_zip" waozi/inbe:windows --userversion "$VERSION"
|
||||
butler push "$linux_appimage" waozi/inbe:linux --userversion "$VERSION"
|
||||
|
||||
publish-google-play:
|
||||
name: Publish Google Play Alpha
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- build-android
|
||||
- release
|
||||
if: needs.release.outputs.tag_pushed == 'true'
|
||||
|
||||
steps:
|
||||
- name: Check Google Play Secret
|
||||
env:
|
||||
PLAY_STORE_JSON_KEY: ${{ secrets.PLAY_STORE_JSON_KEY }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
if [ -z "${PLAY_STORE_JSON_KEY:-}" ]; then
|
||||
echo "PLAY_STORE_JSON_KEY secret is required to publish Google Play"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Download Android Release Artifact
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: release-android
|
||||
path: build/release/android
|
||||
|
||||
- name: Publish AAB to Closed Testing Alpha
|
||||
uses: r0adkll/upload-google-play@v1
|
||||
with:
|
||||
serviceAccountJsonPlainText: ${{ secrets.PLAY_STORE_JSON_KEY }}
|
||||
packageName: xyz.waozi.inbe
|
||||
releaseFiles: build/release/android/*.aab
|
||||
tracks: alpha
|
||||
status: completed
|
||||
|
||||
publish-chrome-web-store:
|
||||
name: Publish Chrome Web Store
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- build-chrome-extension
|
||||
- release
|
||||
if: needs.release.outputs.tag_pushed == 'true'
|
||||
|
||||
steps:
|
||||
- name: Check Chrome Web Store Secrets
|
||||
env:
|
||||
CHROME_CLIENT_ID: ${{ secrets.CHROME_CLIENT_ID }}
|
||||
CHROME_CLIENT_SECRET: ${{ secrets.CHROME_CLIENT_SECRET }}
|
||||
CHROME_REFRESH_TOKEN: ${{ secrets.CHROME_REFRESH_TOKEN }}
|
||||
run: |
|
||||
set -euo pipefail
|
||||
if [ -z "${CHROME_CLIENT_ID:-}" ]; then
|
||||
echo "CHROME_CLIENT_ID secret is required to publish Chrome Web Store"
|
||||
exit 1
|
||||
fi
|
||||
if [ -z "${CHROME_CLIENT_SECRET:-}" ]; then
|
||||
echo "CHROME_CLIENT_SECRET secret is required to publish Chrome Web Store"
|
||||
exit 1
|
||||
fi
|
||||
if [ -z "${CHROME_REFRESH_TOKEN:-}" ]; then
|
||||
echo "CHROME_REFRESH_TOKEN secret is required to publish Chrome Web Store"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
- name: Download Chrome Extension Artifact
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: release-chrome-web-store
|
||||
path: build/release/chrome-web-store
|
||||
|
||||
- name: Publish Chrome Extension
|
||||
env:
|
||||
CHROME_CLIENT_ID: ${{ secrets.CHROME_CLIENT_ID }}
|
||||
CHROME_CLIENT_SECRET: ${{ secrets.CHROME_CLIENT_SECRET }}
|
||||
CHROME_REFRESH_TOKEN: ${{ secrets.CHROME_REFRESH_TOKEN }}
|
||||
CHROME_EXTENSION_ID: lballhghblaenelehneigekpofgcaifa
|
||||
CHROME_EXTENSION_ZIP: build/release/chrome-web-store/inbe-chrome-web-store.zip
|
||||
run: |
|
||||
set -euo pipefail
|
||||
|
||||
token_response="$(curl --fail --silent --show-error \
|
||||
--request POST \
|
||||
--data-urlencode "client_id=${CHROME_CLIENT_ID}" \
|
||||
--data-urlencode "client_secret=${CHROME_CLIENT_SECRET}" \
|
||||
--data-urlencode "refresh_token=${CHROME_REFRESH_TOKEN}" \
|
||||
--data-urlencode "grant_type=refresh_token" \
|
||||
https://oauth2.googleapis.com/token)"
|
||||
|
||||
access_token="$(python3 -c 'import json, sys; print(json.load(sys.stdin)["access_token"])' <<< "$token_response")"
|
||||
|
||||
upload_response="$(curl --fail --silent --show-error \
|
||||
--request PUT \
|
||||
--header "Authorization: Bearer ${access_token}" \
|
||||
--header "x-goog-api-version: 2" \
|
||||
--upload-file "${CHROME_EXTENSION_ZIP}" \
|
||||
"https://www.googleapis.com/upload/chromewebstore/v1.1/items/${CHROME_EXTENSION_ID}")"
|
||||
|
||||
python3 - "$upload_response" <<'PY'
|
||||
import json
|
||||
import sys
|
||||
|
||||
response = json.loads(sys.argv[1])
|
||||
if response.get("uploadState") != "SUCCESS":
|
||||
print(json.dumps(response, indent=2), file=sys.stderr)
|
||||
raise SystemExit("Chrome Web Store upload failed")
|
||||
PY
|
||||
|
||||
publish_response="$(curl --fail --silent --show-error \
|
||||
--request POST \
|
||||
--header "Authorization: Bearer ${access_token}" \
|
||||
--header "x-goog-api-version: 2" \
|
||||
"https://www.googleapis.com/chromewebstore/v1.1/items/${CHROME_EXTENSION_ID}/publish")"
|
||||
|
||||
python3 - "$publish_response" <<'PY'
|
||||
import json
|
||||
import sys
|
||||
|
||||
response = json.loads(sys.argv[1])
|
||||
if "OK" not in response.get("status", []):
|
||||
print(json.dumps(response, indent=2), file=sys.stderr)
|
||||
raise SystemExit("Chrome Web Store publish failed")
|
||||
PY
|
||||
@@ -1,21 +1,9 @@
|
||||
[submodule "vendor/raylib"]
|
||||
path = vendor/raylib
|
||||
url = https://github.com/raysan5/raylib.git
|
||||
[submodule "vendor/rini"]
|
||||
path = vendor/rini
|
||||
url = https://github.com/raysan5/rini.git
|
||||
[submodule "vendor/otfchop"]
|
||||
path = vendor/otfchop
|
||||
url = https://github.com/waozixyz/otfchop
|
||||
[submodule "vendor/sqlite"]
|
||||
path = vendor/sqlite
|
||||
url = https://github.com/sqlite/sqlite
|
||||
[submodule "vendor/liboqs"]
|
||||
path = vendor/liboqs
|
||||
url = https://github.com/open-quantum-safe/liboqs.git
|
||||
[submodule "vendor/curl"]
|
||||
path = vendor/curl
|
||||
url = https://github.com/curl/curl.git
|
||||
[submodule "vendor/flint"]
|
||||
path = vendor/flint
|
||||
url = [email protected]:waozixyz/flint.git
|
||||
@@ -1,4 +1,81 @@
|
||||
# Changelog
|
||||
## [1.7.0] - 2026-06-28
|
||||
### Changed
|
||||
- Rework Android safe-area handling to use one native inset path with stable bottom navigation spacing.
|
||||
- Move leaderboard stats to synced source data, with local current-user rows shown immediately.
|
||||
|
||||
### Fixed
|
||||
- Fix profile/friend sync freshness, leaderboard empty states, modal input capture, pet asset embedding, and wrapped text previews.
|
||||
|
||||
## [1.6.6] - 2026-06-28
|
||||
### Changed
|
||||
- updated the practice screen ui/ux
|
||||
|
||||
## [1.6.5] - 2026-06-28
|
||||
### Fixed
|
||||
- Repair habit-day sync for zero-count completions.
|
||||
- Require liboqs at build time for every sync-enabled target.
|
||||
|
||||
## [1.6.4] - 2026-06-27
|
||||
### Changed
|
||||
- Move meditation duration selection into practice configuration with custom time support.
|
||||
- Add centered in-session meditation add-time controls.
|
||||
- Use Flint-managed liboqs, LibreSSL, and curl build paths.
|
||||
|
||||
### Fixed
|
||||
- Fix Android native build to use Flint's liboqs submodule.
|
||||
|
||||
## [1.6.3] - 2026-06-27
|
||||
### Changed
|
||||
- Improve theme, habit, and localization UI polish
|
||||
|
||||
## [1.6.2] - 2026-06-27
|
||||
### Changed
|
||||
- Improve sun salutation
|
||||
|
||||
## [1.6.1] - 2026-06-27
|
||||
### Changed
|
||||
- Improved notification in session
|
||||
- Standardized settings screen1
|
||||
|
||||
## [1.6.0] - 2026-06-26
|
||||
### Added
|
||||
- Sun Salutation practice with Yoga habit sync support.
|
||||
|
||||
### Changed
|
||||
- Improve sync reliability and review handling.
|
||||
|
||||
## [1.5.9] - 2026-06-26
|
||||
### Fixed
|
||||
- Android session notification and wakelock for screen-locked playback
|
||||
|
||||
## [1.5.8] - 2026-06-25
|
||||
### Fixed
|
||||
- Background play for meditation practice
|
||||
|
||||
## [1.5.7] - 2026-06-25
|
||||
- Fix test music
|
||||
|
||||
## [1.5.6] - 2026-06-24
|
||||
### Fixed
|
||||
- Modal button issue
|
||||
|
||||
## [1.5.5] - 2026-06-24
|
||||
### Fixed
|
||||
- modal capture bug
|
||||
- fix sync diff
|
||||
|
||||
## [1.5.4] - 2026-06-24
|
||||
### Changed
|
||||
- Use Flint-managed modal handling so modal dialogs block background input consistently.
|
||||
- Add optional sync account aliases, with compact public ID display and full ID reveal modal.
|
||||
- Make sync state tracking more robust with snapshot hash checks and review flow for unresolved differences.
|
||||
- Use Flint's built-in font chopping pipeline and verify multilingual locale glyph coverage.
|
||||
|
||||
## [1.5.3] - 2026-06-23
|
||||
### Fixed
|
||||
- modal issues
|
||||
|
||||
## [1.5.2] - 2026-06-23
|
||||
### Changed
|
||||
- let you disable screen transitions
|
||||
|
||||
@@ -47,6 +47,9 @@ CLICK_BIN := $(CLICK_BIN_DIR)/$(APP_NAME)
|
||||
CLICK_BIN_INPUT := $(if $(strip $(CLICK_BIN_SOURCE)),$(CLICK_BIN_SOURCE),$(CLICK_BIN))
|
||||
CLICK_RAYLIB_BUILD_DIR := $(VENDOR_BUILD_DIR)/click/$(CLICK_ARCH)/raylib
|
||||
CLICK_RAYLIB_A := $(CLICK_RAYLIB_BUILD_DIR)/libraylib.a
|
||||
CLICK_LIBOQS_BUILD_DIR := $(VENDOR_BUILD_DIR)/click/$(CLICK_ARCH)/liboqs
|
||||
CLICK_LIBOQS_A := $(CLICK_LIBOQS_BUILD_DIR)/lib/liboqs.a
|
||||
CLICK_LIBOQS_INCLUDE := -I$(CLICK_LIBOQS_BUILD_DIR)/include
|
||||
CLICK_PATCHELF_INTERPRETER ?= /lib/ld-linux-aarch64.so.1
|
||||
CLICK_RUNTIME_LIBS ?= $(AARCH64_CLICK_RUNTIME_LIBS)
|
||||
WINDOWS_OBJ_DIR := $(BUILD_OBJ_DIR)/windows
|
||||
@@ -61,7 +64,8 @@ CHROME_WEB_STORE_DIR := $(BUILD_DIST_DIR)/chrome-web-store
|
||||
VERSION_FILE := src/core/version.h
|
||||
APP_VERSION := $(shell sed -n 's/^#define INBE_VERSION_STRING "\([^"]*\)".*/\1/p' $(VERSION_FILE) 2>/dev/null)
|
||||
|
||||
RAYLIB_DIR := vendor/raylib/src
|
||||
FLINT_DIR := vendor/flint
|
||||
RAYLIB_DIR = $(FLINT_DIR)/vendor/raylib/src
|
||||
RAYLIB_BUILD_DIR := $(VENDOR_BUILD_DIR)/linux/$(ARCH)/raylib
|
||||
RAYLIB_A := $(RAYLIB_BUILD_DIR)/libraylib.a
|
||||
WIN64_ARCH := x86_64
|
||||
@@ -69,6 +73,7 @@ WIN64_CC ?= $(or $(WIN_CC),x86_64-w64-mingw32-gcc)
|
||||
WIN64_AR ?= $(or $(WIN_AR),x86_64-w64-mingw32-ar)
|
||||
WIN64_RANLIB ?= $(or $(WIN_RANLIB),x86_64-w64-mingw32-ranlib)
|
||||
WIN64_STRIP ?= $(or $(WIN_STRIP),x86_64-w64-mingw32-strip)
|
||||
WIN64_CMAKE_SYSTEM_PROCESSOR ?= x86_64
|
||||
WIN64_CC_PATH := $(shell command -v $(WIN64_CC) 2>/dev/null || printf '%s' $(WIN64_CC))
|
||||
WIN64_AR_PATH := $(shell command -v $(WIN64_AR) 2>/dev/null || printf '%s' $(WIN64_AR))
|
||||
WIN64_RANLIB_PATH := $(shell command -v $(WIN64_RANLIB) 2>/dev/null || printf '%s' $(WIN64_RANLIB))
|
||||
@@ -77,6 +82,7 @@ WIN32_CC ?= i686-w64-mingw32-gcc
|
||||
WIN32_AR ?= i686-w64-mingw32-ar
|
||||
WIN32_RANLIB ?= i686-w64-mingw32-ranlib
|
||||
WIN32_STRIP ?= i686-w64-mingw32-strip
|
||||
WIN32_CMAKE_SYSTEM_PROCESSOR ?= x86
|
||||
WIN32_CC_PATH := $(shell command -v $(WIN32_CC) 2>/dev/null || printf '%s' $(WIN32_CC))
|
||||
WIN32_AR_PATH := $(shell command -v $(WIN32_AR) 2>/dev/null || printf '%s' $(WIN32_AR))
|
||||
WIN32_RANLIB_PATH := $(shell command -v $(WIN32_RANLIB) 2>/dev/null || printf '%s' $(WIN32_RANLIB))
|
||||
@@ -87,14 +93,19 @@ WIN32_RAYLIB_A := $(WIN32_RAYLIB_BUILD_DIR)/libraylib.a
|
||||
WIN64_CURL_BUILD_DIR := $(VENDOR_BUILD_DIR)/windows/$(WIN64_ARCH)/curl
|
||||
WIN64_CURL_INCLUDE_DIR := $(WIN64_CURL_BUILD_DIR)/include
|
||||
WIN64_CURL_A := $(WIN64_CURL_BUILD_DIR)/lib/libcurl.a
|
||||
WIN64_LIBOQS_BUILD_DIR := $(VENDOR_BUILD_DIR)/windows/$(WIN64_ARCH)/liboqs
|
||||
WIN64_LIBOQS_A := $(WIN64_LIBOQS_BUILD_DIR)/lib/liboqs.a
|
||||
WIN64_LIBOQS_INCLUDE := -I$(WIN64_LIBOQS_BUILD_DIR)/include
|
||||
WIN32_CURL_BUILD_DIR := $(VENDOR_BUILD_DIR)/windows/$(WIN32_ARCH)/curl
|
||||
WIN32_CURL_INCLUDE_DIR := $(WIN32_CURL_BUILD_DIR)/include
|
||||
WIN32_CURL_A := $(WIN32_CURL_BUILD_DIR)/lib/libcurl.a
|
||||
WIN32_LIBOQS_BUILD_DIR := $(VENDOR_BUILD_DIR)/windows/$(WIN32_ARCH)/liboqs
|
||||
WIN32_LIBOQS_A := $(WIN32_LIBOQS_BUILD_DIR)/lib/liboqs.a
|
||||
WIN32_LIBOQS_INCLUDE := -I$(WIN32_LIBOQS_BUILD_DIR)/include
|
||||
WEB_RAYLIB_BUILD_DIR := $(VENDOR_BUILD_DIR)/web/raylib
|
||||
WEB_RAYLIB_A := $(WEB_RAYLIB_BUILD_DIR)/libraylib.web.a
|
||||
RAYLIB_SOURCES := $(shell find $(RAYLIB_DIR) -type f \( -name '*.c' -o -name '*.h' \))
|
||||
|
||||
FLINT_DIR := vendor/flint
|
||||
FLINT_ICON_FILES := $(wildcard $(FLINT_DIR)/icons/*.png)
|
||||
FLINT_ICON_ASSETS_C := $(FLINT_DIR)/src/flint_icon_assets.c
|
||||
FLINT_ICON_STAMP := $(BUILD_OBJ_DIR)/flint-icons.sha256
|
||||
@@ -102,22 +113,37 @@ FLINT_SRCS := $(filter-out $(FLINT_ICON_ASSETS_C),$(wildcard $(FLINT_DIR)/src/*.
|
||||
FLINT_WEB_SRCS := $(filter-out $(FLINT_DIR)/src/flint_file_dialog.c,$(FLINT_SRCS))
|
||||
FLINT_WINDOWS_SRCS := $(filter-out $(FLINT_DIR)/src/flint_file_dialog.c,$(FLINT_SRCS))
|
||||
FLINT_INCLUDE := -I$(FLINT_DIR)/include
|
||||
CURL_DIR := vendor/curl
|
||||
CURL_BUILD_DIR := $(VENDOR_BUILD_DIR)/linux/$(ARCH)/curl
|
||||
CURL_INCLUDE_DIR := $(CURL_BUILD_DIR)/include
|
||||
CURL_LIB_DIR := $(CURL_BUILD_DIR)/lib64
|
||||
CURL_SO := $(CURL_LIB_DIR)/libcurl.so
|
||||
CURL_PROTOCOL_CHECK := $(CURL_BUILD_DIR)/.protocols-ok
|
||||
OPENSSL_ROOT_DIR ?= $(shell pkg-config --variable=prefix openssl 2>/dev/null)
|
||||
OPENSSL_CMAKE_OPT := $(if $(strip $(OPENSSL_ROOT_DIR)),-DOPENSSL_ROOT_DIR=$(OPENSSL_ROOT_DIR),)
|
||||
OPENSSL_INCLUDE_CMAKE_OPT := $(if $(strip $(OPENSSL_INCLUDE_DIR)),-DOPENSSL_INCLUDE_DIR=$(OPENSSL_INCLUDE_DIR),)
|
||||
OPENSSL_SSL_CMAKE_OPT := $(if $(strip $(OPENSSL_SSL_LIBRARY)),-DOPENSSL_SSL_LIBRARY=$(OPENSSL_SSL_LIBRARY),)
|
||||
OPENSSL_CRYPTO_CMAKE_OPT := $(if $(strip $(OPENSSL_CRYPTO_LIBRARY)),-DOPENSSL_CRYPTO_LIBRARY=$(OPENSSL_CRYPTO_LIBRARY),)
|
||||
OPENSSL_LIB_DIR := $(patsubst %/,%,$(dir $(OPENSSL_SSL_LIBRARY)))
|
||||
OPENSSL_LDLIBS := $(if $(strip $(OPENSSL_SSL_LIBRARY) $(OPENSSL_CRYPTO_LIBRARY)),-Xlinker -rpath -Xlinker $(OPENSSL_LIB_DIR) $(OPENSSL_SSL_LIBRARY) $(OPENSSL_CRYPTO_LIBRARY),$(or $(shell pkg-config --libs openssl 2>/dev/null),-lssl -lcrypto))
|
||||
FLINT_CURL_CFLAGS := -I$(CURL_INCLUDE_DIR)
|
||||
FLINT_CURL_LDLIBS := -L$(CURL_LIB_DIR) -Wl,-rpath,$(abspath $(CURL_LIB_DIR)) -lcurl $(OPENSSL_LDLIBS)
|
||||
FLINT_CURL_VERSION_NUM ?= $(shell printf '%s\n' '#include <curl/curlver.h>' 'LIBCURL_VERSION_NUM' | $(CC) -I$(CURL_DIR)/include -E -P - 2>/dev/null | tail -n 1)
|
||||
FLINT_VENDOR_BUILD_DIR := $(VENDOR_BUILD_DIR)/linux/$(ARCH)
|
||||
FLINT_LIBOQS_BUILD_DIR := $(FLINT_VENDOR_BUILD_DIR)/liboqs
|
||||
FLINT_WEB_LIBOQS_BUILD_DIR := $(VENDOR_BUILD_DIR)/web/liboqs
|
||||
FLINT_CURL_BUILD_DIR := $(FLINT_VENDOR_BUILD_DIR)/curl
|
||||
FLINT_CURL_REQUIRE_WEBSOCKETS := 1
|
||||
FLINT_CURL_EXTRA_CMAKE_FLAGS := \
|
||||
-DCURL_DISABLE_WEBSOCKETS=OFF \
|
||||
-DCURL_DISABLE_INSTALL=OFF \
|
||||
-DCURL_DISABLE_DICT=ON \
|
||||
-DCURL_DISABLE_FILE=ON \
|
||||
-DCURL_DISABLE_FTP=ON \
|
||||
-DCURL_DISABLE_GOPHER=ON \
|
||||
-DCURL_DISABLE_IMAP=ON \
|
||||
-DCURL_DISABLE_MQTT=ON \
|
||||
-DCURL_DISABLE_POP3=ON \
|
||||
-DCURL_DISABLE_RTSP=ON \
|
||||
-DCURL_DISABLE_SMTP=ON \
|
||||
-DCURL_DISABLE_TELNET=ON \
|
||||
-DCURL_DISABLE_TFTP=ON \
|
||||
-DCURL_DISABLE_LIBCURL_OPTION=ON \
|
||||
-DCURL_ZLIB=OFF \
|
||||
-DCURL_BROTLI=OFF \
|
||||
-DCURL_ZSTD=OFF
|
||||
include $(FLINT_DIR)/mk/vendor.mk
|
||||
CURL_DIR := $(FLINT_CURL_DIR)
|
||||
CURL_BUILD_DIR := $(FLINT_CURL_BUILD_DIR)
|
||||
CURL_INCLUDE_DIR := $(FLINT_CURL_INCLUDE_DIR)
|
||||
CURL_LIB_DIR := $(FLINT_CURL_LIB_DIR)
|
||||
CURL_SO := $(FLINT_CURL_SO)
|
||||
CURL_PROTOCOL_CHECK := $(FLINT_CURL_PROTOCOL_CHECK)
|
||||
FLINT_CURL_VERSION_NUM ?= $(shell printf '%s\n' '#include <curl/curlver.h>' 'LIBCURL_VERSION_NUM' | $(CC) -I$(FLINT_CURL_DIR)/include -E -P - 2>/dev/null | tail -n 1)
|
||||
FLINT_CURL_VERSION_HEX := $(patsubst 0x%,%,$(FLINT_CURL_VERSION_NUM))
|
||||
SQLITE_DIR := vendor/sqlite
|
||||
SQLITE_BUILD_DIR := $(VENDOR_BUILD_DIR)/sqlite
|
||||
@@ -125,19 +151,22 @@ SQLITE_AMALGAMATION_C := $(SQLITE_BUILD_DIR)/sqlite3.c
|
||||
SQLITE_AMALGAMATION_H := $(SQLITE_BUILD_DIR)/sqlite3.h
|
||||
SQLITE_SRC := $(SQLITE_AMALGAMATION_C)
|
||||
SQLITE_INCLUDE := -I$(SQLITE_BUILD_DIR)
|
||||
LIBOQS_DIR := vendor/liboqs
|
||||
LIBOQS_BUILD_DIR := $(VENDOR_BUILD_DIR)/linux/$(ARCH)/liboqs
|
||||
LIBOQS_A := $(LIBOQS_BUILD_DIR)/lib/liboqs.a
|
||||
LIBOQS_INCLUDE := -I$(LIBOQS_BUILD_DIR)/include
|
||||
WEB_LIBOQS_BUILD_DIR := $(VENDOR_BUILD_DIR)/web/liboqs
|
||||
WEB_LIBOQS_A := $(WEB_LIBOQS_BUILD_DIR)/lib/liboqs.a
|
||||
LIBOQS_DIR := $(FLINT_LIBOQS_DIR)
|
||||
LIBOQS_BUILD_DIR := $(FLINT_LIBOQS_BUILD_DIR)
|
||||
LIBOQS_A := $(FLINT_LIBOQS_A)
|
||||
LIBOQS_INCLUDE := $(FLINT_LIBOQS_INCLUDE)
|
||||
WEB_LIBOQS_BUILD_DIR := $(FLINT_WEB_LIBOQS_BUILD_DIR)
|
||||
WEB_LIBOQS_A := $(FLINT_WEB_LIBOQS_A)
|
||||
WEB_LIBOQS_INCLUDE := -I$(WEB_LIBOQS_BUILD_DIR)/include
|
||||
TEST_BIN_DIR := $(BUILD_BIN_DIR)/tests
|
||||
STORAGE_IMPORT_TEST := $(TEST_BIN_DIR)/storage_import_test
|
||||
LOCALE_KEYS_TEST := $(TEST_BIN_DIR)/locale_keys_test
|
||||
SYNC_URL_TEST := $(TEST_BIN_DIR)/sync_url_test
|
||||
SYNC_ACCOUNT_TEST := $(TEST_BIN_DIR)/sync_account_test
|
||||
SYNC_REVIEW_TEST := $(TEST_BIN_DIR)/sync_review_test
|
||||
FONT_LOCALE_TEST := $(TEST_BIN_DIR)/font_locale_test
|
||||
GUIDE_OVERLAY_TEST := $(TEST_BIN_DIR)/guide_overlay_test
|
||||
TESTS := $(STORAGE_IMPORT_TEST) $(LOCALE_KEYS_TEST) $(SYNC_URL_TEST) $(SYNC_ACCOUNT_TEST) $(SYNC_REVIEW_TEST) $(FONT_LOCALE_TEST) $(GUIDE_OVERLAY_TEST)
|
||||
FLINT_RUNTIME_ASSET_CFLAGS := $(FLINT_CURL_CFLAGS)
|
||||
FLINT_RUNTIME_ASSET_LDLIBS := $(FLINT_CURL_LDLIBS)
|
||||
|
||||
@@ -145,6 +174,7 @@ APP_SRCS := \
|
||||
src/main.c \
|
||||
src/core/breath_engine.c \
|
||||
src/app/app.c \
|
||||
src/app/app_nav.c \
|
||||
src/app/app_settings.c \
|
||||
src/app/device_preferences.c \
|
||||
src/practices/practice_registry.c \
|
||||
@@ -156,15 +186,20 @@ APP_SRCS := \
|
||||
src/practices/meditation/meditation_session.c \
|
||||
src/practices/meditation/meditation_manual.c \
|
||||
src/practices/meditation/meditation_config.c \
|
||||
src/practices/sun_salutation/sun_salutation_practice.c \
|
||||
src/practices/sun_salutation/sun_salutation_session.c \
|
||||
src/screens/habits_screen.c \
|
||||
src/screens/statistics_screen.c \
|
||||
src/screens/habits/edit.c \
|
||||
src/screens/habits/session.c \
|
||||
src/screens/profile_screen.c \
|
||||
src/screens/pet_screen.c \
|
||||
src/practices/meditation/meditation_music.c \
|
||||
src/storage/data.c \
|
||||
src/storage/db.c \
|
||||
src/storage/import.c \
|
||||
src/storage/storage.c \
|
||||
src/storage/sync_review.c \
|
||||
src/storage/sync_account.c \
|
||||
src/storage/sync_client.c \
|
||||
src/third_party/miniz.c \
|
||||
@@ -174,22 +209,24 @@ APP_SRCS := \
|
||||
src/screens/manual_screen.c \
|
||||
src/screens/settings/settings_screen.c \
|
||||
src/screens/settings/settings_device.c \
|
||||
src/screens/settings/settings_session.c \
|
||||
src/screens/settings/settings_theme.c \
|
||||
src/screens/settings/settings_about.c \
|
||||
src/screens/settings/settings_data.c \
|
||||
src/screens/settings/settings_sync_account.c
|
||||
|
||||
LOCALE_FILES := $(wildcard locales/*.txt)
|
||||
IMAGE_FILES := assets/practices/whm/1.jpg assets/practices/whm/2.jpg assets/practices/meditation/1.jpg
|
||||
IMAGE_FILES := assets/practices/whm/1.jpg assets/practices/whm/2.jpg assets/practices/meditation/1.jpg assets/pet/egg1.png $(wildcard assets/practices/sunsalutation/pos_*.png)
|
||||
SOUND_FILES := $(wildcard assets/sounds/*.ogg)
|
||||
FONT_OUTPUTS := assets/fonts/locales.png assets/fonts/locales.dat
|
||||
OTFCHOP_DIR ?= vendor/otfchop
|
||||
OTFCHOP_DIR ?= $(FLINT_DIR)/tools/otfchop
|
||||
FONT_TOOL := $(OTFCHOP_DIR)/otfchop
|
||||
FONT_SOURCE := $(OTFCHOP_DIR)/unifont-17.0.04.otf
|
||||
EMBEDDED_ASSETS_C := $(BUILD_OBJ_DIR)/$(APP_NAME)_embedded_assets.c
|
||||
EMBEDDED_ASSET_FILES := $(LOCALE_FILES) $(IMAGE_FILES) $(SOUND_FILES) $(FONT_OUTPUTS)
|
||||
SRC := $(APP_SRCS) $(EMBEDDED_ASSETS_C)
|
||||
|
||||
APP_INCLUDE := -Isrc -Isrc/app -Isrc/core -Isrc/screens -Isrc/screens/settings -Isrc/practices -Isrc/practices/whm -Isrc/practices/meditation -Isrc/storage -Isrc/platform/android -Isrc/third_party
|
||||
APP_INCLUDE := -Isrc -Isrc/app -Isrc/core -Isrc/screens -Isrc/screens/settings -Isrc/practices -Isrc/practices/whm -Isrc/practices/meditation -Isrc/practices/sun_salutation -Isrc/storage -Isrc/platform/android -Isrc/third_party
|
||||
APP_RAYLIB_CONFIG := $(filter-out -DSUPPORT_MODULE_RAUDIO=0 -DSUPPORT_FILEFORMAT_PNG=0 -DSUPPORT_FILEFORMAT_JPG=0 -DSUPPORT_FILEFORMAT_OGG=0 -DSUPPORT_FILEFORMAT_MP3=%,$(RAY_RAYLIB_CONFIG)) -DSUPPORT_MODULE_RAUDIO=1 -DSUPPORT_FILEFORMAT_JPG=1 -DSUPPORT_FILEFORMAT_OGG=1 -DSUPPORT_FILEFORMAT_MP3=0
|
||||
CFLAGS := -Wall -Wextra -std=c99 -Os -D_DEFAULT_SOURCE -D_GNU_SOURCE -ffunction-sections -fdata-sections -DSUPPORT_FILEFORMAT_JPG=1 -DMINIZ_NO_ZLIB_COMPATIBLE_NAMES -DFLINT_EMBEDDED_ONLY=1 $(FLINT_RUNTIME_ASSET_CFLAGS)
|
||||
WINDOWS_CFLAGS := -Wall -Wextra -std=c99 -Os -D_DEFAULT_SOURCE -D_GNU_SOURCE -ffunction-sections -fdata-sections -DSUPPORT_FILEFORMAT_JPG=1 -DMINIZ_NO_ZLIB_COMPATIBLE_NAMES -DFLINT_EMBEDDED_ONLY=1
|
||||
@@ -240,7 +277,7 @@ UNPACKAGED_AUDIO_DIR := unpackaged_assets/audio
|
||||
UNPACKAGED_AUDIO_FILES := $(shell find $(UNPACKAGED_AUDIO_DIR) -type f 2>/dev/null)
|
||||
MEDITATION_AUDIO_ZIP := web-assets/dl/inbe-meditation-audio-v1.zip
|
||||
|
||||
.PHONY: all native run run-fresh screenshot test dist appimage click click-verify vendor-prebuilds vendor-prebuilds-native vendor-prebuilds-web vendor-prebuilds-windows clean clean-linux clean-vendor-builds android-avd android-check-keystore android-copy-assets android-local-properties android-debug android-debug-fast android-release android-bundle android-install android-install-fast android-install-release android-clean package-unpackaged-assets windows-runtime-assets-check windows windows64 windows32 web chrome-web-store
|
||||
.PHONY: all native run run-fresh screenshot test dist appimage click click-verify vendor-prebuilds vendor-prebuilds-native vendor-prebuilds-web vendor-prebuilds-windows clean clean-linux clean-vendor-builds android-avd android-check-keystore android-copy-assets android-local-properties android-debug android-debug-fast android-release android-bundle android-install android-install-fast android-install-release android-clean package-unpackaged-assets windows-runtime-assets-check windows windows64 windows32 web site chrome-web-store
|
||||
.NOTPARALLEL: dist windows windows64 windows32 android-release android-bundle click
|
||||
|
||||
all: native
|
||||
@@ -287,7 +324,7 @@ vendor-prebuilds-native: $(RAYLIB_A) $(SQLITE_AMALGAMATION_C) $(SQLITE_AMALGAMAT
|
||||
|
||||
vendor-prebuilds-web: $(WEB_RAYLIB_A) $(SQLITE_AMALGAMATION_C) $(SQLITE_AMALGAMATION_H) $(WEB_LIBOQS_A)
|
||||
|
||||
vendor-prebuilds-windows: $(WIN64_RAYLIB_A) $(WIN32_RAYLIB_A) $(WIN64_CURL_A) $(WIN32_CURL_A) $(SQLITE_AMALGAMATION_C) $(SQLITE_AMALGAMATION_H)
|
||||
vendor-prebuilds-windows: $(WIN64_RAYLIB_A) $(WIN32_RAYLIB_A) $(WIN64_CURL_A) $(WIN32_CURL_A) $(WIN64_LIBOQS_A) $(WIN32_LIBOQS_A) $(SQLITE_AMALGAMATION_C) $(SQLITE_AMALGAMATION_H)
|
||||
|
||||
run: $(TARGET)
|
||||
./$(TARGET)
|
||||
@@ -301,18 +338,38 @@ screenshot: $(TARGET)
|
||||
./scripts/generate-screenshots.sh "$(TARGET)"
|
||||
|
||||
|
||||
test: $(STORAGE_IMPORT_TEST) $(LOCALE_KEYS_TEST) $(SYNC_URL_TEST) $(SYNC_ACCOUNT_TEST) $(GUIDE_OVERLAY_TEST)
|
||||
$(STORAGE_IMPORT_TEST)
|
||||
$(LOCALE_KEYS_TEST)
|
||||
$(SYNC_URL_TEST)
|
||||
$(SYNC_ACCOUNT_TEST)
|
||||
$(GUIDE_OVERLAY_TEST)
|
||||
.SILENT: test $(TESTS)
|
||||
|
||||
$(STORAGE_IMPORT_TEST): tests/storage_import_test.c src/storage/storage.c src/storage/db.c src/storage/import.c src/storage/storage.h src/storage/db.h src/storage/import.h src/screens/habits_screen.c src/screens/habits/edit.c src/screens/habits/session.c src/screens/habits_screen.h src/screens/habits/habits.h src/third_party/miniz.c src/third_party/miniz.h $(SQLITE_SRC) $(SQLITE_AMALGAMATION_H) | $(TEST_BIN_DIR)
|
||||
test: $(TESTS)
|
||||
echo "== Inbe tests =="; \
|
||||
status=0; \
|
||||
for test_bin in $(TESTS); do \
|
||||
name=$$(basename "$$test_bin"); \
|
||||
log=$$(mktemp /tmp/inbe-test.XXXXXX); \
|
||||
printf "%-28s" "$$name"; \
|
||||
if "$$test_bin" >"$$log" 2>&1; then \
|
||||
echo "PASS"; \
|
||||
rm -f "$$log"; \
|
||||
else \
|
||||
echo "FAIL"; \
|
||||
cat "$$log"; \
|
||||
rm -f "$$log"; \
|
||||
status=1; \
|
||||
break; \
|
||||
fi; \
|
||||
done; \
|
||||
if [ "$$status" -eq 0 ]; then \
|
||||
echo "== PASS: all Inbe tests =="; \
|
||||
else \
|
||||
echo "== FAIL: Inbe tests =="; \
|
||||
fi; \
|
||||
exit "$$status"
|
||||
|
||||
$(STORAGE_IMPORT_TEST): tests/storage_import_test.c src/storage/storage.c src/storage/sync_review.c src/storage/db.c src/storage/import.c src/storage/storage.h src/storage/db.h src/storage/import.h src/screens/habits_screen.c src/screens/habits/edit.c src/screens/habits/session.c src/screens/habits_screen.h src/screens/habits/habits.h src/third_party/miniz.c src/third_party/miniz.h $(SQLITE_SRC) $(SQLITE_AMALGAMATION_H) | $(TEST_BIN_DIR)
|
||||
$(CC) -Wall -Wextra -std=c99 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DMINIZ_NO_ZLIB_COMPATIBLE_NAMES -ffunction-sections -fdata-sections \
|
||||
-Isrc -Isrc/app -Isrc/core -Isrc/screens -Isrc/screens/settings -Isrc/practices -Isrc/practices/whm -Isrc/practices/meditation -Isrc/storage -Isrc/platform/android -Isrc/third_party -Ivendor/raylib/src $(FLINT_INCLUDE) $(SQLITE_INCLUDE) \
|
||||
-Isrc -Isrc/app -Isrc/core -Isrc/screens -Isrc/screens/settings -Isrc/practices -Isrc/practices/whm -Isrc/practices/meditation -Isrc/storage -Isrc/platform/android -Isrc/third_party -I$(RAYLIB_DIR) $(FLINT_INCLUDE) $(SQLITE_INCLUDE) \
|
||||
-o $@ \
|
||||
tests/storage_import_test.c src/storage/storage.c src/storage/db.c src/storage/import.c src/screens/habits_screen.c src/screens/habits/edit.c src/screens/habits/session.c src/third_party/miniz.c $(SQLITE_SRC) \
|
||||
tests/storage_import_test.c src/storage/storage.c src/storage/sync_review.c src/storage/db.c src/storage/import.c src/screens/habits_screen.c src/screens/habits/edit.c src/screens/habits/session.c src/third_party/miniz.c $(SQLITE_SRC) \
|
||||
-Wl,--gc-sections -lm -lpthread -ldl
|
||||
|
||||
$(LOCALE_KEYS_TEST): tests/locale_keys_test.c $(LOCALE_FILES) | $(TEST_BIN_DIR)
|
||||
@@ -322,20 +379,32 @@ $(LOCALE_KEYS_TEST): tests/locale_keys_test.c $(LOCALE_FILES) | $(TEST_BIN_DIR)
|
||||
|
||||
$(SYNC_URL_TEST): tests/sync_url_test.c src/storage/sync_client.c src/storage/sync_client.h $(CURL_PROTOCOL_CHECK) | $(TEST_BIN_DIR)
|
||||
$(CC) -Wall -Wextra -Wno-unused-function -std=c99 -D_DEFAULT_SOURCE -DINBE_SYNC_CLIENT_TESTS -ffunction-sections -fdata-sections \
|
||||
-Isrc/storage -Isrc -Isrc/core -Ivendor/flint/include -Ivendor/raylib/src $(FLINT_CURL_CFLAGS) -o $@ \
|
||||
-Isrc/storage -Isrc -Isrc/core $(FLINT_INCLUDE) -I$(RAYLIB_DIR) $(FLINT_CURL_CFLAGS) -o $@ \
|
||||
tests/sync_url_test.c src/storage/sync_client.c \
|
||||
-Wl,--gc-sections $(FLINT_CURL_LDLIBS)
|
||||
|
||||
$(SYNC_ACCOUNT_TEST): tests/sync_account_test.c src/storage/sync_account.c src/storage/sync_account.h src/storage/storage.c src/storage/db.c src/storage/import.c src/storage/storage.h src/storage/db.h src/storage/import.h src/third_party/miniz.c src/third_party/miniz.h $(SQLITE_SRC) $(SQLITE_AMALGAMATION_H) | $(TEST_BIN_DIR)
|
||||
$(CC) -Wall -Wextra -std=c99 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DMINIZ_NO_ZLIB_COMPATIBLE_NAMES -ffunction-sections -fdata-sections \
|
||||
-Isrc -Isrc/app -Isrc/core -Isrc/screens -Isrc/screens/settings -Isrc/practices -Isrc/practices/whm -Isrc/practices/meditation -Isrc/storage -Isrc/platform/android -Isrc/third_party -Ivendor/flint/include -Ivendor/raylib/src $(SQLITE_INCLUDE) \
|
||||
$(SYNC_ACCOUNT_TEST): tests/sync_account_test.c src/storage/sync_account.c src/storage/sync_account.h $(FLINT_DIR)/src/flint_lyra_account.c $(FLINT_DIR)/include/flint_lyra_account.h src/storage/storage.c src/storage/sync_review.c src/storage/db.c src/storage/import.c src/storage/storage.h src/storage/db.h src/storage/import.h src/third_party/miniz.c src/third_party/miniz.h $(SQLITE_SRC) $(SQLITE_AMALGAMATION_H) $(LIBOQS_A) | $(TEST_BIN_DIR)
|
||||
$(CC) -Wall -Wextra -std=c99 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DMINIZ_NO_ZLIB_COMPATIBLE_NAMES -DFLINT_HAS_LIBOQS=1 -ffunction-sections -fdata-sections \
|
||||
-Isrc -Isrc/app -Isrc/core -Isrc/screens -Isrc/screens/settings -Isrc/practices -Isrc/practices/whm -Isrc/practices/meditation -Isrc/storage -Isrc/platform/android -Isrc/third_party $(FLINT_INCLUDE) $(LIBOQS_INCLUDE) -I$(RAYLIB_DIR) $(SQLITE_INCLUDE) \
|
||||
-o $@ \
|
||||
tests/sync_account_test.c src/storage/sync_account.c src/storage/storage.c src/storage/db.c src/storage/import.c src/third_party/miniz.c $(SQLITE_SRC) \
|
||||
tests/sync_account_test.c src/storage/sync_account.c $(FLINT_DIR)/src/flint_lyra_account.c src/storage/storage.c src/storage/sync_review.c src/storage/db.c src/storage/import.c src/third_party/miniz.c $(SQLITE_SRC) \
|
||||
$(LIBOQS_A) -Wl,--gc-sections -lm -lpthread -ldl
|
||||
|
||||
$(SYNC_REVIEW_TEST): tests/sync_review_test.c src/storage/storage.c src/storage/sync_review.c src/storage/db.c src/storage/import.c src/storage/storage.h src/storage/db.h src/storage/import.h src/third_party/miniz.c src/third_party/miniz.h $(SQLITE_SRC) $(SQLITE_AMALGAMATION_H) | $(TEST_BIN_DIR)
|
||||
$(CC) -Wall -Wextra -std=c99 -D_DEFAULT_SOURCE -D_GNU_SOURCE -DMINIZ_NO_ZLIB_COMPATIBLE_NAMES -ffunction-sections -fdata-sections \
|
||||
-Isrc -Isrc/app -Isrc/core -Isrc/screens -Isrc/screens/settings -Isrc/practices -Isrc/practices/whm -Isrc/practices/meditation -Isrc/storage -Isrc/platform/android -Isrc/third_party $(FLINT_INCLUDE) -I$(RAYLIB_DIR) $(SQLITE_INCLUDE) \
|
||||
-o $@ \
|
||||
tests/sync_review_test.c src/storage/storage.c src/storage/sync_review.c src/storage/db.c src/storage/import.c src/third_party/miniz.c $(SQLITE_SRC) \
|
||||
-Wl,--gc-sections -lm -lpthread -ldl
|
||||
|
||||
$(FONT_LOCALE_TEST): tests/font_locale_test.c $(FONT_OUTPUTS) | $(TEST_BIN_DIR)
|
||||
$(CC) -Wall -Wextra -std=c99 -D_DEFAULT_SOURCE \
|
||||
-o $@ \
|
||||
tests/font_locale_test.c
|
||||
|
||||
$(GUIDE_OVERLAY_TEST): tests/guide_overlay_test.c vendor/flint/src/ui/guide.c vendor/flint/include/flint_ui.h | $(TEST_BIN_DIR)
|
||||
$(CC) -Wall -Wextra -std=c99 -D_DEFAULT_SOURCE \
|
||||
-Ivendor/flint/include -Ivendor/raylib/src \
|
||||
$(FLINT_INCLUDE) -I$(RAYLIB_DIR) \
|
||||
-o $@ \
|
||||
tests/guide_overlay_test.c
|
||||
|
||||
@@ -350,8 +419,8 @@ assets/fonts:
|
||||
|
||||
FORCE:
|
||||
|
||||
$(FONT_TOOL): vendor/otfchop/otfchop.c vendor/otfchop/stb_truetype.h vendor/otfchop/stb_image_write.h
|
||||
$(MAKE) -C vendor/otfchop otfchop
|
||||
$(FONT_TOOL): $(OTFCHOP_DIR)/otfchop.c $(OTFCHOP_DIR)/stb_truetype.h $(OTFCHOP_DIR)/stb_image_write.h
|
||||
$(MAKE) -C $(OTFCHOP_DIR) otfchop
|
||||
|
||||
assets/fonts/locales.png assets/fonts/locales.dat: $(LOCALE_FILES) $(FONT_TOOL) | assets/fonts
|
||||
$(FONT_TOOL) $(FONT_SOURCE) $(LOCALE_FILES) assets/fonts/locales
|
||||
@@ -414,6 +483,23 @@ $(CLICK_RAYLIB_A): $(RAYLIB_SOURCES)
|
||||
SDL_LIBRARIES="$(AARCH64_RAY_SDL_LDLIBS)" \
|
||||
CUSTOM_CFLAGS="-DUSING_SDL2_PROJECT $(AARCH64_RAY_CFLAGS) $(APP_RAYLIB_CONFIG) -Os -ffunction-sections -fdata-sections"
|
||||
|
||||
$(CLICK_LIBOQS_A): $(LIBOQS_DIR)/CMakeLists.txt
|
||||
rm -rf $(CLICK_LIBOQS_BUILD_DIR)
|
||||
$(CMAKE) -S $(LIBOQS_DIR) -B $(CLICK_LIBOQS_BUILD_DIR) \
|
||||
-DCMAKE_SYSTEM_NAME=Linux \
|
||||
-DCMAKE_SYSTEM_PROCESSOR=aarch64 \
|
||||
-DCMAKE_C_COMPILER=$(AARCH64_CC) \
|
||||
-DCMAKE_AR=$(AARCH64_AR) \
|
||||
-DCMAKE_RANLIB=$(AARCH64_RANLIB) \
|
||||
-DCMAKE_BUILD_TYPE=$(FLINT_LIBOQS_BUILD_TYPE) \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-DOQS_BUILD_ONLY_LIB=ON \
|
||||
-DOQS_USE_OPENSSL=OFF \
|
||||
-DOQS_DIST_BUILD=OFF \
|
||||
-DOQS_OPT_TARGET=generic \
|
||||
-DOQS_MINIMAL_BUILD=$(FLINT_LIBOQS_MINIMAL_BUILD)
|
||||
$(CMAKE) --build $(CLICK_LIBOQS_BUILD_DIR) --target oqs
|
||||
|
||||
$(WIN64_RAYLIB_A): $(RAYLIB_SOURCES)
|
||||
rm -rf $(VENDOR_BUILD_DIR)/windows/$(WIN64_ARCH)/raylib-src
|
||||
mkdir -p $(VENDOR_BUILD_DIR)/windows/$(WIN64_ARCH)/raylib-src $(WIN64_RAYLIB_BUILD_DIR)
|
||||
@@ -453,76 +539,6 @@ $(SQLITE_AMALGAMATION_C) $(SQLITE_AMALGAMATION_H): $(SQLITE_DIR)/configure $(SQL
|
||||
cd $(SQLITE_BUILD_DIR) && $(abspath $(SQLITE_DIR))/configure
|
||||
$(MAKE) -C $(SQLITE_BUILD_DIR) sqlite3.c sqlite3.h
|
||||
|
||||
$(LIBOQS_A): $(LIBOQS_DIR)/CMakeLists.txt | $(BUILD_OBJ_DIR)
|
||||
$(CMAKE) -S $(LIBOQS_DIR) -B $(LIBOQS_BUILD_DIR) \
|
||||
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-DOQS_BUILD_ONLY_LIB=ON \
|
||||
-DOQS_USE_OPENSSL=OFF \
|
||||
-DOQS_MINIMAL_BUILD=SIG_ml_dsa_44
|
||||
$(CMAKE) --build $(LIBOQS_BUILD_DIR) --target oqs
|
||||
|
||||
$(WEB_LIBOQS_A): $(LIBOQS_DIR)/CMakeLists.txt | $(BUILD_OBJ_DIR)
|
||||
emcmake $(CMAKE) -S $(LIBOQS_DIR) -B $(WEB_LIBOQS_BUILD_DIR) \
|
||||
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-DOQS_BUILD_ONLY_LIB=ON \
|
||||
-DOQS_USE_OPENSSL=OFF \
|
||||
-DOQS_DIST_BUILD=OFF \
|
||||
-DOQS_OPT_TARGET=generic \
|
||||
-DOQS_MINIMAL_BUILD=SIG_ml_dsa_44
|
||||
$(CMAKE) --build $(WEB_LIBOQS_BUILD_DIR) --target oqs
|
||||
|
||||
$(CURL_SO): $(CURL_DIR)/CMakeLists.txt
|
||||
$(CMAKE) -S $(CURL_DIR) -B $(CURL_BUILD_DIR) \
|
||||
-DCMAKE_BUILD_TYPE=MinSizeRel \
|
||||
-DCMAKE_INSTALL_PREFIX=$(abspath $(CURL_BUILD_DIR)) \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib64 \
|
||||
-DBUILD_CURL_EXE=OFF \
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DBUILD_STATIC_LIBS=OFF \
|
||||
-DCURL_USE_OPENSSL=ON \
|
||||
$(OPENSSL_CMAKE_OPT) \
|
||||
$(OPENSSL_INCLUDE_CMAKE_OPT) \
|
||||
$(OPENSSL_SSL_CMAKE_OPT) \
|
||||
$(OPENSSL_CRYPTO_CMAKE_OPT) \
|
||||
-DCURL_DISABLE_WEBSOCKETS=OFF \
|
||||
-DCURL_DISABLE_INSTALL=OFF \
|
||||
-DCURL_DISABLE_LDAP=ON \
|
||||
-DCURL_DISABLE_LDAPS=ON \
|
||||
-DCURL_DISABLE_DICT=ON \
|
||||
-DCURL_DISABLE_FILE=ON \
|
||||
-DCURL_DISABLE_FTP=ON \
|
||||
-DCURL_DISABLE_GOPHER=ON \
|
||||
-DCURL_DISABLE_IMAP=ON \
|
||||
-DCURL_DISABLE_MQTT=ON \
|
||||
-DCURL_DISABLE_POP3=ON \
|
||||
-DCURL_DISABLE_RTSP=ON \
|
||||
-DCURL_DISABLE_SMB=ON \
|
||||
-DCURL_DISABLE_SMTP=ON \
|
||||
-DCURL_DISABLE_TELNET=ON \
|
||||
-DCURL_DISABLE_TFTP=ON \
|
||||
-DCURL_DISABLE_LIBCURL_OPTION=ON \
|
||||
-DCURL_ZLIB=OFF \
|
||||
-DCURL_BROTLI=OFF \
|
||||
-DCURL_ZSTD=OFF \
|
||||
-DCURL_USE_LIBPSL=OFF \
|
||||
-DCURL_USE_LIBSSH2=OFF \
|
||||
-DCURL_USE_GSSAPI=OFF \
|
||||
-DUSE_NGHTTP2=OFF \
|
||||
-DUSE_LIBIDN2=OFF \
|
||||
-DENABLE_CURL_MANUAL=OFF \
|
||||
-DBUILD_EXAMPLES=OFF \
|
||||
-DBUILD_LIBCURL_DOCS=OFF \
|
||||
-DBUILD_MISC_DOCS=OFF \
|
||||
-DBUILD_TESTING=OFF
|
||||
$(CMAKE) --build $(CURL_BUILD_DIR) --target install
|
||||
|
||||
$(CURL_PROTOCOL_CHECK): $(CURL_SO)
|
||||
@$(CURL_BUILD_DIR)/bin/curl-config --protocols | grep -Eq '(^|[[:space:]])WS([[:space:]]|$$)' || { echo "vendored libcurl was built without WS protocol support"; exit 1; }
|
||||
@$(CURL_BUILD_DIR)/bin/curl-config --protocols | grep -Eq '(^|[[:space:]])WSS([[:space:]]|$$)' || { echo "vendored libcurl was built without WSS protocol support"; exit 1; }
|
||||
@touch $@
|
||||
|
||||
$(WIN64_CURL_A): $(CURL_DIR)/CMakeLists.txt
|
||||
rm -rf $(WIN64_CURL_BUILD_DIR)
|
||||
$(CMAKE) -S $(CURL_DIR) -B $(WIN64_CURL_BUILD_DIR) \
|
||||
@@ -554,6 +570,23 @@ $(WIN64_CURL_A): $(CURL_DIR)/CMakeLists.txt
|
||||
-DBUILD_TESTING=OFF
|
||||
$(CMAKE) --build $(WIN64_CURL_BUILD_DIR) --target install
|
||||
|
||||
$(WIN64_LIBOQS_A): $(LIBOQS_DIR)/CMakeLists.txt
|
||||
rm -rf $(WIN64_LIBOQS_BUILD_DIR)
|
||||
$(CMAKE) -S $(LIBOQS_DIR) -B $(WIN64_LIBOQS_BUILD_DIR) \
|
||||
-DCMAKE_SYSTEM_NAME=Windows \
|
||||
-DCMAKE_SYSTEM_PROCESSOR=$(WIN64_CMAKE_SYSTEM_PROCESSOR) \
|
||||
-DCMAKE_C_COMPILER=$(WIN64_CC_PATH) \
|
||||
-DCMAKE_AR=$(WIN64_AR_PATH) \
|
||||
-DCMAKE_RANLIB=$(WIN64_RANLIB_PATH) \
|
||||
-DCMAKE_BUILD_TYPE=$(FLINT_LIBOQS_BUILD_TYPE) \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-DOQS_BUILD_ONLY_LIB=ON \
|
||||
-DOQS_USE_OPENSSL=OFF \
|
||||
-DOQS_DIST_BUILD=OFF \
|
||||
-DOQS_OPT_TARGET=generic \
|
||||
-DOQS_MINIMAL_BUILD=$(FLINT_LIBOQS_MINIMAL_BUILD)
|
||||
$(CMAKE) --build $(WIN64_LIBOQS_BUILD_DIR) --target oqs
|
||||
|
||||
$(WIN32_CURL_A): $(CURL_DIR)/CMakeLists.txt
|
||||
rm -rf $(WIN32_CURL_BUILD_DIR)
|
||||
$(CMAKE) -S $(CURL_DIR) -B $(WIN32_CURL_BUILD_DIR) \
|
||||
@@ -585,6 +618,23 @@ $(WIN32_CURL_A): $(CURL_DIR)/CMakeLists.txt
|
||||
-DBUILD_TESTING=OFF
|
||||
$(CMAKE) --build $(WIN32_CURL_BUILD_DIR) --target install
|
||||
|
||||
$(WIN32_LIBOQS_A): $(LIBOQS_DIR)/CMakeLists.txt
|
||||
rm -rf $(WIN32_LIBOQS_BUILD_DIR)
|
||||
$(CMAKE) -S $(LIBOQS_DIR) -B $(WIN32_LIBOQS_BUILD_DIR) \
|
||||
-DCMAKE_SYSTEM_NAME=Windows \
|
||||
-DCMAKE_SYSTEM_PROCESSOR=$(WIN32_CMAKE_SYSTEM_PROCESSOR) \
|
||||
-DCMAKE_C_COMPILER=$(WIN32_CC_PATH) \
|
||||
-DCMAKE_AR=$(WIN32_AR_PATH) \
|
||||
-DCMAKE_RANLIB=$(WIN32_RANLIB_PATH) \
|
||||
-DCMAKE_BUILD_TYPE=$(FLINT_LIBOQS_BUILD_TYPE) \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
-DOQS_BUILD_ONLY_LIB=ON \
|
||||
-DOQS_USE_OPENSSL=OFF \
|
||||
-DOQS_DIST_BUILD=OFF \
|
||||
-DOQS_OPT_TARGET=generic \
|
||||
-DOQS_MINIMAL_BUILD=$(FLINT_LIBOQS_MINIMAL_BUILD)
|
||||
$(CMAKE) --build $(WIN32_LIBOQS_BUILD_DIR) --target oqs
|
||||
|
||||
$(TARGET): Makefile $(SRC) $(FLINT_SRCS) $(FLINT_ICON_STAMP) $(SQLITE_SRC) $(SQLITE_AMALGAMATION_H) $(FONT_OUTPUTS) $(EMBEDDED_ASSETS_C) $(RAYLIB_A) $(LIBOQS_A) $(CURL_PROTOCOL_CHECK) | $(LINUX_BIN_DIR)
|
||||
$(CC) $(CFLAGS) \
|
||||
$(APP_INCLUDE) \
|
||||
@@ -593,7 +643,7 @@ $(TARGET): Makefile $(SRC) $(FLINT_SRCS) $(FLINT_ICON_STAMP) $(SQLITE_SRC) $(SQL
|
||||
$(LIBOQS_INCLUDE) \
|
||||
-I$(RAYLIB_DIR) \
|
||||
$(RAY_CFLAGS) \
|
||||
-DINBE_HAS_LIBOQS=1 \
|
||||
-DFLINT_HAS_LIBOQS=1 \
|
||||
-DSUPPORT_MODULE_RAUDIO=1 \
|
||||
-DSUPPORT_FILEFORMAT_OGG=1 \
|
||||
-DSUPPORT_FILEFORMAT_MP3=0 \
|
||||
@@ -608,13 +658,15 @@ $(TARGET): Makefile $(SRC) $(FLINT_SRCS) $(FLINT_ICON_STAMP) $(SQLITE_SRC) $(SQL
|
||||
-lm -lpthread -ldl -lrt \
|
||||
$(LDFLAGS)
|
||||
|
||||
$(CLICK_BIN): Makefile $(SRC) $(FLINT_SRCS) $(FLINT_ICON_STAMP) $(SQLITE_SRC) $(SQLITE_AMALGAMATION_H) $(FONT_OUTPUTS) $(EMBEDDED_ASSETS_C) $(CLICK_RAYLIB_A) | $(CLICK_BIN_DIR)
|
||||
$(CLICK_BIN): Makefile $(SRC) $(FLINT_SRCS) $(FLINT_ICON_STAMP) $(SQLITE_SRC) $(SQLITE_AMALGAMATION_H) $(FONT_OUTPUTS) $(EMBEDDED_ASSETS_C) $(CLICK_RAYLIB_A) $(CLICK_LIBOQS_A) | $(CLICK_BIN_DIR)
|
||||
$(AARCH64_CC) $(CLICK_CFLAGS) \
|
||||
$(APP_INCLUDE) \
|
||||
$(FLINT_INCLUDE) \
|
||||
$(SQLITE_INCLUDE) \
|
||||
$(CLICK_LIBOQS_INCLUDE) \
|
||||
-I$(RAYLIB_DIR) \
|
||||
$(AARCH64_RAY_CFLAGS) \
|
||||
-DFLINT_HAS_LIBOQS=1 \
|
||||
-DPLATFORM_DESKTOP \
|
||||
-DSUPPORT_MODULE_RAUDIO=1 \
|
||||
-DSUPPORT_FILEFORMAT_OGG=1 \
|
||||
@@ -624,6 +676,7 @@ $(CLICK_BIN): Makefile $(SRC) $(FLINT_SRCS) $(FLINT_ICON_STAMP) $(SQLITE_SRC) $(
|
||||
$(FLINT_SRCS) \
|
||||
$(SQLITE_SRC) \
|
||||
$(CLICK_RAYLIB_A) \
|
||||
$(CLICK_LIBOQS_A) \
|
||||
$(AARCH64_RAY_LDLIBS) \
|
||||
$(AARCH64_FLINT_CURL_LDLIBS) \
|
||||
-lm -lpthread -ldl -lrt \
|
||||
@@ -664,13 +717,15 @@ $(CLICK_TARGET): $(CLICK_BIN_INPUT) $(CLICK_MANIFEST_TEMPLATE) $(CLICK_CONTROL_T
|
||||
cp $(LINUX_APPIMAGE_ICON) $(CLICK_ROOT)/usr/share/icons/hicolor/512x512/apps/inbe.png
|
||||
cd $(CLICK_ROOT) && zip -qr $(abspath $@) .
|
||||
|
||||
$(WIN64_TARGET): Makefile $(SRC) $(FLINT_WINDOWS_SRCS) $(FLINT_ICON_STAMP) $(SQLITE_SRC) $(SQLITE_AMALGAMATION_H) $(FONT_OUTPUTS) $(EMBEDDED_ASSETS_C) $(WIN64_RAYLIB_A) $(WIN64_CURL_A) | $(WINDOWS_BIN_DIR)/$(WIN64_ARCH)
|
||||
$(WIN64_TARGET): Makefile $(SRC) $(FLINT_WINDOWS_SRCS) $(FLINT_ICON_STAMP) $(SQLITE_SRC) $(SQLITE_AMALGAMATION_H) $(FONT_OUTPUTS) $(EMBEDDED_ASSETS_C) $(WIN64_RAYLIB_A) $(WIN64_CURL_A) $(WIN64_LIBOQS_A) | $(WINDOWS_BIN_DIR)/$(WIN64_ARCH)
|
||||
$(WIN64_CC) $(WINDOWS_CFLAGS) \
|
||||
$(APP_INCLUDE) \
|
||||
$(FLINT_INCLUDE) \
|
||||
$(SQLITE_INCLUDE) \
|
||||
$(WIN64_LIBOQS_INCLUDE) \
|
||||
-I$(WIN64_CURL_INCLUDE_DIR) \
|
||||
-I$(RAYLIB_DIR) \
|
||||
-DFLINT_HAS_LIBOQS=1 \
|
||||
-DPLATFORM_DESKTOP \
|
||||
-DCURL_STATICLIB \
|
||||
-o $@ \
|
||||
@@ -679,18 +734,21 @@ $(WIN64_TARGET): Makefile $(SRC) $(FLINT_WINDOWS_SRCS) $(FLINT_ICON_STAMP) $(SQL
|
||||
$(SQLITE_SRC) \
|
||||
$(WIN64_RAYLIB_A) \
|
||||
$(WIN64_CURL_A) \
|
||||
$(WIN64_LIBOQS_A) \
|
||||
$(WINDOWS_LDLIBS) \
|
||||
$(WIN64_THREAD_LDFLAGS) \
|
||||
$(WINDOWS_LDFLAGS)
|
||||
$(WIN64_STRIP) $@
|
||||
|
||||
$(WIN32_TARGET): Makefile $(SRC) $(FLINT_WINDOWS_SRCS) $(FLINT_ICON_STAMP) $(SQLITE_SRC) $(SQLITE_AMALGAMATION_H) $(FONT_OUTPUTS) $(EMBEDDED_ASSETS_C) $(WIN32_RAYLIB_A) $(WIN32_CURL_A) | $(WINDOWS_BIN_DIR)/$(WIN32_ARCH)
|
||||
$(WIN32_TARGET): Makefile $(SRC) $(FLINT_WINDOWS_SRCS) $(FLINT_ICON_STAMP) $(SQLITE_SRC) $(SQLITE_AMALGAMATION_H) $(FONT_OUTPUTS) $(EMBEDDED_ASSETS_C) $(WIN32_RAYLIB_A) $(WIN32_CURL_A) $(WIN32_LIBOQS_A) | $(WINDOWS_BIN_DIR)/$(WIN32_ARCH)
|
||||
$(WIN32_CC) $(WINDOWS_CFLAGS) \
|
||||
$(APP_INCLUDE) \
|
||||
$(FLINT_INCLUDE) \
|
||||
$(SQLITE_INCLUDE) \
|
||||
$(WIN32_LIBOQS_INCLUDE) \
|
||||
-I$(WIN32_CURL_INCLUDE_DIR) \
|
||||
-I$(RAYLIB_DIR) \
|
||||
-DFLINT_HAS_LIBOQS=1 \
|
||||
-DPLATFORM_DESKTOP \
|
||||
-DCURL_STATICLIB \
|
||||
-o $@ \
|
||||
@@ -699,6 +757,7 @@ $(WIN32_TARGET): Makefile $(SRC) $(FLINT_WINDOWS_SRCS) $(FLINT_ICON_STAMP) $(SQL
|
||||
$(SQLITE_SRC) \
|
||||
$(WIN32_RAYLIB_A) \
|
||||
$(WIN32_CURL_A) \
|
||||
$(WIN32_LIBOQS_A) \
|
||||
$(WINDOWS_LDLIBS) \
|
||||
$(WIN32_THREAD_LDFLAGS) \
|
||||
$(WINDOWS_LDFLAGS)
|
||||
@@ -720,7 +779,7 @@ $(APPIMAGE_TARGET): $(TARGET) $(LINUX_APPIMAGE_APPRUN) $(LINUX_APPIMAGE_DESKTOP)
|
||||
rm -rf $(LINUX_APPDIR)
|
||||
rm -rf $(LINUX_DIST_DIR)/*.AppDir
|
||||
rm -f $(LINUX_DIST_DIR)/*.AppImage
|
||||
mkdir -p $(LINUX_APPDIR)/usr/bin $(LINUX_APPDIR)/usr/lib $(LINUX_APPDIR)/usr/share/applications $(LINUX_APPDIR)/usr/share/icons/hicolor/512x512/apps $(LINUX_APPDIR)/usr/share/metainfo
|
||||
mkdir -p $(LINUX_APPDIR)/usr/bin $(LINUX_APPDIR)/usr/lib $(LINUX_APPDIR)/usr/share/applications $(LINUX_APPDIR)/usr/share/icons/hicolor/512x512/apps $(LINUX_APPDIR)/usr/share/metainfo $(LINUX_APPDIR)/usr/share/appdata
|
||||
cp $(TARGET) $(LINUX_APPDIR)/usr/bin/$(APP_NAME)
|
||||
patchelf --set-interpreter /lib64/ld-linux-x86-64.so.2 $(LINUX_APPDIR)/usr/bin/$(APP_NAME)
|
||||
cp $(LINUX_APPIMAGE_APPRUN) $(LINUX_APPDIR)/AppRun
|
||||
@@ -743,6 +802,7 @@ $(APPIMAGE_TARGET): $(TARGET) $(LINUX_APPIMAGE_APPRUN) $(LINUX_APPIMAGE_DESKTOP)
|
||||
cp $(LINUX_APPIMAGE_DESKTOP) $(LINUX_APPDIR)/$(APP_NAME).desktop
|
||||
cp $(LINUX_APPIMAGE_DESKTOP) $(LINUX_APPDIR)/usr/share/applications/$(APP_NAME).desktop
|
||||
cp $(LINUX_APPIMAGE_APPDATA) $(LINUX_APPDIR)/usr/share/metainfo/$(ANDROID_APP_ID).metainfo.xml
|
||||
cp $(LINUX_APPIMAGE_APPDATA) $(LINUX_APPDIR)/usr/share/appdata/$(ANDROID_APP_ID).appdata.xml
|
||||
cp $(LINUX_APPIMAGE_ICON) $(LINUX_APPDIR)/$(APP_NAME).png
|
||||
cp $(LINUX_APPIMAGE_ICON) $(LINUX_APPDIR)/usr/share/icons/hicolor/512x512/apps/$(APP_NAME).png
|
||||
@# Manually copy critical X11/OpenGL libraries that linuxdeploy might miss
|
||||
@@ -779,7 +839,7 @@ $(WEB_TARGET): Makefile $(SRC) $(FLINT_WEB_SRCS) $(FLINT_ICON_STAMP) $(SQLITE_SR
|
||||
$(SQLITE_INCLUDE) \
|
||||
$(WEB_LIBOQS_INCLUDE) \
|
||||
-I$(RAYLIB_DIR) \
|
||||
-DINBE_HAS_LIBOQS=1 \
|
||||
-DFLINT_HAS_LIBOQS=1 \
|
||||
-DPLATFORM_WEB \
|
||||
-DSUPPORT_MODULE_RAUDIO=1 \
|
||||
-DSUPPORT_FILEFORMAT_OGG=1 \
|
||||
@@ -994,6 +1054,9 @@ web:
|
||||
rm -f $(WEB_DIST_ZIP)
|
||||
cd $(WEB_DIST_DIR) && zip -9 -r $(abspath $(WEB_DIST_ZIP)) .
|
||||
|
||||
site: web
|
||||
tclsh site/build.tcl
|
||||
|
||||
chrome-web-store: $(CHROME_WEB_STORE_ZIP)
|
||||
|
||||
$(CHROME_WEB_STORE_ZIP): $(WEB_TARGET) $(CHROME_WEB_STORE_MANIFEST) $(CHROME_WEB_STORE_WORKER) $(CHROME_WEB_STORE_ICONS) | $(CHROME_WEB_STORE_DIR)
|
||||
|
||||
@@ -44,6 +44,17 @@ make android-debug
|
||||
make android-release PASSWORD=your-keystore-password
|
||||
```
|
||||
|
||||
## Release Automation
|
||||
|
||||
GitHub Actions builds release artifacts for web, Linux, Windows, Android, and
|
||||
the Chrome extension. When a new version tag is created by the release workflow,
|
||||
the web, Android, Windows, and Linux builds are also published to itch.io.
|
||||
|
||||
Required repository secrets:
|
||||
|
||||
- `ITCH_API_KEY` - itch.io Butler API key for publishing `waozi/inbe:html5`,
|
||||
`waozi/inbe:android`, `waozi/inbe:windows`, and `waozi/inbe:linux`
|
||||
|
||||
### Android Emulator Testing
|
||||
|
||||
For automated testing with camera notch (cutout) support:
|
||||
@@ -78,11 +89,27 @@ The AVD is configured with:
|
||||
|
||||
- `src/` - Inbe application code
|
||||
- `vendor/` - external third-party dependencies
|
||||
- `vendor/flint/` - first-party UI/runtime support code used directly by Inbe
|
||||
- `vendor/flint/` - **git submodule** for first-party UI/runtime support code used directly by Inbe
|
||||
- `wasm4/` - Standalone WASM-4 version
|
||||
- `assets/` - Images and sounds
|
||||
- `droid/` - Android build configuration
|
||||
|
||||
## Flint submodule workflow
|
||||
|
||||
`vendor/flint` is a source submodule (not a one-off copied sync). To update Inbe after a Flint change:
|
||||
|
||||
1. Push changes in the Flint repo.
|
||||
2. In Inbe, update the submodule pointer:
|
||||
- `git submodule update --init --recursive vendor/flint`
|
||||
- `git -C vendor/flint pull`
|
||||
3. Commit Inbe with the updated `vendor/flint` submodule reference.
|
||||
|
||||
When updating other projects that vendor Flint as a submodule, this keeps UI behavior and API docs aligned.
|
||||
|
||||
## Sync model
|
||||
|
||||
Inbe is offline-first. User-owned app data moves through the storage sync chain; social data is server-authorized. Friends, requests, and leaderboard snapshots are cached locally for fast/offline UI, but Lyra owns the authoritative social state and refreshes those caches through authenticated sync.
|
||||
|
||||
## License
|
||||
|
||||
MIT - see [LICENSE](LICENSE)
|
||||
|
Before Width: | Height: | Size: 98 KiB After Width: | Height: | Size: 100 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 249 B |
|
Before Width: | Height: | Size: 235 B |
|
Before Width: | Height: | Size: 323 B |
|
Before Width: | Height: | Size: 265 B |
|
Before Width: | Height: | Size: 294 B |
|
Before Width: | Height: | Size: 236 B |
|
Before Width: | Height: | Size: 305 B |
|
Before Width: | Height: | Size: 328 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 907 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 990 B |
|
After Width: | Height: | Size: 934 B |
|
After Width: | Height: | Size: 961 B |
|
After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 295 B |
@@ -35,8 +35,8 @@ android {
|
||||
defaultConfig {
|
||||
minSdk 21
|
||||
targetSdk 35
|
||||
versionCode 48
|
||||
versionName "1.5.2"
|
||||
versionCode 63
|
||||
versionName "1.7.0"
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
|
||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
|
||||
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
|
||||
<application
|
||||
android:hasCode="true"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
@@ -10,7 +12,7 @@
|
||||
android:roundIcon="@mipmap/ic_launcher_round">
|
||||
<activity
|
||||
android:name="xyz.waozi.inbe.MainActivity"
|
||||
android:configChanges="keyboardHidden|uiMode"
|
||||
android:configChanges="keyboardHidden|orientation|screenSize|smallestScreenSize|uiMode"
|
||||
android:exported="true"
|
||||
android:theme="@android:style/Theme.DeviceDefault.NoActionBar"
|
||||
android:windowLayoutInDisplayCutoutMode="never">
|
||||
@@ -32,5 +34,10 @@
|
||||
android:name="android.support.FILE_PROVIDER_PATHS"
|
||||
android:resource="@xml/file_paths" />
|
||||
</provider>
|
||||
|
||||
<service
|
||||
android:name="xyz.waozi.inbe.SessionForegroundService"
|
||||
android:exported="false"
|
||||
android:foregroundServiceType="mediaPlayback" />
|
||||
</application>
|
||||
</manifest>
|
||||
@@ -2,14 +2,17 @@ cmake_minimum_required(VERSION 3.22)
|
||||
project(Inbe C)
|
||||
|
||||
find_program(CCACHE_PROGRAM ccache)
|
||||
if(CCACHE_PROGRAM)
|
||||
if(CCACHE_PROGRAM AND EXISTS "${CCACHE_PROGRAM}")
|
||||
set(CMAKE_C_COMPILER_LAUNCHER "${CCACHE_PROGRAM}")
|
||||
else()
|
||||
set(CMAKE_C_COMPILER_LAUNCHER "")
|
||||
set(CMAKE_C_COMPILER_LAUNCHER "" CACHE STRING "" FORCE)
|
||||
endif()
|
||||
|
||||
set(REPO_ROOT "${CMAKE_CURRENT_LIST_DIR}/../../../../..")
|
||||
set(SRC_DIR "${REPO_ROOT}/src")
|
||||
set(RAYLIB_DIR "${REPO_ROOT}/vendor/raylib/src")
|
||||
set(FLINT_DIR "${REPO_ROOT}/vendor/flint")
|
||||
set(RAYLIB_DIR "${FLINT_DIR}/vendor/raylib/src")
|
||||
set(SQLITE_DIR "${REPO_ROOT}/vendor/sqlite")
|
||||
set(SQLITE_BUILD_DIR "${CMAKE_BINARY_DIR}/sqlite")
|
||||
set(SQLITE_AMALGAMATION_C "${SQLITE_BUILD_DIR}/sqlite3.c")
|
||||
@@ -18,7 +21,10 @@ set(NATIVE_APP_GLUE_DIR "${ANDROID_NDK}/sources/android/native_app_glue")
|
||||
set(OQS_BUILD_ONLY_LIB ON CACHE BOOL "" FORCE)
|
||||
set(OQS_USE_OPENSSL OFF CACHE BOOL "" FORCE)
|
||||
set(OQS_MINIMAL_BUILD "SIG_ml_dsa_44" CACHE STRING "" FORCE)
|
||||
add_subdirectory("${REPO_ROOT}/vendor/liboqs" "${CMAKE_BINARY_DIR}/liboqs")
|
||||
add_subdirectory("${FLINT_DIR}/vendor/liboqs" "${CMAKE_BINARY_DIR}/liboqs")
|
||||
if(NOT TARGET oqs)
|
||||
message(FATAL_ERROR "Inbe Android builds require liboqs for sync account crypto")
|
||||
endif()
|
||||
file(GLOB FLINT_SOURCES CONFIGURE_DEPENDS "${FLINT_DIR}/src/*.c" "${FLINT_DIR}/src/ui/*.c")
|
||||
list(REMOVE_ITEM FLINT_SOURCES "${FLINT_DIR}/src/flint_file_dialog.c")
|
||||
file(GLOB INBE_LOCALE_ASSETS RELATIVE "${REPO_ROOT}" CONFIGURE_DEPENDS "${REPO_ROOT}/locales/*.txt")
|
||||
@@ -28,6 +34,15 @@ set(INBE_EMBEDDED_INPUTS
|
||||
assets/practices/whm/1.jpg
|
||||
assets/practices/whm/2.jpg
|
||||
assets/practices/meditation/1.jpg
|
||||
assets/pet/egg1.png
|
||||
assets/practices/sunsalutation/pos_0001.png
|
||||
assets/practices/sunsalutation/pos_0002.png
|
||||
assets/practices/sunsalutation/pos_0003.png
|
||||
assets/practices/sunsalutation/pos_0004.png
|
||||
assets/practices/sunsalutation/pos_0005.png
|
||||
assets/practices/sunsalutation/pos_0006.png
|
||||
assets/practices/sunsalutation/pos_0007.png
|
||||
assets/practices/sunsalutation/pos_0008.png
|
||||
assets/fonts/locales.png
|
||||
assets/fonts/locales.dat
|
||||
${INBE_SOUND_ASSETS}
|
||||
@@ -96,6 +111,7 @@ add_library(main SHARED
|
||||
"${SRC_DIR}/main.c"
|
||||
"${SRC_DIR}/core/breath_engine.c"
|
||||
"${SRC_DIR}/app/app.c"
|
||||
"${SRC_DIR}/app/app_nav.c"
|
||||
"${SRC_DIR}/app/app_settings.c"
|
||||
"${SRC_DIR}/app/device_preferences.c"
|
||||
"${SRC_DIR}/practices/practice_registry.c"
|
||||
@@ -107,15 +123,20 @@ add_library(main SHARED
|
||||
"${SRC_DIR}/practices/meditation/meditation_session.c"
|
||||
"${SRC_DIR}/practices/meditation/meditation_manual.c"
|
||||
"${SRC_DIR}/practices/meditation/meditation_config.c"
|
||||
"${SRC_DIR}/practices/sun_salutation/sun_salutation_practice.c"
|
||||
"${SRC_DIR}/practices/sun_salutation/sun_salutation_session.c"
|
||||
"${SRC_DIR}/screens/habits_screen.c"
|
||||
"${SRC_DIR}/screens/statistics_screen.c"
|
||||
"${SRC_DIR}/screens/habits/edit.c"
|
||||
"${SRC_DIR}/screens/habits/session.c"
|
||||
"${SRC_DIR}/screens/profile_screen.c"
|
||||
"${SRC_DIR}/screens/pet_screen.c"
|
||||
"${SRC_DIR}/practices/meditation/meditation_music.c"
|
||||
"${SRC_DIR}/storage/data.c"
|
||||
"${SRC_DIR}/storage/db.c"
|
||||
"${SRC_DIR}/storage/import.c"
|
||||
"${SRC_DIR}/storage/storage.c"
|
||||
"${SRC_DIR}/storage/sync_review.c"
|
||||
"${SRC_DIR}/storage/sync_account.c"
|
||||
"${SRC_DIR}/storage/sync_client.c"
|
||||
"${SRC_DIR}/third_party/miniz.c"
|
||||
@@ -129,7 +150,9 @@ add_library(main SHARED
|
||||
"${SRC_DIR}/screens/manual_screen.c"
|
||||
"${SRC_DIR}/screens/settings/settings_screen.c"
|
||||
"${SRC_DIR}/screens/settings/settings_device.c"
|
||||
"${SRC_DIR}/screens/settings/settings_session.c"
|
||||
"${SRC_DIR}/screens/settings/settings_theme.c"
|
||||
"${SRC_DIR}/screens/settings/settings_about.c"
|
||||
"${SRC_DIR}/screens/settings/settings_data.c"
|
||||
"${SRC_DIR}/screens/settings/settings_sync_account.c"
|
||||
"${INBE_EMBEDDED_ASSETS_C}"
|
||||
@@ -149,6 +172,7 @@ target_include_directories(main PRIVATE
|
||||
"${SRC_DIR}/practices"
|
||||
"${SRC_DIR}/practices/whm"
|
||||
"${SRC_DIR}/practices/meditation"
|
||||
"${SRC_DIR}/practices/sun_salutation"
|
||||
"${SRC_DIR}/storage"
|
||||
"${SRC_DIR}/platform/android"
|
||||
"${SRC_DIR}/third_party"
|
||||
@@ -169,7 +193,7 @@ target_compile_definitions(main PRIVATE
|
||||
SUPPORT_MODULE_RAUDIO=1
|
||||
SUPPORT_FILEFORMAT_OGG=1
|
||||
FLINT_EMBEDDED_ONLY=1
|
||||
INBE_HAS_LIBOQS=1
|
||||
FLINT_HAS_LIBOQS=1
|
||||
)
|
||||
|
||||
target_compile_options(main PRIVATE
|
||||
|
||||
@@ -11,17 +11,17 @@ import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.res.Configuration;
|
||||
import android.graphics.Insets;
|
||||
import android.graphics.Color;
|
||||
import android.net.Uri;
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
import android.os.PowerManager;
|
||||
import android.util.Base64;
|
||||
import android.util.Log;
|
||||
import android.view.DisplayCutout;
|
||||
import android.view.KeyEvent;
|
||||
import android.view.View;
|
||||
import android.view.ViewTreeObserver;
|
||||
import android.view.WindowInsets;
|
||||
import android.view.WindowInsetsController;
|
||||
import android.view.WindowManager;
|
||||
import android.view.inputmethod.InputMethodManager;
|
||||
import java.io.File;
|
||||
@@ -29,15 +29,10 @@ import java.io.FileOutputStream;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.net.HttpURLConnection;
|
||||
import java.net.Socket;
|
||||
import java.net.SocketException;
|
||||
import java.net.SocketTimeoutException;
|
||||
import java.net.URI;
|
||||
import java.net.UnknownHostException;
|
||||
import java.net.URL;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.security.SecureRandom;
|
||||
import javax.net.ssl.SSLSocketFactory;
|
||||
|
||||
public class MainActivity extends NativeActivity {
|
||||
private static final String TAG = "InbeMainActivity";
|
||||
@@ -50,14 +45,14 @@ public class MainActivity extends NativeActivity {
|
||||
System.loadLibrary("main");
|
||||
}
|
||||
|
||||
// [status_bar, nav_bar, cutout_left, cutout_top, cutout_right, cutout_bottom]
|
||||
// [status_bar, nav_bar, cutouts] mirrored in native.
|
||||
private final int[] cachedInsets = new int[6];
|
||||
private boolean insetsInitialized = false;
|
||||
private PowerManager.WakeLock wakeLock = null;
|
||||
private boolean activityPaused = false;
|
||||
private boolean windowFocused = true;
|
||||
private boolean backgroundExecutionActive = false;
|
||||
private boolean autoPausedForLifecycle = false;
|
||||
private boolean notificationPermissionRequestInFlight = false;
|
||||
private int lastDeleteRepeatCount = -1;
|
||||
|
||||
private native void nativeSetInsets(int status, int nav,
|
||||
@@ -79,14 +74,17 @@ public class MainActivity extends NativeActivity {
|
||||
private native void nativeTextInputEnter();
|
||||
private native void nativeInvalidateGraphicsResources();
|
||||
|
||||
private void requestDownloadNotificationPermissionIfNeeded() {
|
||||
private void requestNotificationPermissionIfNeeded() {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU &&
|
||||
checkSelfPermission(Manifest.permission.POST_NOTIFICATIONS) != PackageManager.PERMISSION_GRANTED) {
|
||||
checkSelfPermission(Manifest.permission.POST_NOTIFICATIONS) != PackageManager.PERMISSION_GRANTED &&
|
||||
!notificationPermissionRequestInFlight) {
|
||||
runOnUiThread(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU &&
|
||||
checkSelfPermission(Manifest.permission.POST_NOTIFICATIONS) != PackageManager.PERMISSION_GRANTED) {
|
||||
checkSelfPermission(Manifest.permission.POST_NOTIFICATIONS) != PackageManager.PERMISSION_GRANTED &&
|
||||
!notificationPermissionRequestInFlight) {
|
||||
notificationPermissionRequestInFlight = true;
|
||||
requestPermissions(new String[] { Manifest.permission.POST_NOTIFICATIONS },
|
||||
REQUEST_POST_NOTIFICATIONS);
|
||||
}
|
||||
@@ -95,8 +93,19 @@ public class MainActivity extends NativeActivity {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onRequestPermissionsResult(int requestCode, String[] permissions, int[] grantResults) {
|
||||
super.onRequestPermissionsResult(requestCode, permissions, grantResults);
|
||||
if (requestCode == REQUEST_POST_NOTIFICATIONS) {
|
||||
notificationPermissionRequestInFlight = false;
|
||||
boolean granted = grantResults.length > 0 &&
|
||||
grantResults[0] == PackageManager.PERMISSION_GRANTED;
|
||||
Log.d(TAG, "Notification permission result: granted=" + granted);
|
||||
}
|
||||
}
|
||||
|
||||
private NotificationManager getDownloadNotificationManager() {
|
||||
requestDownloadNotificationPermissionIfNeeded();
|
||||
requestNotificationPermissionIfNeeded();
|
||||
NotificationManager manager = (NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
if (manager != null && Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||
NotificationChannel channel = new NotificationChannel(
|
||||
@@ -292,224 +301,11 @@ public class MainActivity extends NativeActivity {
|
||||
}
|
||||
|
||||
public String syncHttpRequest(String method, String urlText, String body, String[] headers) {
|
||||
HttpURLConnection connection = null;
|
||||
int status = 0;
|
||||
|
||||
try {
|
||||
byte[] bodyBytes = body != null ? body.getBytes(StandardCharsets.UTF_8) : new byte[0];
|
||||
connection = (HttpURLConnection)new URL(urlText).openConnection();
|
||||
connection.setInstanceFollowRedirects(false);
|
||||
connection.setConnectTimeout(15000);
|
||||
connection.setReadTimeout(30000);
|
||||
connection.setRequestMethod(method);
|
||||
connection.setRequestProperty("User-Agent", "inbe-sync/1");
|
||||
if (headers != null) {
|
||||
for (String header : headers) {
|
||||
if (header == null) continue;
|
||||
int colon = header.indexOf(':');
|
||||
if (colon <= 0) continue;
|
||||
String key = header.substring(0, colon).trim();
|
||||
String value = header.substring(colon + 1).trim();
|
||||
if (!key.isEmpty()) {
|
||||
connection.setRequestProperty(key, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
if ("POST".equals(method) || "DELETE".equals(method)) {
|
||||
connection.setDoOutput(true);
|
||||
connection.setFixedLengthStreamingMode(bodyBytes.length);
|
||||
try (OutputStream output = connection.getOutputStream()) {
|
||||
output.write(bodyBytes);
|
||||
}
|
||||
}
|
||||
|
||||
status = connection.getResponseCode();
|
||||
InputStream stream = status >= 400 ? connection.getErrorStream() : connection.getInputStream();
|
||||
String response = "";
|
||||
if (stream != null) {
|
||||
try (InputStream input = stream) {
|
||||
byte[] bytes = readAllBytesCompat(input);
|
||||
response = new String(bytes, StandardCharsets.UTF_8);
|
||||
}
|
||||
}
|
||||
return status + "\n" + response;
|
||||
} catch (Exception e) {
|
||||
Log.e(TAG, "Sync HTTP request failed", e);
|
||||
return status + "\n" + (e.getMessage() != null ? e.getMessage() : "request failed");
|
||||
} finally {
|
||||
if (connection != null) {
|
||||
connection.disconnect();
|
||||
}
|
||||
}
|
||||
return SyncNetwork.httpRequest(TAG, method, urlText, body, headers);
|
||||
}
|
||||
|
||||
public String syncWebSocketWait(String urlText, String[] headers) {
|
||||
Socket socket = null;
|
||||
|
||||
try {
|
||||
URI url = new URI(urlText);
|
||||
String protocol = url.getScheme();
|
||||
boolean secure = "wss".equals(protocol);
|
||||
int port = url.getPort();
|
||||
String path = url.getRawPath();
|
||||
if (path == null || path.isEmpty()) path = "/";
|
||||
if (url.getRawQuery() != null && !url.getRawQuery().isEmpty()) {
|
||||
path += "?" + url.getRawQuery();
|
||||
}
|
||||
if (port <= 0) port = secure ? 443 : 80;
|
||||
if (!secure && !"ws".equals(protocol)) {
|
||||
return "0\ninvalid websocket url";
|
||||
}
|
||||
|
||||
socket = secure
|
||||
? SSLSocketFactory.getDefault().createSocket(url.getHost(), port)
|
||||
: new Socket(url.getHost(), port);
|
||||
socket.setTcpNoDelay(true);
|
||||
|
||||
byte[] keyBytes = new byte[16];
|
||||
new SecureRandom().nextBytes(keyBytes);
|
||||
String key = Base64.encodeToString(keyBytes, Base64.NO_WRAP);
|
||||
|
||||
StringBuilder request = new StringBuilder();
|
||||
request.append("GET ").append(path).append(" HTTP/1.1\r\n");
|
||||
request.append("Host: ").append(url.getHost());
|
||||
if ((secure && port != 443) || (!secure && port != 80)) {
|
||||
request.append(":").append(port);
|
||||
}
|
||||
request.append("\r\n");
|
||||
request.append("Upgrade: websocket\r\n");
|
||||
request.append("Connection: Upgrade\r\n");
|
||||
request.append("Sec-WebSocket-Version: 13\r\n");
|
||||
request.append("Sec-WebSocket-Key: ").append(key).append("\r\n");
|
||||
request.append("User-Agent: inbe-sync/1\r\n");
|
||||
if (headers != null) {
|
||||
for (String header : headers) {
|
||||
if (header != null && !header.isEmpty()) {
|
||||
request.append(header).append("\r\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
request.append("\r\n");
|
||||
socket.getOutputStream().write(request.toString().getBytes(StandardCharsets.US_ASCII));
|
||||
socket.getOutputStream().flush();
|
||||
|
||||
String statusLine = readAsciiLine(socket);
|
||||
int status = parseHttpStatus(statusLine);
|
||||
while (true) {
|
||||
String line = readAsciiLine(socket);
|
||||
if (line == null || line.isEmpty()) break;
|
||||
}
|
||||
if (status != 101) {
|
||||
return status + "\nwebsocket upgrade failed";
|
||||
}
|
||||
Log.i(TAG, "Sync WebSocket connected");
|
||||
|
||||
while (true) {
|
||||
String message = readWebSocketText(socket);
|
||||
if (message == null) {
|
||||
return "0\nwebsocket closed";
|
||||
}
|
||||
if (message.contains("\"type\":\"sync_changed\"")) {
|
||||
return "101\n" + message;
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
Log.w(TAG, "WebSocket wait failed", e);
|
||||
return "0\n" + (e.getMessage() != null ? e.getMessage() : "websocket failed");
|
||||
} finally {
|
||||
if (socket != null) {
|
||||
try {
|
||||
socket.close();
|
||||
} catch (Exception ignored) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static int parseHttpStatus(String statusLine) {
|
||||
if (statusLine == null) return 0;
|
||||
String[] parts = statusLine.split(" ", 3);
|
||||
if (parts.length < 2) return 0;
|
||||
try {
|
||||
return Integer.parseInt(parts[1]);
|
||||
} catch (NumberFormatException e) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
private static String readAsciiLine(Socket socket) throws java.io.IOException {
|
||||
StringBuilder line = new StringBuilder();
|
||||
while (true) {
|
||||
int b = socket.getInputStream().read();
|
||||
if (b < 0) {
|
||||
return line.length() > 0 ? line.toString() : null;
|
||||
}
|
||||
if (b == '\n') break;
|
||||
if (b != '\r') line.append((char)b);
|
||||
}
|
||||
return line.toString();
|
||||
}
|
||||
|
||||
private static String readWebSocketText(Socket socket) throws java.io.IOException {
|
||||
int b0 = socket.getInputStream().read();
|
||||
int b1 = socket.getInputStream().read();
|
||||
if (b0 < 0 || b1 < 0) return null;
|
||||
|
||||
int opcode = b0 & 0x0f;
|
||||
boolean masked = (b1 & 0x80) != 0;
|
||||
long length = b1 & 0x7f;
|
||||
if (length == 126) {
|
||||
length = ((long)readByte(socket) << 8) | readByte(socket);
|
||||
} else if (length == 127) {
|
||||
length = 0;
|
||||
for (int i = 0; i < 8; i++) {
|
||||
length = (length << 8) | readByte(socket);
|
||||
}
|
||||
}
|
||||
if (length < 0 || length > 1024 * 1024) {
|
||||
throw new java.io.IOException("websocket frame too large");
|
||||
}
|
||||
|
||||
byte[] mask = null;
|
||||
if (masked) {
|
||||
mask = readExact(socket, 4);
|
||||
}
|
||||
byte[] payload = readExact(socket, (int)length);
|
||||
if (masked) {
|
||||
for (int i = 0; i < payload.length; i++) {
|
||||
payload[i] = (byte)(payload[i] ^ mask[i % 4]);
|
||||
}
|
||||
}
|
||||
if (opcode == 8) return null;
|
||||
if (opcode != 1) return "";
|
||||
return new String(payload, StandardCharsets.UTF_8);
|
||||
}
|
||||
|
||||
private static int readByte(Socket socket) throws java.io.IOException {
|
||||
int b = socket.getInputStream().read();
|
||||
if (b < 0) throw new java.io.IOException("unexpected eof");
|
||||
return b;
|
||||
}
|
||||
|
||||
private static byte[] readExact(Socket socket, int count) throws java.io.IOException {
|
||||
byte[] data = new byte[count];
|
||||
int offset = 0;
|
||||
while (offset < count) {
|
||||
int read = socket.getInputStream().read(data, offset, count - offset);
|
||||
if (read < 0) throw new java.io.IOException("unexpected eof");
|
||||
offset += read;
|
||||
}
|
||||
return data;
|
||||
}
|
||||
|
||||
private static byte[] readAllBytesCompat(InputStream input) throws java.io.IOException {
|
||||
byte[] buffer = new byte[8192];
|
||||
int read;
|
||||
java.io.ByteArrayOutputStream output = new java.io.ByteArrayOutputStream();
|
||||
while ((read = input.read(buffer)) != -1) {
|
||||
output.write(buffer, 0, read);
|
||||
}
|
||||
return output.toByteArray();
|
||||
return SyncNetwork.webSocketWait(TAG, urlText, headers);
|
||||
}
|
||||
|
||||
public void openImportPicker(final String mimeTypesCsv) {
|
||||
@@ -592,31 +388,26 @@ public class MainActivity extends NativeActivity {
|
||||
}
|
||||
|
||||
public void acquireWakeLock() {
|
||||
Log.d(TAG, "acquireWakeLock called - wakeLock=" + wakeLock);
|
||||
if (wakeLock == null) {
|
||||
Log.d(TAG, "Creating new PARTIAL_WAKE_LOCK");
|
||||
PowerManager pm = (PowerManager) getSystemService(Context.POWER_SERVICE);
|
||||
wakeLock = pm.newWakeLock(
|
||||
PowerManager.PARTIAL_WAKE_LOCK,
|
||||
"inbe:meditation_session"
|
||||
);
|
||||
wakeLock.acquire();
|
||||
Log.d(TAG, "Wake lock acquired successfully - held=" + wakeLock.isHeld());
|
||||
Log.d(TAG, "Starting session foreground service");
|
||||
requestNotificationPermissionIfNeeded();
|
||||
Intent intent = new Intent(this, SessionForegroundService.class);
|
||||
intent.setAction(SessionForegroundService.ACTION_START);
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||
startForegroundService(intent);
|
||||
} else {
|
||||
Log.d(TAG, "Wake lock already exists - held=" + wakeLock.isHeld());
|
||||
startService(intent);
|
||||
}
|
||||
}
|
||||
|
||||
public void releaseWakeLock() {
|
||||
Log.d(TAG, "releaseWakeLock called - wakeLock=" + wakeLock);
|
||||
if (wakeLock != null && wakeLock.isHeld()) {
|
||||
Log.d(TAG, "Releasing wake lock - was held=" + wakeLock.isHeld());
|
||||
wakeLock.release();
|
||||
Log.d(TAG, "Wake lock released successfully");
|
||||
wakeLock = null;
|
||||
} else {
|
||||
Log.d(TAG, "Wake lock not held - wakeLock=" + wakeLock + " isHeld=" + (wakeLock != null ? wakeLock.isHeld() : "null"));
|
||||
}
|
||||
Log.d(TAG, "Stopping session foreground service");
|
||||
Intent intent = new Intent(this, SessionForegroundService.class);
|
||||
intent.setAction(SessionForegroundService.ACTION_STOP);
|
||||
stopService(intent);
|
||||
}
|
||||
|
||||
public void updateSessionNotification(final String statusText) {
|
||||
SessionForegroundService.updateStatus(statusText == null ? "" : statusText);
|
||||
}
|
||||
|
||||
public void keepScreenOn() {
|
||||
@@ -641,7 +432,9 @@ public class MainActivity extends NativeActivity {
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
configureSystemBars();
|
||||
super.onCreate(savedInstanceState);
|
||||
configureSystemBars();
|
||||
|
||||
synchronized (cachedInsets) {
|
||||
for (int i = 0; i < 6; i++) {
|
||||
@@ -654,16 +447,52 @@ public class MainActivity extends NativeActivity {
|
||||
|
||||
// Notify native code that activity is ready for wake lock
|
||||
nativeWakeLockReady();
|
||||
requestNotificationPermissionIfNeeded();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onConfigurationChanged(Configuration newConfig) {
|
||||
super.onConfigurationChanged(newConfig);
|
||||
nativeInvalidateGraphicsResources();
|
||||
configureSystemBars();
|
||||
pushDeviceConfiguration();
|
||||
requestInsetRefresh();
|
||||
}
|
||||
|
||||
private void configureSystemBars() {
|
||||
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_NAVIGATION);
|
||||
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_TRANSLUCENT_STATUS);
|
||||
getWindow().clearFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN);
|
||||
getWindow().addFlags(WindowManager.LayoutParams.FLAG_DRAWS_SYSTEM_BAR_BACKGROUNDS);
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
|
||||
getWindow().setDecorFitsSystemWindows(false);
|
||||
}
|
||||
getWindow().setNavigationBarColor(Color.BLACK);
|
||||
getWindow().setStatusBarColor(Color.BLACK);
|
||||
int flags = getWindow().getDecorView().getSystemUiVisibility();
|
||||
flags |= View.SYSTEM_UI_FLAG_LAYOUT_STABLE;
|
||||
flags |= View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION;
|
||||
flags |= View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN;
|
||||
flags &= ~View.SYSTEM_UI_FLAG_HIDE_NAVIGATION;
|
||||
flags &= ~View.SYSTEM_UI_FLAG_FULLSCREEN;
|
||||
flags &= ~View.SYSTEM_UI_FLAG_IMMERSIVE;
|
||||
flags &= ~View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY;
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
|
||||
flags &= ~View.SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR;
|
||||
}
|
||||
getWindow().getDecorView().setSystemUiVisibility(flags);
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
|
||||
WindowInsetsController controller = getWindow().getInsetsController();
|
||||
if (controller != null) {
|
||||
controller.hide(WindowInsets.Type.statusBars());
|
||||
controller.show(WindowInsets.Type.navigationBars());
|
||||
}
|
||||
}
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
|
||||
getWindow().setNavigationBarContrastEnforced(false);
|
||||
}
|
||||
}
|
||||
|
||||
private void pushDeviceConfiguration() {
|
||||
Configuration config = getResources().getConfiguration();
|
||||
int nightMask = config.uiMode & Configuration.UI_MODE_NIGHT_MASK;
|
||||
@@ -730,38 +559,9 @@ public class MainActivity extends NativeActivity {
|
||||
}
|
||||
}
|
||||
});
|
||||
} else {
|
||||
fallbackForOldPhones();
|
||||
}
|
||||
}
|
||||
|
||||
private void fallbackForOldPhones() {
|
||||
int statusBarHeight = 0;
|
||||
int navBarHeight = 0;
|
||||
|
||||
int resourceId = getResources().getIdentifier("status_bar_height", "dimen", "android");
|
||||
if (resourceId > 0) {
|
||||
statusBarHeight = getResources().getDimensionPixelSize(resourceId);
|
||||
}
|
||||
|
||||
int navResourceId = getResources().getIdentifier("navigation_bar_height", "dimen", "android");
|
||||
if (navResourceId > 0) {
|
||||
navBarHeight = getResources().getDimensionPixelSize(navResourceId);
|
||||
}
|
||||
|
||||
synchronized (cachedInsets) {
|
||||
cachedInsets[0] = statusBarHeight;
|
||||
cachedInsets[1] = navBarHeight;
|
||||
cachedInsets[2] = 0;
|
||||
cachedInsets[3] = 0;
|
||||
cachedInsets[4] = 0;
|
||||
cachedInsets[5] = 0;
|
||||
}
|
||||
|
||||
insetsInitialized = true;
|
||||
nativeSetInsets(statusBarHeight, navBarHeight, 0, 0, 0, 0);
|
||||
}
|
||||
|
||||
private void updateInsets(WindowInsets insets) {
|
||||
if (insets == null) return;
|
||||
|
||||
@@ -770,7 +570,8 @@ public class MainActivity extends NativeActivity {
|
||||
int navBar = 0;
|
||||
int cLeft = 0, cTop = 0, cRight = 0, cBottom = 0;
|
||||
|
||||
// System bar calculations
|
||||
// Inbe owns a single edge-to-edge native surface. Java reports the
|
||||
// system bar insets; native applies them once against the real GL surface.
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
|
||||
Insets systemBars = insets.getInsetsIgnoringVisibility(WindowInsets.Type.systemBars());
|
||||
statusBar = systemBars.top;
|
||||
@@ -779,7 +580,6 @@ public class MainActivity extends NativeActivity {
|
||||
statusBar = insets.getSystemWindowInsetTop();
|
||||
navBar = insets.getSystemWindowInsetBottom();
|
||||
}
|
||||
|
||||
// Display cutout calculations
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
|
||||
DisplayCutout cutout = insets.getDisplayCutout();
|
||||
@@ -858,6 +658,7 @@ public class MainActivity extends NativeActivity {
|
||||
protected void onResume() {
|
||||
super.onResume();
|
||||
activityPaused = false;
|
||||
configureSystemBars();
|
||||
nativeInvalidateGraphicsResources();
|
||||
requestInsetRefresh();
|
||||
syncLifecycleState("onResume");
|
||||
@@ -867,6 +668,10 @@ public class MainActivity extends NativeActivity {
|
||||
public void onWindowFocusChanged(boolean hasFocus) {
|
||||
super.onWindowFocusChanged(hasFocus);
|
||||
windowFocused = hasFocus;
|
||||
if (hasFocus) {
|
||||
configureSystemBars();
|
||||
requestInsetRefresh();
|
||||
}
|
||||
syncLifecycleState("onWindowFocusChanged");
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,181 @@
|
||||
package xyz.waozi.inbe;
|
||||
|
||||
import android.app.Notification;
|
||||
import android.app.NotificationChannel;
|
||||
import android.app.NotificationManager;
|
||||
import android.app.PendingIntent;
|
||||
import android.app.Service;
|
||||
import android.content.Context;
|
||||
import android.content.Intent;
|
||||
import android.content.pm.ServiceInfo;
|
||||
import android.os.Build;
|
||||
import android.os.IBinder;
|
||||
import android.os.PowerManager;
|
||||
import android.util.Log;
|
||||
|
||||
public class SessionForegroundService extends Service {
|
||||
public static final String ACTION_START = "xyz.waozi.inbe.action.START_SESSION_FOREGROUND";
|
||||
public static final String ACTION_STOP = "xyz.waozi.inbe.action.STOP_SESSION_FOREGROUND";
|
||||
private static final String TAG = "InbeSessionService";
|
||||
private static final String CHANNEL_ID = "active_session";
|
||||
private static final int NOTIFICATION_ID = 3001;
|
||||
private static String currentStatusText = "";
|
||||
private static SessionForegroundService activeService = null;
|
||||
|
||||
private PowerManager.WakeLock wakeLock = null;
|
||||
|
||||
@Override
|
||||
public void onCreate() {
|
||||
super.onCreate();
|
||||
activeService = this;
|
||||
ensureNotificationChannel();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int onStartCommand(Intent intent, int flags, int startId) {
|
||||
String action = intent != null ? intent.getAction() : ACTION_START;
|
||||
|
||||
if (ACTION_STOP.equals(action)) {
|
||||
stopSession();
|
||||
return START_NOT_STICKY;
|
||||
}
|
||||
startSession();
|
||||
return START_NOT_STICKY;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDestroy() {
|
||||
releaseWakeLock();
|
||||
stopForegroundCompat();
|
||||
if (activeService == this) {
|
||||
activeService = null;
|
||||
}
|
||||
super.onDestroy();
|
||||
}
|
||||
|
||||
@Override
|
||||
public IBinder onBind(Intent intent) {
|
||||
return null;
|
||||
}
|
||||
|
||||
private void startSession() {
|
||||
currentStatusText = "";
|
||||
Notification notification = buildNotification();
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
|
||||
startForeground(
|
||||
NOTIFICATION_ID,
|
||||
notification,
|
||||
ServiceInfo.FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK
|
||||
);
|
||||
} else {
|
||||
startForeground(NOTIFICATION_ID, notification);
|
||||
}
|
||||
acquireWakeLock();
|
||||
Log.d(TAG, "Session foreground service started");
|
||||
}
|
||||
|
||||
private void stopSession() {
|
||||
currentStatusText = "";
|
||||
releaseWakeLock();
|
||||
stopForegroundCompat();
|
||||
stopSelf();
|
||||
Log.d(TAG, "Session foreground service stopped");
|
||||
}
|
||||
|
||||
public static void updateStatus(String statusText) {
|
||||
currentStatusText = statusText != null ? statusText : "";
|
||||
|
||||
SessionForegroundService service = activeService;
|
||||
if (service == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
NotificationManager manager =
|
||||
(NotificationManager)service.getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
if (manager != null) {
|
||||
manager.notify(NOTIFICATION_ID, service.buildNotification());
|
||||
}
|
||||
}
|
||||
|
||||
private void stopForegroundCompat() {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
|
||||
stopForeground(STOP_FOREGROUND_REMOVE);
|
||||
} else {
|
||||
stopForeground(true);
|
||||
}
|
||||
}
|
||||
|
||||
private void acquireWakeLock() {
|
||||
if (wakeLock != null && wakeLock.isHeld()) {
|
||||
return;
|
||||
}
|
||||
|
||||
PowerManager pm = (PowerManager)getSystemService(Context.POWER_SERVICE);
|
||||
if (pm == null) {
|
||||
Log.e(TAG, "PowerManager unavailable; cannot acquire wakelock");
|
||||
return;
|
||||
}
|
||||
|
||||
wakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "inbe:active_session");
|
||||
wakeLock.setReferenceCounted(false);
|
||||
wakeLock.acquire();
|
||||
Log.d(TAG, "Session wakelock acquired");
|
||||
}
|
||||
|
||||
private void releaseWakeLock() {
|
||||
if (wakeLock != null && wakeLock.isHeld()) {
|
||||
wakeLock.release();
|
||||
Log.d(TAG, "Session wakelock released");
|
||||
}
|
||||
wakeLock = null;
|
||||
}
|
||||
|
||||
private Notification buildNotification() {
|
||||
Intent launchIntent = new Intent(this, MainActivity.class);
|
||||
launchIntent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP | Intent.FLAG_ACTIVITY_CLEAR_TOP);
|
||||
int pendingFlags = PendingIntent.FLAG_UPDATE_CURRENT;
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
|
||||
pendingFlags |= PendingIntent.FLAG_IMMUTABLE;
|
||||
}
|
||||
PendingIntent pendingIntent = PendingIntent.getActivity(this, 0, launchIntent, pendingFlags);
|
||||
|
||||
Notification.Builder builder = Build.VERSION.SDK_INT >= Build.VERSION_CODES.O
|
||||
? new Notification.Builder(this, CHANNEL_ID)
|
||||
: new Notification.Builder(this);
|
||||
|
||||
CharSequence title = getApplicationInfo().loadLabel(getPackageManager());
|
||||
builder.setSmallIcon(android.R.drawable.ic_media_play)
|
||||
.setContentTitle(title)
|
||||
.setContentText(currentStatusText)
|
||||
.setContentIntent(pendingIntent)
|
||||
.setOngoing(true)
|
||||
.setOnlyAlertOnce(true)
|
||||
.setShowWhen(false);
|
||||
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||
builder.setCategory(Notification.CATEGORY_TRANSPORT)
|
||||
.setVisibility(Notification.VISIBILITY_PUBLIC);
|
||||
}
|
||||
|
||||
return builder.build();
|
||||
}
|
||||
|
||||
private void ensureNotificationChannel() {
|
||||
if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) {
|
||||
return;
|
||||
}
|
||||
|
||||
NotificationManager manager =
|
||||
(NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE);
|
||||
if (manager == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
NotificationChannel channel = new NotificationChannel(
|
||||
CHANNEL_ID,
|
||||
getApplicationInfo().loadLabel(getPackageManager()),
|
||||
NotificationManager.IMPORTANCE_LOW
|
||||
);
|
||||
manager.createNotificationChannel(channel);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,240 @@
|
||||
package xyz.waozi.inbe;
|
||||
|
||||
import android.util.Base64;
|
||||
import android.util.Log;
|
||||
import java.io.InputStream;
|
||||
import java.io.OutputStream;
|
||||
import java.net.HttpURLConnection;
|
||||
import java.net.Socket;
|
||||
import java.net.URI;
|
||||
import java.net.URL;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.security.SecureRandom;
|
||||
import javax.net.ssl.SSLSocketFactory;
|
||||
|
||||
final class SyncNetwork {
|
||||
private SyncNetwork() {
|
||||
}
|
||||
|
||||
static String httpRequest(String logTag, String method, String urlText, String body,
|
||||
String[] headers) {
|
||||
HttpURLConnection connection = null;
|
||||
int status = 0;
|
||||
|
||||
try {
|
||||
byte[] bodyBytes = body != null ? body.getBytes(StandardCharsets.UTF_8) : new byte[0];
|
||||
connection = (HttpURLConnection)new URL(urlText).openConnection();
|
||||
connection.setInstanceFollowRedirects(false);
|
||||
connection.setConnectTimeout(15000);
|
||||
connection.setReadTimeout(30000);
|
||||
connection.setRequestMethod(method);
|
||||
connection.setRequestProperty("User-Agent", "inbe-sync/1");
|
||||
if (headers != null) {
|
||||
for (String header : headers) {
|
||||
if (header == null) continue;
|
||||
int colon = header.indexOf(':');
|
||||
if (colon <= 0) continue;
|
||||
String key = header.substring(0, colon).trim();
|
||||
String value = header.substring(colon + 1).trim();
|
||||
if (!key.isEmpty()) {
|
||||
connection.setRequestProperty(key, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (bodyBytes.length > 0) {
|
||||
connection.setDoOutput(true);
|
||||
connection.setFixedLengthStreamingMode(bodyBytes.length);
|
||||
try (OutputStream output = connection.getOutputStream()) {
|
||||
output.write(bodyBytes);
|
||||
}
|
||||
}
|
||||
|
||||
status = connection.getResponseCode();
|
||||
InputStream stream = status >= 400 ? connection.getErrorStream() : connection.getInputStream();
|
||||
String response = "";
|
||||
if (stream != null) {
|
||||
try (InputStream input = stream) {
|
||||
byte[] bytes = readAllBytesCompat(input);
|
||||
response = new String(bytes, StandardCharsets.UTF_8);
|
||||
}
|
||||
}
|
||||
return status + "\n" + response;
|
||||
} catch (Exception e) {
|
||||
Log.e(logTag, "Sync HTTP request failed", e);
|
||||
return status + "\n" + (e.getMessage() != null ? e.getMessage() : "request failed");
|
||||
} finally {
|
||||
if (connection != null) {
|
||||
connection.disconnect();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static String webSocketWait(String logTag, String urlText, String[] headers) {
|
||||
Socket socket = null;
|
||||
|
||||
try {
|
||||
URI url = new URI(urlText);
|
||||
String protocol = url.getScheme();
|
||||
boolean secure = "wss".equals(protocol);
|
||||
int port = url.getPort();
|
||||
String path = url.getRawPath();
|
||||
if (path == null || path.isEmpty()) path = "/";
|
||||
if (url.getRawQuery() != null && !url.getRawQuery().isEmpty()) {
|
||||
path += "?" + url.getRawQuery();
|
||||
}
|
||||
if (port <= 0) port = secure ? 443 : 80;
|
||||
if (!secure && !"ws".equals(protocol)) {
|
||||
return "0\ninvalid websocket url";
|
||||
}
|
||||
|
||||
socket = secure
|
||||
? SSLSocketFactory.getDefault().createSocket(url.getHost(), port)
|
||||
: new Socket(url.getHost(), port);
|
||||
socket.setTcpNoDelay(true);
|
||||
|
||||
byte[] keyBytes = new byte[16];
|
||||
new SecureRandom().nextBytes(keyBytes);
|
||||
String key = Base64.encodeToString(keyBytes, Base64.NO_WRAP);
|
||||
|
||||
StringBuilder request = new StringBuilder();
|
||||
request.append("GET ").append(path).append(" HTTP/1.1\r\n");
|
||||
request.append("Host: ").append(url.getHost());
|
||||
if ((secure && port != 443) || (!secure && port != 80)) {
|
||||
request.append(":").append(port);
|
||||
}
|
||||
request.append("\r\n");
|
||||
request.append("Upgrade: websocket\r\n");
|
||||
request.append("Connection: Upgrade\r\n");
|
||||
request.append("Sec-WebSocket-Version: 13\r\n");
|
||||
request.append("Sec-WebSocket-Key: ").append(key).append("\r\n");
|
||||
request.append("User-Agent: inbe-sync/1\r\n");
|
||||
if (headers != null) {
|
||||
for (String header : headers) {
|
||||
if (header != null && !header.isEmpty()) {
|
||||
request.append(header).append("\r\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
request.append("\r\n");
|
||||
socket.getOutputStream().write(request.toString().getBytes(StandardCharsets.US_ASCII));
|
||||
socket.getOutputStream().flush();
|
||||
|
||||
String statusLine = readAsciiLine(socket);
|
||||
int status = parseHttpStatus(statusLine);
|
||||
while (true) {
|
||||
String line = readAsciiLine(socket);
|
||||
if (line == null || line.isEmpty()) break;
|
||||
}
|
||||
if (status != 101) {
|
||||
return status + "\nwebsocket upgrade failed";
|
||||
}
|
||||
Log.i(logTag, "Sync WebSocket connected");
|
||||
|
||||
while (true) {
|
||||
String message = readWebSocketText(socket);
|
||||
if (message == null) {
|
||||
return "0\nwebsocket closed";
|
||||
}
|
||||
if (message.contains("\"type\":\"sync_changed\"")) {
|
||||
return "101\n" + message;
|
||||
}
|
||||
}
|
||||
} catch (Exception e) {
|
||||
Log.w(logTag, "WebSocket wait failed", e);
|
||||
return "0\n" + (e.getMessage() != null ? e.getMessage() : "websocket failed");
|
||||
} finally {
|
||||
if (socket != null) {
|
||||
try {
|
||||
socket.close();
|
||||
} catch (Exception ignored) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static int parseHttpStatus(String statusLine) {
|
||||
if (statusLine == null) return 0;
|
||||
String[] parts = statusLine.split(" ", 3);
|
||||
if (parts.length < 2) return 0;
|
||||
try {
|
||||
return Integer.parseInt(parts[1]);
|
||||
} catch (NumberFormatException e) {
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
||||
private static String readAsciiLine(Socket socket) throws java.io.IOException {
|
||||
StringBuilder line = new StringBuilder();
|
||||
while (true) {
|
||||
int b = socket.getInputStream().read();
|
||||
if (b < 0) {
|
||||
return line.length() > 0 ? line.toString() : null;
|
||||
}
|
||||
if (b == '\n') break;
|
||||
if (b != '\r') line.append((char)b);
|
||||
}
|
||||
return line.toString();
|
||||
}
|
||||
|
||||
private static String readWebSocketText(Socket socket) throws java.io.IOException {
|
||||
int b0 = socket.getInputStream().read();
|
||||
int b1 = socket.getInputStream().read();
|
||||
if (b0 < 0 || b1 < 0) return null;
|
||||
|
||||
int opcode = b0 & 0x0f;
|
||||
boolean masked = (b1 & 0x80) != 0;
|
||||
long length = b1 & 0x7f;
|
||||
if (length == 126) {
|
||||
length = ((long)readByte(socket) << 8) | readByte(socket);
|
||||
} else if (length == 127) {
|
||||
length = 0;
|
||||
for (int i = 0; i < 8; i++) {
|
||||
length = (length << 8) | readByte(socket);
|
||||
}
|
||||
}
|
||||
if (length < 0 || length > 1024 * 1024) {
|
||||
throw new java.io.IOException("websocket frame too large");
|
||||
}
|
||||
|
||||
byte[] mask = null;
|
||||
if (masked) {
|
||||
mask = readExact(socket, 4);
|
||||
}
|
||||
byte[] payload = readExact(socket, (int)length);
|
||||
if (masked) {
|
||||
for (int i = 0; i < payload.length; i++) {
|
||||
payload[i] = (byte)(payload[i] ^ mask[i % 4]);
|
||||
}
|
||||
}
|
||||
if (opcode == 8) return null;
|
||||
if (opcode != 1) return "";
|
||||
return new String(payload, StandardCharsets.UTF_8);
|
||||
}
|
||||
|
||||
private static int readByte(Socket socket) throws java.io.IOException {
|
||||
int b = socket.getInputStream().read();
|
||||
if (b < 0) throw new java.io.IOException("unexpected eof");
|
||||
return b;
|
||||
}
|
||||
|
||||
private static byte[] readExact(Socket socket, int count) throws java.io.IOException {
|
||||
byte[] data = new byte[count];
|
||||
int offset = 0;
|
||||
while (offset < count) {
|
||||
int read = socket.getInputStream().read(data, offset, count - offset);
|
||||
if (read < 0) throw new java.io.IOException("unexpected eof");
|
||||
offset += read;
|
||||
}
|
||||
return data;
|
||||
}
|
||||
|
||||
private static byte[] readAllBytesCompat(InputStream input) throws java.io.IOException {
|
||||
byte[] buffer = new byte[8192];
|
||||
int read;
|
||||
java.io.ByteArrayOutputStream output = new java.io.ByteArrayOutputStream();
|
||||
while ((read = input.read(buffer)) != -1) {
|
||||
output.write(buffer, 0, read);
|
||||
}
|
||||
return output.toByteArray();
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 515 B After Width: | Height: | Size: 511 B |
|
Before Width: | Height: | Size: 515 B After Width: | Height: | Size: 511 B |
|
Before Width: | Height: | Size: 383 B After Width: | Height: | Size: 386 B |
|
Before Width: | Height: | Size: 383 B After Width: | Height: | Size: 386 B |
|
Before Width: | Height: | Size: 577 B After Width: | Height: | Size: 559 B |
|
Before Width: | Height: | Size: 577 B After Width: | Height: | Size: 559 B |
|
Before Width: | Height: | Size: 652 B After Width: | Height: | Size: 657 B |
|
Before Width: | Height: | Size: 652 B After Width: | Height: | Size: 657 B |
|
Before Width: | Height: | Size: 720 B After Width: | Height: | Size: 720 B |
|
Before Width: | Height: | Size: 720 B After Width: | Height: | Size: 720 B |
@@ -0,0 +1,3 @@
|
||||
Fixed
|
||||
---
|
||||
- modal issues
|
||||
@@ -0,0 +1,6 @@
|
||||
Changed
|
||||
---
|
||||
- Use Flint-managed modal handling so modal dialogs block background input consistently.
|
||||
- Add optional sync account aliases, with compact public ID display and full ID reveal modal.
|
||||
- Make sync state tracking more robust with snapshot hash checks and review flow for unresolved differences.
|
||||
- Use Flint's built-in font chopping pipeline and verify multilingual locale glyph coverage.
|
||||
@@ -0,0 +1,3 @@
|
||||
Fixed
|
||||
---
|
||||
- modal capture bug
|
||||
@@ -0,0 +1,3 @@
|
||||
Fixed
|
||||
---
|
||||
- Modal button issue
|
||||
@@ -0,0 +1 @@
|
||||
- Fix test music
|
||||
@@ -0,0 +1,3 @@
|
||||
Fixed
|
||||
---
|
||||
- Background play for meditation practice
|
||||
@@ -0,0 +1,3 @@
|
||||
Fixed
|
||||
---
|
||||
- Android session notification and wakelock for screen-locked playback
|
||||
@@ -0,0 +1,6 @@
|
||||
Added
|
||||
---
|
||||
- Sun Salutation practice with Yoga habit sync support.
|
||||
Changed
|
||||
---
|
||||
- Improve sync reliability and review handling.
|
||||
@@ -0,0 +1,2 @@
|
||||
- Improved notification in session
|
||||
- Standardized settings screen1
|
||||
@@ -0,0 +1 @@
|
||||
- Improve sun salutation
|
||||
@@ -0,0 +1 @@
|
||||
- Improve theme, habit, and localization UI polish
|
||||
@@ -0,0 +1,4 @@
|
||||
- Move meditation duration selection into practice configuration with custom time support.
|
||||
- Add centered in-session meditation add-time controls.
|
||||
- Use Flint-managed liboqs, LibreSSL, and curl build paths.
|
||||
- Fix Android native build to use Flint's liboqs submodule.
|
||||
@@ -0,0 +1,4 @@
|
||||
Fixed
|
||||
---
|
||||
- Repair habit-day sync for zero-count completions.
|
||||
- Require liboqs at build time for every sync-enabled target.
|
||||
@@ -0,0 +1,3 @@
|
||||
Changed
|
||||
---
|
||||
- updated the practice screen ui/ux
|
||||
@@ -0,0 +1,7 @@
|
||||
Changed
|
||||
---
|
||||
- Rework Android safe-area handling to use one native inset path with stable bottom navigation spacing.
|
||||
- Move leaderboard stats to synced source data, with local current-user rows shown immediately.
|
||||
Fixed
|
||||
---
|
||||
- Fix profile/friend sync freshness, leaderboard empty states, modal input capture, pet asset embedding, and wrapped text previews.
|
||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
@@ -4,6 +4,9 @@ Inner Breeze
|
||||
[tab_history]
|
||||
Historie
|
||||
---
|
||||
[tab_profile]
|
||||
Profile
|
||||
---
|
||||
[tab_habits]
|
||||
Návyky
|
||||
---
|
||||
@@ -22,6 +25,24 @@ Označit
|
||||
[tab_manual]
|
||||
Návod
|
||||
---
|
||||
[tab_pet]
|
||||
Pet
|
||||
---
|
||||
[profile_data_title]
|
||||
Data
|
||||
---
|
||||
[profile_data_button]
|
||||
Configure Data
|
||||
---
|
||||
[profile_habits_label]
|
||||
Habits
|
||||
---
|
||||
[profile_sessions_label]
|
||||
Sessions
|
||||
---
|
||||
[profile_storage_label]
|
||||
Storage
|
||||
---
|
||||
[tab_settings]
|
||||
Nastavení
|
||||
---
|
||||
@@ -37,6 +58,63 @@ Wim Hofovo dýchání
|
||||
[exercise_meditation]
|
||||
Meditace
|
||||
---
|
||||
[exercise_sun_salutation]
|
||||
Sun Salutation
|
||||
---
|
||||
[sun_salutation_work_in_progress]
|
||||
Pracuje se
|
||||
---
|
||||
[sun_salutation_repetitions_label]
|
||||
Opakovani
|
||||
---
|
||||
[sun_salutation_start_speed_label]
|
||||
Pocatecni tempo
|
||||
---
|
||||
[sun_salutation_end_speed_label]
|
||||
Koncove tempo
|
||||
---
|
||||
[sun_salutation_tempo_preview_label]
|
||||
Nahled tempa
|
||||
---
|
||||
[sun_salutation_tempo_preview_hint]
|
||||
Prvni opakovani zacina pomaleji a tempo se pak postupne zvysuje.
|
||||
---
|
||||
[sun_salutation_step_1]
|
||||
Krok 1: hora
|
||||
---
|
||||
[sun_salutation_step_2]
|
||||
Krok 2: pozdrav vzhuru
|
||||
---
|
||||
[sun_salutation_step_3]
|
||||
Krok 3: predklon ve stoje
|
||||
---
|
||||
[sun_salutation_step_4]
|
||||
Krok 4: polovicni zdvih
|
||||
---
|
||||
[sun_salutation_step_5]
|
||||
Krok 5: prkno
|
||||
---
|
||||
[sun_salutation_step_6]
|
||||
Krok 6: nizke prkno
|
||||
---
|
||||
[sun_salutation_step_7]
|
||||
Krok 7: pes hlavou vzhuru
|
||||
---
|
||||
[sun_salutation_step_8]
|
||||
Krok 8: pes hlavou dolu
|
||||
---
|
||||
[sun_salutation_step_9]
|
||||
Krok 9: polovicni zdvih
|
||||
---
|
||||
[sun_salutation_step_10]
|
||||
Krok 10: predklon ve stoje
|
||||
---
|
||||
[sun_salutation_step_11]
|
||||
Krok 11: pozdrav vzhuru
|
||||
---
|
||||
[sun_salutation_step_12]
|
||||
Krok 12: hora
|
||||
---
|
||||
[meditation_title]
|
||||
Meditace
|
||||
---
|
||||
@@ -83,7 +161,7 @@ Zastavit test
|
||||
Síť není dostupná
|
||||
---
|
||||
[meditation_music_network_error_message]
|
||||
Nelze se připojit k serveru s meditační hudbou. Zkontrolujte síťová oprávnění Androidu a připojení k internetu a zkuste to znovu.
|
||||
Nelze načíst soubor s meditační hudbou. Zkontrolujte připojení k internetu a zkuste to znovu.
|
||||
---
|
||||
[duration_5m]
|
||||
5 min
|
||||
@@ -100,6 +178,21 @@ Nelze se připojit k serveru s meditační hudbou. Zkontrolujte síťová opráv
|
||||
[duration_2h]
|
||||
2 h
|
||||
---
|
||||
[meditation_duration_setting]
|
||||
Meditation length
|
||||
---
|
||||
[meditation_duration_custom]
|
||||
Custom
|
||||
---
|
||||
[meditation_custom_minutes]
|
||||
Custom time
|
||||
---
|
||||
[meditation_extend_controls_label]
|
||||
Show add-time buttons during meditation
|
||||
---
|
||||
[finish_button]
|
||||
Finish
|
||||
---
|
||||
[breath_button]
|
||||
DÝCHAT
|
||||
---
|
||||
@@ -193,14 +286,11 @@ Vzhled
|
||||
[settings_section_language]
|
||||
Jazyk
|
||||
---
|
||||
[settings_tab_data]
|
||||
Data
|
||||
---
|
||||
[settings_section_data]
|
||||
Data
|
||||
---
|
||||
[settings_tab_about]
|
||||
O aplikaci
|
||||
About
|
||||
---
|
||||
[about_text]
|
||||
A quiet breathing companion for practice, habits, and sync.
|
||||
---
|
||||
[theme_label]
|
||||
Motiv
|
||||
@@ -247,6 +337,21 @@ Pauza po kole
|
||||
[advanced_session_controls_label]
|
||||
Pokročilé ovládání sezení
|
||||
---
|
||||
[double_tap_to_breathe_label]
|
||||
Dvojí klepnutí pro nádech
|
||||
---
|
||||
[double_tap_to_breathe_hint]
|
||||
Dvakrát klepněte na obrazovku pro nádech
|
||||
---
|
||||
[session_count_singular]
|
||||
%d sezení
|
||||
---
|
||||
[session_count_plural]
|
||||
%d sezení
|
||||
---
|
||||
[no_sessions]
|
||||
Žádná sezení
|
||||
---
|
||||
[hold_display_label]
|
||||
Zobrazeni zadrze
|
||||
---
|
||||
@@ -260,7 +365,7 @@ Kruh
|
||||
Hlasitost
|
||||
---
|
||||
[show_session_volume_control_label]
|
||||
Zobrazit ovládání hlasitosti v sezeních
|
||||
Zobrazit ovládání hlasitosti
|
||||
---
|
||||
[reset_to_defaults_label]
|
||||
Obnovit výchozí
|
||||
@@ -486,7 +591,7 @@ Oceán
|
||||
Les
|
||||
---
|
||||
[theme_sunset]
|
||||
Západ slunce
|
||||
Soumrak
|
||||
---
|
||||
[theme_lavender]
|
||||
Levandule
|
||||
@@ -675,10 +780,10 @@ Název
|
||||
Podtržení
|
||||
---
|
||||
[habit_practice_list_title]
|
||||
Seznam cvičení
|
||||
Data sezení z
|
||||
---
|
||||
[habit_practice_list_info]
|
||||
Propojte tento návyk se cvičeními. Dny s odpovídajícími záznamy se zobrazí jako splněné a mohou otevřít editor sezení.
|
||||
Vyberte, která cvičební sezení se počítají do tohoto návyku. Odpovídající dny se zobrazí jako splněné a mohou otevřít editor sezení.
|
||||
---
|
||||
[habit_counting_title]
|
||||
Počítání
|
||||
@@ -713,6 +818,9 @@ Vytvořit návyk
|
||||
[habit_stats_no_rounds_week]
|
||||
Za poslední týden nejsou žádná kola
|
||||
---
|
||||
[habit_stats_no_rounds_month]
|
||||
Za poslední měsíc nejsou žádná kola
|
||||
---
|
||||
[habit_stats_current_streak]
|
||||
Aktuální série
|
||||
---
|
||||
@@ -737,40 +845,12 @@ Celková zádrž
|
||||
[habit_stats_best_streak]
|
||||
Nejlepší série
|
||||
---
|
||||
[bottom_nav_customize_button]
|
||||
Upravit spodní navigaci
|
||||
[habit_stats_day_singular]
|
||||
%d den
|
||||
---
|
||||
[bottom_nav_customize_title]
|
||||
Spodní navigace
|
||||
---
|
||||
[bottom_nav_add_button]
|
||||
Přidat položku
|
||||
---
|
||||
[bottom_nav_slot_1]
|
||||
Položka 1
|
||||
---
|
||||
[bottom_nav_slot_2]
|
||||
Položka 2
|
||||
---
|
||||
[bottom_nav_slot_3]
|
||||
Položka 3
|
||||
---
|
||||
[bottom_nav_slot_4]
|
||||
Položka 4
|
||||
---
|
||||
[bottom_nav_slot_5]
|
||||
Položka 5
|
||||
---
|
||||
[bottom_nav_slot_6]
|
||||
Položka 6
|
||||
---
|
||||
[bottom_nav_slot_7]
|
||||
Položka 7
|
||||
---
|
||||
[bottom_nav_slot_8]
|
||||
Položka 8
|
||||
---
|
||||
[reset_button]
|
||||
[habit_stats_day_plural]
|
||||
%d dní
|
||||
---[reset_button]
|
||||
Obnovit
|
||||
---
|
||||
[practice_guide_dropdown]
|
||||
@@ -779,9 +859,6 @@ Zde si vyberte praxi.
|
||||
[practice_guide_manual]
|
||||
Pred zahajenim praxe si prectete navod, abyste porozumeli celemu cviceni.
|
||||
---
|
||||
[practice_guide_sun]
|
||||
Az budete pripraveni zacit cviceni, pouzijte kartu se sluncem.
|
||||
---
|
||||
[practice_guide_config]
|
||||
Upravte konfiguraci praxe podle svych potreb.
|
||||
---
|
||||
@@ -808,10 +885,68 @@ Karty
|
||||
---
|
||||
|
||||
[transition_label]
|
||||
Transition
|
||||
Přechod
|
||||
[transition_none]
|
||||
None
|
||||
Žádný
|
||||
[transition_fade]
|
||||
Fade
|
||||
Prolnutí
|
||||
[theme_picker_title]
|
||||
Choose Theme
|
||||
Vybrat motiv
|
||||
[skip_button]
|
||||
Skip
|
||||
---
|
||||
[sync_public_id_full_title]
|
||||
Full Public ID
|
||||
---
|
||||
[sync_public_id_full_message]
|
||||
Use this if you need the full account identifier.
|
||||
---
|
||||
[sync_alias_button]
|
||||
Alias
|
||||
---
|
||||
[sync_alias_title]
|
||||
Choose Alias
|
||||
---
|
||||
[sync_alias_message]
|
||||
Pick a short alias for this account on the current sync server.
|
||||
---
|
||||
[sync_alias_rule]
|
||||
4-32 characters: lowercase letters, numbers, or underscore.
|
||||
---
|
||||
[sync_alias_register_button]
|
||||
Register Alias
|
||||
---
|
||||
[sync_alias_registered]
|
||||
Alias registered.
|
||||
---
|
||||
[sync_alias_failed]
|
||||
Could not register alias.
|
||||
---
|
||||
[sync_alias_change_title]
|
||||
Change Alias
|
||||
---
|
||||
[sync_alias_change_message]
|
||||
Change the short name for this account on this sync server.
|
||||
---
|
||||
[sync_alias_save_button]
|
||||
Save Alias
|
||||
---
|
||||
[sync_alias_saved]
|
||||
Alias saved
|
||||
---
|
||||
[notification_starting_seconds]
|
||||
Start: %ds
|
||||
---
|
||||
[notification_breathing_count]
|
||||
Nadech a vydech: %d
|
||||
---
|
||||
[notification_hold_seconds]
|
||||
Zadrz: %ds
|
||||
---
|
||||
[notification_breath_in_seconds]
|
||||
Nadech: %ds
|
||||
---
|
||||
[notification_results]
|
||||
Results
|
||||
---
|
||||
---
|
||||
@@ -4,6 +4,9 @@ Inner Breeze
|
||||
[tab_history]
|
||||
Verlauf
|
||||
---
|
||||
[tab_profile]
|
||||
Profile
|
||||
---
|
||||
[tab_habits]
|
||||
Gewohnheiten
|
||||
---
|
||||
@@ -22,6 +25,24 @@ Markieren
|
||||
[tab_manual]
|
||||
Anleitung
|
||||
---
|
||||
[tab_pet]
|
||||
Pet
|
||||
---
|
||||
[profile_data_title]
|
||||
Data
|
||||
---
|
||||
[profile_data_button]
|
||||
Configure Data
|
||||
---
|
||||
[profile_habits_label]
|
||||
Habits
|
||||
---
|
||||
[profile_sessions_label]
|
||||
Sessions
|
||||
---
|
||||
[profile_storage_label]
|
||||
Storage
|
||||
---
|
||||
[tab_settings]
|
||||
Einstellungen
|
||||
---
|
||||
@@ -37,6 +58,63 @@ Wim-Hof-Atmung
|
||||
[exercise_meditation]
|
||||
Meditation
|
||||
---
|
||||
[exercise_sun_salutation]
|
||||
Sun Salutation
|
||||
---
|
||||
[sun_salutation_work_in_progress]
|
||||
In Arbeit
|
||||
---
|
||||
[sun_salutation_repetitions_label]
|
||||
Wiederholungen
|
||||
---
|
||||
[sun_salutation_start_speed_label]
|
||||
Starttempo
|
||||
---
|
||||
[sun_salutation_end_speed_label]
|
||||
Endtempo
|
||||
---
|
||||
[sun_salutation_tempo_preview_label]
|
||||
Tempo-Vorschau
|
||||
---
|
||||
[sun_salutation_tempo_preview_hint]
|
||||
Die erste Wiederholung beginnt langsamer, danach wird das Tempo schrittweise schneller.
|
||||
---
|
||||
[sun_salutation_step_1]
|
||||
Schritt 1: Berghaltung
|
||||
---
|
||||
[sun_salutation_step_2]
|
||||
Schritt 2: Gestreckte Berghaltung
|
||||
---
|
||||
[sun_salutation_step_3]
|
||||
Schritt 3: Vorbeuge im Stand
|
||||
---
|
||||
[sun_salutation_step_4]
|
||||
Schritt 4: Halbe Vorbeuge
|
||||
---
|
||||
[sun_salutation_step_5]
|
||||
Schritt 5: Planke
|
||||
---
|
||||
[sun_salutation_step_6]
|
||||
Schritt 6: Tiefe Planke
|
||||
---
|
||||
[sun_salutation_step_7]
|
||||
Schritt 7: Heraufschauender Hund
|
||||
---
|
||||
[sun_salutation_step_8]
|
||||
Schritt 8: Herabschauender Hund
|
||||
---
|
||||
[sun_salutation_step_9]
|
||||
Schritt 9: Halbe Vorbeuge
|
||||
---
|
||||
[sun_salutation_step_10]
|
||||
Schritt 10: Vorbeuge im Stand
|
||||
---
|
||||
[sun_salutation_step_11]
|
||||
Schritt 11: Gestreckte Berghaltung
|
||||
---
|
||||
[sun_salutation_step_12]
|
||||
Schritt 12: Berghaltung
|
||||
---
|
||||
[meditation_title]
|
||||
Meditation
|
||||
---
|
||||
@@ -100,6 +178,21 @@ Der Meditations-Musikserver konnte nicht erreicht werden. Prüfe die Android-Net
|
||||
[duration_2h]
|
||||
2 Std.
|
||||
---
|
||||
[meditation_duration_setting]
|
||||
Meditation length
|
||||
---
|
||||
[meditation_duration_custom]
|
||||
Custom
|
||||
---
|
||||
[meditation_custom_minutes]
|
||||
Custom time
|
||||
---
|
||||
[meditation_extend_controls_label]
|
||||
Show add-time buttons during meditation
|
||||
---
|
||||
[finish_button]
|
||||
Finish
|
||||
---
|
||||
[breath_button]
|
||||
ATEM
|
||||
---
|
||||
@@ -193,14 +286,11 @@ Darstellung
|
||||
[settings_section_language]
|
||||
Sprache
|
||||
---
|
||||
[settings_tab_data]
|
||||
Daten
|
||||
---
|
||||
[settings_section_data]
|
||||
Daten
|
||||
---
|
||||
[settings_tab_about]
|
||||
Über
|
||||
About
|
||||
---
|
||||
[about_text]
|
||||
A quiet breathing companion for practice, habits, and sync.
|
||||
---
|
||||
[theme_label]
|
||||
Thema
|
||||
@@ -247,6 +337,21 @@ Pause nach Runde
|
||||
[advanced_session_controls_label]
|
||||
Erweiterte Sitzungssteuerung
|
||||
---
|
||||
[double_tap_to_breathe_label]
|
||||
Doppeltippen zum Atmen
|
||||
---
|
||||
[double_tap_to_breathe_hint]
|
||||
Doppeltippe auf den Bildschirm, um zu atmen
|
||||
---
|
||||
[session_count_singular]
|
||||
%d Sitzung
|
||||
---
|
||||
[session_count_plural]
|
||||
%d Sitzungen
|
||||
---
|
||||
[no_sessions]
|
||||
Keine Sitzungen
|
||||
---
|
||||
[hold_display_label]
|
||||
Atemhalteanzeige
|
||||
---
|
||||
@@ -260,7 +365,7 @@ Kreis
|
||||
Lautstärke
|
||||
---
|
||||
[show_session_volume_control_label]
|
||||
Lautstärkeregler in Sitzungen anzeigen
|
||||
Lautstärkeregler anzeigen
|
||||
---
|
||||
[reset_to_defaults_label]
|
||||
Auf Standard zurücksetzen
|
||||
@@ -486,7 +591,7 @@ Ozean
|
||||
Wald
|
||||
---
|
||||
[theme_sunset]
|
||||
Sonnenuntergang
|
||||
Abendrot
|
||||
---
|
||||
[theme_lavender]
|
||||
Lavendel
|
||||
@@ -675,10 +780,10 @@ Bezeichnung
|
||||
Unterstreichung
|
||||
---
|
||||
[habit_practice_list_title]
|
||||
Übungsliste
|
||||
Sitzungsdaten aus
|
||||
---
|
||||
[habit_practice_list_info]
|
||||
Verknüpfe diese Gewohnheit mit Übungssitzungen. Tage mit passenden Sitzungen werden als erledigt angezeigt und können den Sitzungseditor öffnen.
|
||||
Wähle, welche Übungssitzungen für diese Gewohnheit zählen. Passende Tage werden als erledigt angezeigt und können den Sitzungseditor öffnen.
|
||||
---
|
||||
[habit_counting_title]
|
||||
Zählen
|
||||
@@ -713,6 +818,9 @@ Gewohnheit erstellen
|
||||
[habit_stats_no_rounds_week]
|
||||
Keine Runden in der letzten Woche
|
||||
---
|
||||
[habit_stats_no_rounds_month]
|
||||
Keine Runden im letzten Monat
|
||||
---
|
||||
[habit_stats_current_streak]
|
||||
Aktuelle Serie
|
||||
---
|
||||
@@ -737,40 +845,12 @@ Gesamte Atemhaltezeit
|
||||
[habit_stats_best_streak]
|
||||
Beste Serie
|
||||
---
|
||||
[bottom_nav_customize_button]
|
||||
Untere Navigation anpassen
|
||||
[habit_stats_day_singular]
|
||||
%d Tag
|
||||
---
|
||||
[bottom_nav_customize_title]
|
||||
Untere Navigation
|
||||
---
|
||||
[bottom_nav_add_button]
|
||||
Eintrag hinzufügen
|
||||
---
|
||||
[bottom_nav_slot_1]
|
||||
Eintrag 1
|
||||
---
|
||||
[bottom_nav_slot_2]
|
||||
Eintrag 2
|
||||
---
|
||||
[bottom_nav_slot_3]
|
||||
Eintrag 3
|
||||
---
|
||||
[bottom_nav_slot_4]
|
||||
Eintrag 4
|
||||
---
|
||||
[bottom_nav_slot_5]
|
||||
Eintrag 5
|
||||
---
|
||||
[bottom_nav_slot_6]
|
||||
Eintrag 6
|
||||
---
|
||||
[bottom_nav_slot_7]
|
||||
Eintrag 7
|
||||
---
|
||||
[bottom_nav_slot_8]
|
||||
Eintrag 8
|
||||
---
|
||||
[reset_button]
|
||||
[habit_stats_day_plural]
|
||||
%d Tage
|
||||
---[reset_button]
|
||||
Zurücksetzen
|
||||
---
|
||||
[practice_guide_dropdown]
|
||||
@@ -779,9 +859,6 @@ Wahle hier deine Praxis aus.
|
||||
[practice_guide_manual]
|
||||
Lies das Tutorial, bevor du eine Praxis startest, damit du die ganze Uebung verstehst.
|
||||
---
|
||||
[practice_guide_sun]
|
||||
Nutze den Sonnen-Tab, wenn du bereit bist, die Uebung zu starten.
|
||||
---
|
||||
[practice_guide_config]
|
||||
Passe die Konfiguration der Praxis an deine Anforderungen an.
|
||||
---
|
||||
@@ -801,17 +878,75 @@ Sieh dir hier deine Gewohnheitsstatistiken an.
|
||||
Navigation
|
||||
---
|
||||
[nav_mode_dropdown]
|
||||
Dropdown
|
||||
Liste
|
||||
---
|
||||
[nav_mode_tabbar]
|
||||
Tabs
|
||||
Reiter
|
||||
---
|
||||
|
||||
[transition_label]
|
||||
Transition
|
||||
Übergang
|
||||
[transition_none]
|
||||
None
|
||||
Keine
|
||||
[transition_fade]
|
||||
Fade
|
||||
Blende
|
||||
[theme_picker_title]
|
||||
Choose Theme
|
||||
Thema wählen
|
||||
[skip_button]
|
||||
Skip
|
||||
---
|
||||
[sync_public_id_full_title]
|
||||
Full Public ID
|
||||
---
|
||||
[sync_public_id_full_message]
|
||||
Use this if you need the full account identifier.
|
||||
---
|
||||
[sync_alias_button]
|
||||
Alias
|
||||
---
|
||||
[sync_alias_title]
|
||||
Choose Alias
|
||||
---
|
||||
[sync_alias_message]
|
||||
Pick a short alias for this account on the current sync server.
|
||||
---
|
||||
[sync_alias_rule]
|
||||
4-32 characters: lowercase letters, numbers, or underscore.
|
||||
---
|
||||
[sync_alias_register_button]
|
||||
Register Alias
|
||||
---
|
||||
[sync_alias_registered]
|
||||
Alias registered.
|
||||
---
|
||||
[sync_alias_failed]
|
||||
Could not register alias.
|
||||
---
|
||||
[sync_alias_change_title]
|
||||
Change Alias
|
||||
---
|
||||
[sync_alias_change_message]
|
||||
Change the short name for this account on this sync server.
|
||||
---
|
||||
[sync_alias_save_button]
|
||||
Save Alias
|
||||
---
|
||||
[sync_alias_saved]
|
||||
Alias saved
|
||||
---
|
||||
[notification_starting_seconds]
|
||||
Start: %ds
|
||||
---
|
||||
[notification_breathing_count]
|
||||
Ein und aus: %d
|
||||
---
|
||||
[notification_hold_seconds]
|
||||
Halten: %ds
|
||||
---
|
||||
[notification_breath_in_seconds]
|
||||
Einatmen: %ds
|
||||
---
|
||||
[notification_results]
|
||||
Results
|
||||
---
|
||||
---
|
||||
@@ -4,6 +4,9 @@ Inner Breeze
|
||||
[tab_history]
|
||||
History
|
||||
---
|
||||
[tab_profile]
|
||||
Profile
|
||||
---
|
||||
[tab_habits]
|
||||
Habits
|
||||
---
|
||||
@@ -22,6 +25,24 @@ Mark Done
|
||||
[tab_manual]
|
||||
Tutorial
|
||||
---
|
||||
[tab_pet]
|
||||
Pet
|
||||
---
|
||||
[profile_data_title]
|
||||
Data
|
||||
---
|
||||
[profile_data_button]
|
||||
Configure Data
|
||||
---
|
||||
[profile_habits_label]
|
||||
Habits
|
||||
---
|
||||
[profile_sessions_label]
|
||||
Sessions
|
||||
---
|
||||
[profile_storage_label]
|
||||
Storage
|
||||
---
|
||||
[tab_settings]
|
||||
Settings
|
||||
---
|
||||
@@ -37,6 +58,63 @@ Wim Hof Breathing
|
||||
[exercise_meditation]
|
||||
Meditation
|
||||
---
|
||||
[exercise_sun_salutation]
|
||||
Sun Salutation
|
||||
---
|
||||
[sun_salutation_work_in_progress]
|
||||
Work in progress
|
||||
---
|
||||
[sun_salutation_repetitions_label]
|
||||
Repetitions
|
||||
---
|
||||
[sun_salutation_start_speed_label]
|
||||
Start tempo
|
||||
---
|
||||
[sun_salutation_end_speed_label]
|
||||
End tempo
|
||||
---
|
||||
[sun_salutation_tempo_preview_label]
|
||||
Tempo preview
|
||||
---
|
||||
[sun_salutation_tempo_preview_hint]
|
||||
First repetition starts slower, then the pace gradually increases.
|
||||
---
|
||||
[sun_salutation_step_1]
|
||||
Step 1: Mountain pose
|
||||
---
|
||||
[sun_salutation_step_2]
|
||||
Step 2: Upward salute
|
||||
---
|
||||
[sun_salutation_step_3]
|
||||
Step 3: Standing forward fold
|
||||
---
|
||||
[sun_salutation_step_4]
|
||||
Step 4: Half lift
|
||||
---
|
||||
[sun_salutation_step_5]
|
||||
Step 5: Plank
|
||||
---
|
||||
[sun_salutation_step_6]
|
||||
Step 6: Low plank
|
||||
---
|
||||
[sun_salutation_step_7]
|
||||
Step 7: Upward-facing dog
|
||||
---
|
||||
[sun_salutation_step_8]
|
||||
Step 8: Downward-facing dog
|
||||
---
|
||||
[sun_salutation_step_9]
|
||||
Step 9: Half lift
|
||||
---
|
||||
[sun_salutation_step_10]
|
||||
Step 10: Standing forward fold
|
||||
---
|
||||
[sun_salutation_step_11]
|
||||
Step 11: Upward salute
|
||||
---
|
||||
[sun_salutation_step_12]
|
||||
Step 12: Mountain pose
|
||||
---
|
||||
[meditation_title]
|
||||
Meditation
|
||||
---
|
||||
@@ -83,7 +161,7 @@ Stop test
|
||||
Network unavailable
|
||||
---
|
||||
[meditation_music_network_error_message]
|
||||
Could not reach the meditation music server. Check Android network permissions and your internet connection, then try again.
|
||||
Could not reach the meditation music file. Check your internet connection, then try again.
|
||||
---
|
||||
[meditation_music_attribution]
|
||||
Music by Elijah_K.
|
||||
@@ -103,6 +181,21 @@ Music by Elijah_K.
|
||||
[duration_2h]
|
||||
2h
|
||||
---
|
||||
[meditation_duration_setting]
|
||||
Meditation length
|
||||
---
|
||||
[meditation_duration_custom]
|
||||
Custom
|
||||
---
|
||||
[meditation_custom_minutes]
|
||||
Custom time
|
||||
---
|
||||
[meditation_extend_controls_label]
|
||||
Show add-time buttons during meditation
|
||||
---
|
||||
[finish_button]
|
||||
Finish
|
||||
---
|
||||
[breath_button]
|
||||
BREATH
|
||||
---
|
||||
@@ -121,6 +214,9 @@ Save completed rounds before exit?
|
||||
[cancel_button]
|
||||
Cancel
|
||||
---
|
||||
[skip_button]
|
||||
Skip
|
||||
---
|
||||
[ok_button]
|
||||
OK
|
||||
---
|
||||
@@ -196,15 +292,12 @@ Appearance
|
||||
[settings_section_language]
|
||||
Language
|
||||
---
|
||||
[settings_tab_data]
|
||||
Data
|
||||
---
|
||||
[settings_section_data]
|
||||
Data
|
||||
---
|
||||
[settings_tab_about]
|
||||
About
|
||||
---
|
||||
[about_text]
|
||||
A quiet breathing companion for practice, habits, and sync.
|
||||
---
|
||||
[theme_label]
|
||||
Theme
|
||||
---
|
||||
@@ -304,6 +397,21 @@ Pause after round
|
||||
[advanced_session_controls_label]
|
||||
Advanced session controls
|
||||
---
|
||||
[double_tap_to_breathe_label]
|
||||
Double tap to breathe
|
||||
---
|
||||
[double_tap_to_breathe_hint]
|
||||
Double tap screen to breathe
|
||||
---
|
||||
[session_count_singular]
|
||||
%d session
|
||||
---
|
||||
[session_count_plural]
|
||||
%d sessions
|
||||
---
|
||||
[no_sessions]
|
||||
No sessions
|
||||
---
|
||||
[hold_display_label]
|
||||
Hold display
|
||||
---
|
||||
@@ -317,7 +425,7 @@ Circle
|
||||
Volume
|
||||
---
|
||||
[show_session_volume_control_label]
|
||||
Show volume control in sessions
|
||||
Show volume control
|
||||
---
|
||||
[reset_to_defaults_label]
|
||||
Reset to defaults
|
||||
@@ -575,6 +683,45 @@ Copy ID
|
||||
[sync_public_id_copied]
|
||||
Public ID copied
|
||||
---
|
||||
[sync_public_id_full_title]
|
||||
Full Public ID
|
||||
---
|
||||
[sync_public_id_full_message]
|
||||
This is the full account identifier.
|
||||
---
|
||||
[sync_alias_button]
|
||||
Alias
|
||||
---
|
||||
[sync_alias_title]
|
||||
Account Alias
|
||||
---
|
||||
[sync_alias_message]
|
||||
Choose a short name for this account. This is optional.
|
||||
---
|
||||
[sync_alias_change_title]
|
||||
Change Alias
|
||||
---
|
||||
[sync_alias_change_message]
|
||||
Change the short name for this account on this sync server.
|
||||
---
|
||||
[sync_alias_rule]
|
||||
4-32 letters, numbers, or underscore.
|
||||
---
|
||||
[sync_alias_register_button]
|
||||
Register
|
||||
---
|
||||
[sync_alias_save_button]
|
||||
Save Alias
|
||||
---
|
||||
[sync_alias_saved]
|
||||
Alias saved
|
||||
---
|
||||
[sync_alias_registered]
|
||||
Alias registered
|
||||
---
|
||||
[sync_alias_failed]
|
||||
Alias unavailable or remote failed
|
||||
---
|
||||
[sync_backup_key_button]
|
||||
Backup Key
|
||||
---
|
||||
@@ -675,10 +822,10 @@ Name
|
||||
Underline
|
||||
---
|
||||
[habit_practice_list_title]
|
||||
Practice list
|
||||
Session data from
|
||||
---
|
||||
[habit_practice_list_info]
|
||||
Link this habit to practice sessions. Days with matching sessions will show as completed and can open the session editor.
|
||||
Choose which practice sessions count for this habit. Matching days show as completed and can open the session editor.
|
||||
---
|
||||
[habit_counting_title]
|
||||
Counting
|
||||
@@ -713,6 +860,9 @@ Create habit
|
||||
[habit_stats_no_rounds_week]
|
||||
No rounds in the last week
|
||||
---
|
||||
[habit_stats_no_rounds_month]
|
||||
No rounds in the last month
|
||||
---
|
||||
[habit_stats_current_streak]
|
||||
Current streak
|
||||
---
|
||||
@@ -737,53 +887,22 @@ Total hold
|
||||
[habit_stats_best_streak]
|
||||
Best streak
|
||||
---
|
||||
[bottom_nav_customize_button]
|
||||
Customize bottom navigation
|
||||
[habit_stats_day_singular]
|
||||
%d day
|
||||
---
|
||||
[bottom_nav_customize_title]
|
||||
Bottom Navigation
|
||||
---
|
||||
[bottom_nav_add_button]
|
||||
Add item
|
||||
---
|
||||
[bottom_nav_slot_1]
|
||||
Item 1
|
||||
---
|
||||
[bottom_nav_slot_2]
|
||||
Item 2
|
||||
---
|
||||
[bottom_nav_slot_3]
|
||||
Item 3
|
||||
---
|
||||
[bottom_nav_slot_4]
|
||||
Item 4
|
||||
---
|
||||
[bottom_nav_slot_5]
|
||||
Item 5
|
||||
---
|
||||
[bottom_nav_slot_6]
|
||||
Item 6
|
||||
---
|
||||
[bottom_nav_slot_7]
|
||||
Item 7
|
||||
---
|
||||
[bottom_nav_slot_8]
|
||||
Item 8
|
||||
---
|
||||
[reset_button]
|
||||
[habit_stats_day_plural]
|
||||
%d days
|
||||
---[reset_button]
|
||||
Reset
|
||||
---
|
||||
[practice_guide_dropdown]
|
||||
Choose your practice here.
|
||||
---
|
||||
[practice_guide_manual]
|
||||
Read the tutorial before starting a practice so you understand the full exercise.
|
||||
---
|
||||
[practice_guide_sun]
|
||||
Use the sun tab when you are ready to start the exercise.
|
||||
Use this manual icon to open the tutorial before starting.
|
||||
---
|
||||
[practice_guide_config]
|
||||
Change the practice configuration to meet your standards.
|
||||
Use this wrench icon to adjust the practice configuration.
|
||||
---
|
||||
[habits_guide_dropdown]
|
||||
Select habits here or create a new one.
|
||||
@@ -818,3 +937,18 @@ Fade
|
||||
[theme_picker_title]
|
||||
Choose Theme
|
||||
---
|
||||
[notification_starting_seconds]
|
||||
Starting: %ds
|
||||
---
|
||||
[notification_breathing_count]
|
||||
In & out: %d
|
||||
---
|
||||
[notification_hold_seconds]
|
||||
Hold: %ds
|
||||
---
|
||||
[notification_breath_in_seconds]
|
||||
Breath in: %ds
|
||||
---
|
||||
[notification_results]
|
||||
Results
|
||||
---
|
||||
@@ -4,6 +4,9 @@ Inner Breeze
|
||||
[tab_history]
|
||||
Historial
|
||||
---
|
||||
[tab_profile]
|
||||
Profile
|
||||
---
|
||||
[tab_habits]
|
||||
Hábitos
|
||||
---
|
||||
@@ -22,6 +25,24 @@ Marcar
|
||||
[tab_manual]
|
||||
Manual
|
||||
---
|
||||
[tab_pet]
|
||||
Pet
|
||||
---
|
||||
[profile_data_title]
|
||||
Data
|
||||
---
|
||||
[profile_data_button]
|
||||
Configure Data
|
||||
---
|
||||
[profile_habits_label]
|
||||
Habits
|
||||
---
|
||||
[profile_sessions_label]
|
||||
Sessions
|
||||
---
|
||||
[profile_storage_label]
|
||||
Storage
|
||||
---
|
||||
[tab_settings]
|
||||
Configuración
|
||||
---
|
||||
@@ -37,6 +58,63 @@ Respiración Wim Hof
|
||||
[exercise_meditation]
|
||||
Meditación
|
||||
---
|
||||
[exercise_sun_salutation]
|
||||
Sun Salutation
|
||||
---
|
||||
[sun_salutation_work_in_progress]
|
||||
Trabajo en curso
|
||||
---
|
||||
[sun_salutation_repetitions_label]
|
||||
Repeticiones
|
||||
---
|
||||
[sun_salutation_start_speed_label]
|
||||
Tempo inicial
|
||||
---
|
||||
[sun_salutation_end_speed_label]
|
||||
Tempo final
|
||||
---
|
||||
[sun_salutation_tempo_preview_label]
|
||||
Vista previa del tempo
|
||||
---
|
||||
[sun_salutation_tempo_preview_hint]
|
||||
La primera repeticion empieza mas lenta y luego el ritmo aumenta gradualmente.
|
||||
---
|
||||
[sun_salutation_step_1]
|
||||
Paso 1: postura de la montana
|
||||
---
|
||||
[sun_salutation_step_2]
|
||||
Paso 2: saludo hacia arriba
|
||||
---
|
||||
[sun_salutation_step_3]
|
||||
Paso 3: flexion hacia delante
|
||||
---
|
||||
[sun_salutation_step_4]
|
||||
Paso 4: media elevacion
|
||||
---
|
||||
[sun_salutation_step_5]
|
||||
Paso 5: plancha
|
||||
---
|
||||
[sun_salutation_step_6]
|
||||
Paso 6: plancha baja
|
||||
---
|
||||
[sun_salutation_step_7]
|
||||
Paso 7: perro boca arriba
|
||||
---
|
||||
[sun_salutation_step_8]
|
||||
Paso 8: perro boca abajo
|
||||
---
|
||||
[sun_salutation_step_9]
|
||||
Paso 9: media elevacion
|
||||
---
|
||||
[sun_salutation_step_10]
|
||||
Paso 10: flexion hacia delante
|
||||
---
|
||||
[sun_salutation_step_11]
|
||||
Paso 11: saludo hacia arriba
|
||||
---
|
||||
[sun_salutation_step_12]
|
||||
Paso 12: postura de la montana
|
||||
---
|
||||
[meditation_title]
|
||||
Meditación
|
||||
---
|
||||
@@ -83,7 +161,7 @@ Detener prueba
|
||||
Red no disponible
|
||||
---
|
||||
[meditation_music_network_error_message]
|
||||
No se pudo acceder al servidor de música de meditación. Revisa los permisos de red de Android y tu conexión a internet, e inténtalo de nuevo.
|
||||
No se pudo acceder al archivo de música de meditación. Revisa tu conexión a internet e inténtalo de nuevo.
|
||||
---
|
||||
[duration_5m]
|
||||
5 min
|
||||
@@ -100,6 +178,21 @@ No se pudo acceder al servidor de música de meditación. Revisa los permisos de
|
||||
[duration_2h]
|
||||
2 h
|
||||
---
|
||||
[meditation_duration_setting]
|
||||
Meditation length
|
||||
---
|
||||
[meditation_duration_custom]
|
||||
Custom
|
||||
---
|
||||
[meditation_custom_minutes]
|
||||
Custom time
|
||||
---
|
||||
[meditation_extend_controls_label]
|
||||
Show add-time buttons during meditation
|
||||
---
|
||||
[finish_button]
|
||||
Finish
|
||||
---
|
||||
[breath_button]
|
||||
RESPIRACIÓN
|
||||
---
|
||||
@@ -193,14 +286,11 @@ Apariencia
|
||||
[settings_section_language]
|
||||
Idioma
|
||||
---
|
||||
[settings_tab_data]
|
||||
Datos
|
||||
---
|
||||
[settings_section_data]
|
||||
Datos
|
||||
---
|
||||
[settings_tab_about]
|
||||
Acerca de
|
||||
About
|
||||
---
|
||||
[about_text]
|
||||
A quiet breathing companion for practice, habits, and sync.
|
||||
---
|
||||
[theme_label]
|
||||
Tema
|
||||
@@ -247,6 +337,21 @@ Pausa después de ronda
|
||||
[advanced_session_controls_label]
|
||||
Controles avanzados de sesión
|
||||
---
|
||||
[double_tap_to_breathe_label]
|
||||
Doble toque para respirar
|
||||
---
|
||||
[double_tap_to_breathe_hint]
|
||||
Toca dos veces la pantalla para respirar
|
||||
---
|
||||
[session_count_singular]
|
||||
%d sesión
|
||||
---
|
||||
[session_count_plural]
|
||||
%d sesiones
|
||||
---
|
||||
[no_sessions]
|
||||
Sin sesiones
|
||||
---
|
||||
[hold_display_label]
|
||||
Visualizacion de retencion
|
||||
---
|
||||
@@ -260,7 +365,7 @@ Circulo
|
||||
Volumen
|
||||
---
|
||||
[show_session_volume_control_label]
|
||||
Mostrar control de volumen en las sesiones
|
||||
Mostrar control de volumen
|
||||
---
|
||||
[reset_to_defaults_label]
|
||||
Restablecer valores predeterminados
|
||||
@@ -675,10 +780,10 @@ Nombre
|
||||
Subrayado
|
||||
---
|
||||
[habit_practice_list_title]
|
||||
Lista de prácticas
|
||||
Datos de sesión
|
||||
---
|
||||
[habit_practice_list_info]
|
||||
Vincula este hábito con sesiones de práctica. Los días con sesiones coincidentes aparecerán como completados y podrán abrir el editor de sesión.
|
||||
Elige qué sesiones de práctica cuentan para este hábito. Los días coincidentes se muestran como completados y pueden abrir el editor de sesión.
|
||||
---
|
||||
[habit_counting_title]
|
||||
Conteo
|
||||
@@ -713,6 +818,9 @@ Crear hábito
|
||||
[habit_stats_no_rounds_week]
|
||||
No hay rondas en la última semana
|
||||
---
|
||||
[habit_stats_no_rounds_month]
|
||||
No hay rondas en el último mes
|
||||
---
|
||||
[habit_stats_current_streak]
|
||||
Racha actual
|
||||
---
|
||||
@@ -737,40 +845,12 @@ Retención total
|
||||
[habit_stats_best_streak]
|
||||
Mejor racha
|
||||
---
|
||||
[bottom_nav_customize_button]
|
||||
Personalizar navegación inferior
|
||||
[habit_stats_day_singular]
|
||||
%d día
|
||||
---
|
||||
[bottom_nav_customize_title]
|
||||
Navegación inferior
|
||||
---
|
||||
[bottom_nav_add_button]
|
||||
Añadir elemento
|
||||
---
|
||||
[bottom_nav_slot_1]
|
||||
Elemento 1
|
||||
---
|
||||
[bottom_nav_slot_2]
|
||||
Elemento 2
|
||||
---
|
||||
[bottom_nav_slot_3]
|
||||
Elemento 3
|
||||
---
|
||||
[bottom_nav_slot_4]
|
||||
Elemento 4
|
||||
---
|
||||
[bottom_nav_slot_5]
|
||||
Elemento 5
|
||||
---
|
||||
[bottom_nav_slot_6]
|
||||
Elemento 6
|
||||
---
|
||||
[bottom_nav_slot_7]
|
||||
Elemento 7
|
||||
---
|
||||
[bottom_nav_slot_8]
|
||||
Elemento 8
|
||||
---
|
||||
[reset_button]
|
||||
[habit_stats_day_plural]
|
||||
%d días
|
||||
---[reset_button]
|
||||
Restablecer
|
||||
---
|
||||
[practice_guide_dropdown]
|
||||
@@ -779,9 +859,6 @@ Elige tu practica aqui.
|
||||
[practice_guide_manual]
|
||||
Lee el tutorial antes de iniciar una practica para entender todo el ejercicio.
|
||||
---
|
||||
[practice_guide_sun]
|
||||
Usa la pestana del sol cuando estes listo para iniciar el ejercicio.
|
||||
---
|
||||
[practice_guide_config]
|
||||
Cambia la configuracion de la practica segun tus necesidades.
|
||||
---
|
||||
@@ -808,10 +885,68 @@ Pestañas
|
||||
---
|
||||
|
||||
[transition_label]
|
||||
Transition
|
||||
Transición
|
||||
[transition_none]
|
||||
None
|
||||
Ninguna
|
||||
[transition_fade]
|
||||
Fade
|
||||
Fundido
|
||||
[theme_picker_title]
|
||||
Choose Theme
|
||||
Elegir tema
|
||||
[skip_button]
|
||||
Skip
|
||||
---
|
||||
[sync_public_id_full_title]
|
||||
Full Public ID
|
||||
---
|
||||
[sync_public_id_full_message]
|
||||
Use this if you need the full account identifier.
|
||||
---
|
||||
[sync_alias_button]
|
||||
Alias
|
||||
---
|
||||
[sync_alias_title]
|
||||
Choose Alias
|
||||
---
|
||||
[sync_alias_message]
|
||||
Pick a short alias for this account on the current sync server.
|
||||
---
|
||||
[sync_alias_rule]
|
||||
4-32 characters: lowercase letters, numbers, or underscore.
|
||||
---
|
||||
[sync_alias_register_button]
|
||||
Register Alias
|
||||
---
|
||||
[sync_alias_registered]
|
||||
Alias registered.
|
||||
---
|
||||
[sync_alias_failed]
|
||||
Could not register alias.
|
||||
---
|
||||
[sync_alias_change_title]
|
||||
Change Alias
|
||||
---
|
||||
[sync_alias_change_message]
|
||||
Change the short name for this account on this sync server.
|
||||
---
|
||||
[sync_alias_save_button]
|
||||
Save Alias
|
||||
---
|
||||
[sync_alias_saved]
|
||||
Alias saved
|
||||
---
|
||||
[notification_starting_seconds]
|
||||
Inicio: %ds
|
||||
---
|
||||
[notification_breathing_count]
|
||||
Inhala y exhala: %d
|
||||
---
|
||||
[notification_hold_seconds]
|
||||
Retencion: %ds
|
||||
---
|
||||
[notification_breath_in_seconds]
|
||||
Inhala: %ds
|
||||
---
|
||||
[notification_results]
|
||||
Results
|
||||
---
|
||||
---
|
||||
@@ -4,6 +4,9 @@ Inner Breeze
|
||||
[tab_history]
|
||||
Historique
|
||||
---
|
||||
[tab_profile]
|
||||
Profile
|
||||
---
|
||||
[tab_habits]
|
||||
Habitudes
|
||||
---
|
||||
@@ -22,6 +25,24 @@ Marquer
|
||||
[tab_manual]
|
||||
Tutoriel
|
||||
---
|
||||
[tab_pet]
|
||||
Pet
|
||||
---
|
||||
[profile_data_title]
|
||||
Data
|
||||
---
|
||||
[profile_data_button]
|
||||
Configure Data
|
||||
---
|
||||
[profile_habits_label]
|
||||
Habits
|
||||
---
|
||||
[profile_sessions_label]
|
||||
Sessions
|
||||
---
|
||||
[profile_storage_label]
|
||||
Storage
|
||||
---
|
||||
[tab_settings]
|
||||
Réglages
|
||||
---
|
||||
@@ -37,6 +58,63 @@ Respiration Wim Hof
|
||||
[exercise_meditation]
|
||||
Méditation
|
||||
---
|
||||
[exercise_sun_salutation]
|
||||
Sun Salutation
|
||||
---
|
||||
[sun_salutation_work_in_progress]
|
||||
Travail en cours
|
||||
---
|
||||
[sun_salutation_repetitions_label]
|
||||
Repetitions
|
||||
---
|
||||
[sun_salutation_start_speed_label]
|
||||
Tempo initial
|
||||
---
|
||||
[sun_salutation_end_speed_label]
|
||||
Tempo final
|
||||
---
|
||||
[sun_salutation_tempo_preview_label]
|
||||
Apercu du tempo
|
||||
---
|
||||
[sun_salutation_tempo_preview_hint]
|
||||
La premiere repetition commence plus lentement, puis le rythme augmente progressivement.
|
||||
---
|
||||
[sun_salutation_step_1]
|
||||
Etape 1 : posture de la montagne
|
||||
---
|
||||
[sun_salutation_step_2]
|
||||
Etape 2 : salut vers le haut
|
||||
---
|
||||
[sun_salutation_step_3]
|
||||
Etape 3 : flexion avant debout
|
||||
---
|
||||
[sun_salutation_step_4]
|
||||
Etape 4 : demi-flexion
|
||||
---
|
||||
[sun_salutation_step_5]
|
||||
Etape 5 : planche
|
||||
---
|
||||
[sun_salutation_step_6]
|
||||
Etape 6 : planche basse
|
||||
---
|
||||
[sun_salutation_step_7]
|
||||
Etape 7 : chien tete en haut
|
||||
---
|
||||
[sun_salutation_step_8]
|
||||
Etape 8 : chien tete en bas
|
||||
---
|
||||
[sun_salutation_step_9]
|
||||
Etape 9 : demi-flexion
|
||||
---
|
||||
[sun_salutation_step_10]
|
||||
Etape 10 : flexion avant debout
|
||||
---
|
||||
[sun_salutation_step_11]
|
||||
Etape 11 : salut vers le haut
|
||||
---
|
||||
[sun_salutation_step_12]
|
||||
Etape 12 : posture de la montagne
|
||||
---
|
||||
[meditation_title]
|
||||
Méditation
|
||||
---
|
||||
@@ -83,7 +161,7 @@ Arrêter le test
|
||||
Réseau indisponible
|
||||
---
|
||||
[meditation_music_network_error_message]
|
||||
Impossible de joindre le serveur de musique de méditation. Vérifiez les autorisations réseau d'Android et votre connexion internet, puis réessayez.
|
||||
Impossible de joindre le fichier de musique de méditation. Vérifiez votre connexion internet, puis réessayez.
|
||||
---
|
||||
[duration_5m]
|
||||
5 min
|
||||
@@ -100,6 +178,21 @@ Impossible de joindre le serveur de musique de méditation. Vérifiez les autori
|
||||
[duration_2h]
|
||||
2 h
|
||||
---
|
||||
[meditation_duration_setting]
|
||||
Meditation length
|
||||
---
|
||||
[meditation_duration_custom]
|
||||
Custom
|
||||
---
|
||||
[meditation_custom_minutes]
|
||||
Custom time
|
||||
---
|
||||
[meditation_extend_controls_label]
|
||||
Show add-time buttons during meditation
|
||||
---
|
||||
[finish_button]
|
||||
Finish
|
||||
---
|
||||
[breath_button]
|
||||
RESPIRER
|
||||
---
|
||||
@@ -118,6 +211,9 @@ Enregistrer les cycles terminés avant de quitter ?
|
||||
[cancel_button]
|
||||
Annuler
|
||||
---
|
||||
[skip_button]
|
||||
Ignorer
|
||||
---
|
||||
[ok_button]
|
||||
OK
|
||||
---
|
||||
@@ -193,14 +289,11 @@ Apparence
|
||||
[settings_section_language]
|
||||
Langue
|
||||
---
|
||||
[settings_tab_data]
|
||||
Données
|
||||
---
|
||||
[settings_section_data]
|
||||
Données
|
||||
---
|
||||
[settings_tab_about]
|
||||
À propos
|
||||
About
|
||||
---
|
||||
[about_text]
|
||||
A quiet breathing companion for practice, habits, and sync.
|
||||
---
|
||||
[theme_label]
|
||||
Thème
|
||||
@@ -247,6 +340,21 @@ Pause après cycle
|
||||
[advanced_session_controls_label]
|
||||
Contrôles avancés de séance
|
||||
---
|
||||
[double_tap_to_breathe_label]
|
||||
Double toucher pour respirer
|
||||
---
|
||||
[double_tap_to_breathe_hint]
|
||||
Touchez deux fois l'écran pour respirer
|
||||
---
|
||||
[session_count_singular]
|
||||
%d session
|
||||
---
|
||||
[session_count_plural]
|
||||
%d sessions
|
||||
---
|
||||
[no_sessions]
|
||||
Aucune session
|
||||
---
|
||||
[hold_display_label]
|
||||
Affichage de la retention
|
||||
---
|
||||
@@ -260,7 +368,7 @@ Cercle
|
||||
Volume
|
||||
---
|
||||
[show_session_volume_control_label]
|
||||
Afficher le contrôle du volume pendant les séances
|
||||
Afficher le contrôle du volume
|
||||
---
|
||||
[reset_to_defaults_label]
|
||||
Réinitialiser
|
||||
@@ -486,7 +594,7 @@ Océan
|
||||
Forêt
|
||||
---
|
||||
[theme_sunset]
|
||||
Coucher de soleil
|
||||
Crépuscule
|
||||
---
|
||||
[theme_lavender]
|
||||
Lavande
|
||||
@@ -575,6 +683,45 @@ Copier l’ID
|
||||
[sync_public_id_copied]
|
||||
ID public copié
|
||||
---
|
||||
[sync_public_id_full_title]
|
||||
ID public complet
|
||||
---
|
||||
[sync_public_id_full_message]
|
||||
Voici l’identifiant complet du compte.
|
||||
---
|
||||
[sync_alias_button]
|
||||
Alias
|
||||
---
|
||||
[sync_alias_title]
|
||||
Alias du compte
|
||||
---
|
||||
[sync_alias_message]
|
||||
Choisissez un nom court pour ce compte. C’est facultatif.
|
||||
---
|
||||
[sync_alias_change_title]
|
||||
Modifier l’alias
|
||||
---
|
||||
[sync_alias_change_message]
|
||||
Modifiez le nom court de ce compte sur ce serveur de synchronisation.
|
||||
---
|
||||
[sync_alias_rule]
|
||||
4 à 32 lettres, chiffres ou tiret bas.
|
||||
---
|
||||
[sync_alias_register_button]
|
||||
Enregistrer
|
||||
---
|
||||
[sync_alias_save_button]
|
||||
Enregistrer l’alias
|
||||
---
|
||||
[sync_alias_saved]
|
||||
Alias enregistré
|
||||
---
|
||||
[sync_alias_registered]
|
||||
Alias enregistré
|
||||
---
|
||||
[sync_alias_failed]
|
||||
Alias indisponible ou échec distant
|
||||
---
|
||||
[sync_backup_key_button]
|
||||
Sauvegarder la clé
|
||||
---
|
||||
@@ -675,10 +822,10 @@ Nom
|
||||
Soulignement
|
||||
---
|
||||
[habit_practice_list_title]
|
||||
Liste des pratiques
|
||||
Données de session
|
||||
---
|
||||
[habit_practice_list_info]
|
||||
Associez cette habitude aux séances de pratique. Les jours avec des séances correspondantes apparaîtront comme terminés et pourront ouvrir l'éditeur de séance.
|
||||
Choisissez quelles sessions de pratique comptent pour cette habitude. Les jours correspondants sont marqués comme faits et peuvent ouvrir l'éditeur de session.
|
||||
---
|
||||
[habit_counting_title]
|
||||
Comptage
|
||||
@@ -713,6 +860,9 @@ Créer une habitude
|
||||
[habit_stats_no_rounds_week]
|
||||
Aucune série la semaine dernière
|
||||
---
|
||||
[habit_stats_no_rounds_month]
|
||||
Aucune série le mois dernier
|
||||
---
|
||||
[habit_stats_current_streak]
|
||||
Série actuelle
|
||||
---
|
||||
@@ -737,40 +887,12 @@ Rétention totale
|
||||
[habit_stats_best_streak]
|
||||
Meilleure série
|
||||
---
|
||||
[bottom_nav_customize_button]
|
||||
Personnaliser la navigation du bas
|
||||
[habit_stats_day_singular]
|
||||
%d jour
|
||||
---
|
||||
[bottom_nav_customize_title]
|
||||
Navigation du bas
|
||||
---
|
||||
[bottom_nav_add_button]
|
||||
Ajouter un élément
|
||||
---
|
||||
[bottom_nav_slot_1]
|
||||
Élément 1
|
||||
---
|
||||
[bottom_nav_slot_2]
|
||||
Élément 2
|
||||
---
|
||||
[bottom_nav_slot_3]
|
||||
Élément 3
|
||||
---
|
||||
[bottom_nav_slot_4]
|
||||
Élément 4
|
||||
---
|
||||
[bottom_nav_slot_5]
|
||||
Élément 5
|
||||
---
|
||||
[bottom_nav_slot_6]
|
||||
Élément 6
|
||||
---
|
||||
[bottom_nav_slot_7]
|
||||
Élément 7
|
||||
---
|
||||
[bottom_nav_slot_8]
|
||||
Élément 8
|
||||
---
|
||||
[reset_button]
|
||||
[habit_stats_day_plural]
|
||||
%d jours
|
||||
---[reset_button]
|
||||
Réinitialiser
|
||||
---
|
||||
[practice_guide_dropdown]
|
||||
@@ -779,9 +901,6 @@ Choisissez votre pratique ici.
|
||||
[practice_guide_manual]
|
||||
Lisez le tutoriel avant de commencer une pratique afin de comprendre tout l'exercice.
|
||||
---
|
||||
[practice_guide_sun]
|
||||
Utilisez l'onglet soleil lorsque vous etes pret a commencer l'exercice.
|
||||
---
|
||||
[practice_guide_config]
|
||||
Modifiez la configuration de la pratique selon vos besoins.
|
||||
---
|
||||
@@ -808,10 +927,26 @@ Onglets
|
||||
---
|
||||
|
||||
[transition_label]
|
||||
Transition
|
||||
Effet
|
||||
[transition_none]
|
||||
None
|
||||
Aucune
|
||||
[transition_fade]
|
||||
Fade
|
||||
Fondu
|
||||
[theme_picker_title]
|
||||
Choose Theme
|
||||
Choisir un thème
|
||||
---
|
||||
[notification_starting_seconds]
|
||||
Demarrage : %ds
|
||||
---
|
||||
[notification_breathing_count]
|
||||
Inspirez et expirez : %d
|
||||
---
|
||||
[notification_hold_seconds]
|
||||
Retention : %ds
|
||||
---
|
||||
[notification_breath_in_seconds]
|
||||
Inspirez : %ds
|
||||
---
|
||||
[notification_results]
|
||||
Results
|
||||
---
|
||||
@@ -4,6 +4,9 @@ Inner Breeze
|
||||
[tab_history]
|
||||
Riwayat
|
||||
---
|
||||
[tab_profile]
|
||||
Profile
|
||||
---
|
||||
[tab_habits]
|
||||
Kebiasaan
|
||||
---
|
||||
@@ -22,6 +25,24 @@ Tandai
|
||||
[tab_manual]
|
||||
Manual
|
||||
---
|
||||
[tab_pet]
|
||||
Pet
|
||||
---
|
||||
[profile_data_title]
|
||||
Data
|
||||
---
|
||||
[profile_data_button]
|
||||
Configure Data
|
||||
---
|
||||
[profile_habits_label]
|
||||
Habits
|
||||
---
|
||||
[profile_sessions_label]
|
||||
Sessions
|
||||
---
|
||||
[profile_storage_label]
|
||||
Storage
|
||||
---
|
||||
[tab_settings]
|
||||
Pengaturan
|
||||
---
|
||||
@@ -37,6 +58,63 @@ Pernapasan Wim Hof
|
||||
[exercise_meditation]
|
||||
Meditasi
|
||||
---
|
||||
[exercise_sun_salutation]
|
||||
Sun Salutation
|
||||
---
|
||||
[sun_salutation_work_in_progress]
|
||||
Sedang dikerjakan
|
||||
---
|
||||
[sun_salutation_repetitions_label]
|
||||
Pengulangan
|
||||
---
|
||||
[sun_salutation_start_speed_label]
|
||||
Tempo awal
|
||||
---
|
||||
[sun_salutation_end_speed_label]
|
||||
Tempo akhir
|
||||
---
|
||||
[sun_salutation_tempo_preview_label]
|
||||
Pratinjau tempo
|
||||
---
|
||||
[sun_salutation_tempo_preview_hint]
|
||||
Pengulangan pertama dimulai lebih lambat, lalu tempo meningkat bertahap.
|
||||
---
|
||||
[sun_salutation_step_1]
|
||||
Langkah 1: pose gunung
|
||||
---
|
||||
[sun_salutation_step_2]
|
||||
Langkah 2: salam ke atas
|
||||
---
|
||||
[sun_salutation_step_3]
|
||||
Langkah 3: lipatan depan berdiri
|
||||
---
|
||||
[sun_salutation_step_4]
|
||||
Langkah 4: setengah angkat
|
||||
---
|
||||
[sun_salutation_step_5]
|
||||
Langkah 5: plank
|
||||
---
|
||||
[sun_salutation_step_6]
|
||||
Langkah 6: plank rendah
|
||||
---
|
||||
[sun_salutation_step_7]
|
||||
Langkah 7: anjing menghadap atas
|
||||
---
|
||||
[sun_salutation_step_8]
|
||||
Langkah 8: anjing menghadap bawah
|
||||
---
|
||||
[sun_salutation_step_9]
|
||||
Langkah 9: setengah angkat
|
||||
---
|
||||
[sun_salutation_step_10]
|
||||
Langkah 10: lipatan depan berdiri
|
||||
---
|
||||
[sun_salutation_step_11]
|
||||
Langkah 11: salam ke atas
|
||||
---
|
||||
[sun_salutation_step_12]
|
||||
Langkah 12: pose gunung
|
||||
---
|
||||
[meditation_title]
|
||||
Meditasi
|
||||
---
|
||||
@@ -83,7 +161,7 @@ Hentikan tes
|
||||
Jaringan tidak tersedia
|
||||
---
|
||||
[meditation_music_network_error_message]
|
||||
Tidak dapat menjangkau server musik meditasi. Periksa izin jaringan Android dan koneksi internetmu, lalu coba lagi.
|
||||
Tidak dapat membuka file musik meditasi. Periksa koneksi internetmu, lalu coba lagi.
|
||||
---
|
||||
[duration_5m]
|
||||
5 mnt
|
||||
@@ -100,6 +178,21 @@ Tidak dapat menjangkau server musik meditasi. Periksa izin jaringan Android dan
|
||||
[duration_2h]
|
||||
2j
|
||||
---
|
||||
[meditation_duration_setting]
|
||||
Meditation length
|
||||
---
|
||||
[meditation_duration_custom]
|
||||
Custom
|
||||
---
|
||||
[meditation_custom_minutes]
|
||||
Custom time
|
||||
---
|
||||
[meditation_extend_controls_label]
|
||||
Show add-time buttons during meditation
|
||||
---
|
||||
[finish_button]
|
||||
Finish
|
||||
---
|
||||
[breath_button]
|
||||
NAFAS
|
||||
---
|
||||
@@ -193,14 +286,11 @@ Tampilan
|
||||
[settings_section_language]
|
||||
Bahasa
|
||||
---
|
||||
[settings_tab_data]
|
||||
Data
|
||||
---
|
||||
[settings_section_data]
|
||||
Data
|
||||
---
|
||||
[settings_tab_about]
|
||||
Tentang
|
||||
About
|
||||
---
|
||||
[about_text]
|
||||
A quiet breathing companion for practice, habits, and sync.
|
||||
---
|
||||
[theme_label]
|
||||
Tema
|
||||
@@ -247,6 +337,21 @@ Jeda setelah ronde
|
||||
[advanced_session_controls_label]
|
||||
Kontrol sesi lanjutan
|
||||
---
|
||||
[double_tap_to_breathe_label]
|
||||
Ketuk dua kali untuk bernapas
|
||||
---
|
||||
[double_tap_to_breathe_hint]
|
||||
Ketuk layar dua kali untuk bernapas
|
||||
---
|
||||
[session_count_singular]
|
||||
%d sesi
|
||||
---
|
||||
[session_count_plural]
|
||||
%d sesi
|
||||
---
|
||||
[no_sessions]
|
||||
Tidak ada sesi
|
||||
---
|
||||
[hold_display_label]
|
||||
Tampilan tahan napas
|
||||
---
|
||||
@@ -260,7 +365,7 @@ Lingkaran
|
||||
Volume
|
||||
---
|
||||
[show_session_volume_control_label]
|
||||
Tampilkan kontrol volume di sesi
|
||||
Tampilkan kontrol volume
|
||||
---
|
||||
[reset_to_defaults_label]
|
||||
Reset ke default
|
||||
@@ -675,10 +780,10 @@ Nama
|
||||
Garis bawah
|
||||
---
|
||||
[habit_practice_list_title]
|
||||
Daftar latihan
|
||||
Data sesi dari
|
||||
---
|
||||
[habit_practice_list_info]
|
||||
Hubungkan kebiasaan ini ke sesi latihan. Hari dengan sesi yang cocok akan tampil selesai dan dapat membuka editor sesi.
|
||||
Pilih sesi latihan mana yang dihitung untuk kebiasaan ini. Hari yang cocok ditandai selesai dan dapat membuka editor sesi.
|
||||
---
|
||||
[habit_counting_title]
|
||||
Penghitungan
|
||||
@@ -713,6 +818,9 @@ Buat kebiasaan
|
||||
[habit_stats_no_rounds_week]
|
||||
Tidak ada ronde minggu lalu
|
||||
---
|
||||
[habit_stats_no_rounds_month]
|
||||
Tidak ada ronde bulan lalu
|
||||
---
|
||||
[habit_stats_current_streak]
|
||||
Rangkaian saat ini
|
||||
---
|
||||
@@ -737,40 +845,12 @@ Total tahan
|
||||
[habit_stats_best_streak]
|
||||
Rangkaian terbaik
|
||||
---
|
||||
[bottom_nav_customize_button]
|
||||
Sesuaikan navigasi bawah
|
||||
[habit_stats_day_singular]
|
||||
%d hari
|
||||
---
|
||||
[bottom_nav_customize_title]
|
||||
Navigasi bawah
|
||||
---
|
||||
[bottom_nav_add_button]
|
||||
Tambah item
|
||||
---
|
||||
[bottom_nav_slot_1]
|
||||
Item 1
|
||||
---
|
||||
[bottom_nav_slot_2]
|
||||
Item 2
|
||||
---
|
||||
[bottom_nav_slot_3]
|
||||
Item 3
|
||||
---
|
||||
[bottom_nav_slot_4]
|
||||
Item 4
|
||||
---
|
||||
[bottom_nav_slot_5]
|
||||
Item 5
|
||||
---
|
||||
[bottom_nav_slot_6]
|
||||
Item 6
|
||||
---
|
||||
[bottom_nav_slot_7]
|
||||
Item 7
|
||||
---
|
||||
[bottom_nav_slot_8]
|
||||
Item 8
|
||||
---
|
||||
[reset_button]
|
||||
[habit_stats_day_plural]
|
||||
%d hari
|
||||
---[reset_button]
|
||||
Reset
|
||||
---
|
||||
[practice_guide_dropdown]
|
||||
@@ -779,9 +859,6 @@ Pilih praktik Anda di sini.
|
||||
[practice_guide_manual]
|
||||
Baca tutorial sebelum memulai praktik agar Anda memahami seluruh latihan.
|
||||
---
|
||||
[practice_guide_sun]
|
||||
Gunakan tab matahari saat Anda siap memulai latihan.
|
||||
---
|
||||
[practice_guide_config]
|
||||
Ubah konfigurasi praktik agar sesuai dengan kebutuhan Anda.
|
||||
---
|
||||
@@ -801,17 +878,75 @@ Lihat statistik kebiasaan Anda di sini.
|
||||
Navigasi
|
||||
---
|
||||
[nav_mode_dropdown]
|
||||
Dropdown
|
||||
Menu
|
||||
---
|
||||
[nav_mode_tabbar]
|
||||
Tab
|
||||
---
|
||||
|
||||
[transition_label]
|
||||
Transition
|
||||
Transisi
|
||||
[transition_none]
|
||||
None
|
||||
Tidak ada
|
||||
[transition_fade]
|
||||
Fade
|
||||
Pudar
|
||||
[theme_picker_title]
|
||||
Choose Theme
|
||||
Pilih Tema
|
||||
[skip_button]
|
||||
Skip
|
||||
---
|
||||
[sync_public_id_full_title]
|
||||
Full Public ID
|
||||
---
|
||||
[sync_public_id_full_message]
|
||||
Use this if you need the full account identifier.
|
||||
---
|
||||
[sync_alias_button]
|
||||
Alias
|
||||
---
|
||||
[sync_alias_title]
|
||||
Choose Alias
|
||||
---
|
||||
[sync_alias_message]
|
||||
Pick a short alias for this account on the current sync server.
|
||||
---
|
||||
[sync_alias_rule]
|
||||
4-32 characters: lowercase letters, numbers, or underscore.
|
||||
---
|
||||
[sync_alias_register_button]
|
||||
Register Alias
|
||||
---
|
||||
[sync_alias_registered]
|
||||
Alias registered.
|
||||
---
|
||||
[sync_alias_failed]
|
||||
Could not register alias.
|
||||
---
|
||||
[sync_alias_change_title]
|
||||
Change Alias
|
||||
---
|
||||
[sync_alias_change_message]
|
||||
Change the short name for this account on this sync server.
|
||||
---
|
||||
[sync_alias_save_button]
|
||||
Save Alias
|
||||
---
|
||||
[sync_alias_saved]
|
||||
Alias saved
|
||||
---
|
||||
[notification_starting_seconds]
|
||||
Mulai: %ds
|
||||
---
|
||||
[notification_breathing_count]
|
||||
Tarik dan hembus: %d
|
||||
---
|
||||
[notification_hold_seconds]
|
||||
Tahan: %ds
|
||||
---
|
||||
[notification_breath_in_seconds]
|
||||
Tarik napas: %ds
|
||||
---
|
||||
[notification_results]
|
||||
Results
|
||||
---
|
||||
---
|
||||
@@ -4,6 +4,9 @@ Inner Breeze
|
||||
[tab_history]
|
||||
Cronologia
|
||||
---
|
||||
[tab_profile]
|
||||
Profile
|
||||
---
|
||||
[tab_habits]
|
||||
Abitudini
|
||||
---
|
||||
@@ -22,6 +25,24 @@ Segna Come Fatto
|
||||
[tab_manual]
|
||||
Manuale
|
||||
---
|
||||
[tab_pet]
|
||||
Pet
|
||||
---
|
||||
[profile_data_title]
|
||||
Data
|
||||
---
|
||||
[profile_data_button]
|
||||
Configure Data
|
||||
---
|
||||
[profile_habits_label]
|
||||
Habits
|
||||
---
|
||||
[profile_sessions_label]
|
||||
Sessions
|
||||
---
|
||||
[profile_storage_label]
|
||||
Storage
|
||||
---
|
||||
[tab_settings]
|
||||
Impostazioni
|
||||
---
|
||||
@@ -37,6 +58,63 @@ Respirazione Wim Hof
|
||||
[exercise_meditation]
|
||||
Meditazione
|
||||
---
|
||||
[exercise_sun_salutation]
|
||||
Sun Salutation
|
||||
---
|
||||
[sun_salutation_work_in_progress]
|
||||
Lavoro in corso
|
||||
---
|
||||
[sun_salutation_repetitions_label]
|
||||
Ripetizioni
|
||||
---
|
||||
[sun_salutation_start_speed_label]
|
||||
Tempo iniziale
|
||||
---
|
||||
[sun_salutation_end_speed_label]
|
||||
Tempo finale
|
||||
---
|
||||
[sun_salutation_tempo_preview_label]
|
||||
Anteprima del tempo
|
||||
---
|
||||
[sun_salutation_tempo_preview_hint]
|
||||
La prima ripetizione inizia piu lenta, poi il ritmo aumenta gradualmente.
|
||||
---
|
||||
[sun_salutation_step_1]
|
||||
Passo 1: posizione della montagna
|
||||
---
|
||||
[sun_salutation_step_2]
|
||||
Passo 2: saluto verso l'alto
|
||||
---
|
||||
[sun_salutation_step_3]
|
||||
Passo 3: piegamento in avanti
|
||||
---
|
||||
[sun_salutation_step_4]
|
||||
Passo 4: mezzo sollevamento
|
||||
---
|
||||
[sun_salutation_step_5]
|
||||
Passo 5: plank
|
||||
---
|
||||
[sun_salutation_step_6]
|
||||
Passo 6: plank basso
|
||||
---
|
||||
[sun_salutation_step_7]
|
||||
Passo 7: cane a testa in su
|
||||
---
|
||||
[sun_salutation_step_8]
|
||||
Passo 8: cane a testa in giu
|
||||
---
|
||||
[sun_salutation_step_9]
|
||||
Passo 9: mezzo sollevamento
|
||||
---
|
||||
[sun_salutation_step_10]
|
||||
Passo 10: piegamento in avanti
|
||||
---
|
||||
[sun_salutation_step_11]
|
||||
Passo 11: saluto verso l'alto
|
||||
---
|
||||
[sun_salutation_step_12]
|
||||
Passo 12: posizione della montagna
|
||||
---
|
||||
[meditation_title]
|
||||
Meditazione
|
||||
---
|
||||
@@ -83,7 +161,7 @@ Ferma test
|
||||
Rete non disponibile
|
||||
---
|
||||
[meditation_music_network_error_message]
|
||||
Impossibile raggiungere il server musica per la meditazione. Controlla le autorizzazioni di rete di Android e la connessione a internet, poi riprova.
|
||||
Impossibile raggiungere il file musicale per la meditazione. Controlla la connessione a internet, poi riprova.
|
||||
---
|
||||
[duration_5m]
|
||||
5 min
|
||||
@@ -100,6 +178,21 @@ Impossibile raggiungere il server musica per la meditazione. Controlla le autori
|
||||
[duration_2h]
|
||||
2 ore
|
||||
---
|
||||
[meditation_duration_setting]
|
||||
Meditation length
|
||||
---
|
||||
[meditation_duration_custom]
|
||||
Custom
|
||||
---
|
||||
[meditation_custom_minutes]
|
||||
Custom time
|
||||
---
|
||||
[meditation_extend_controls_label]
|
||||
Show add-time buttons during meditation
|
||||
---
|
||||
[finish_button]
|
||||
Finish
|
||||
---
|
||||
[breath_button]
|
||||
RESPIRO
|
||||
---
|
||||
@@ -193,14 +286,11 @@ Aspetto
|
||||
[settings_section_language]
|
||||
Lingua
|
||||
---
|
||||
[settings_tab_data]
|
||||
Dati
|
||||
---
|
||||
[settings_section_data]
|
||||
Dati
|
||||
---
|
||||
[settings_tab_about]
|
||||
Info
|
||||
About
|
||||
---
|
||||
[about_text]
|
||||
A quiet breathing companion for practice, habits, and sync.
|
||||
---
|
||||
[theme_label]
|
||||
Tema
|
||||
@@ -301,6 +391,21 @@ Pausa dopo round
|
||||
[advanced_session_controls_label]
|
||||
Controlli avanzati sessione
|
||||
---
|
||||
[double_tap_to_breathe_label]
|
||||
Doppio tap per respirare
|
||||
---
|
||||
[double_tap_to_breathe_hint]
|
||||
Tocca due volte lo schermo per respirare
|
||||
---
|
||||
[session_count_singular]
|
||||
%d sessione
|
||||
---
|
||||
[session_count_plural]
|
||||
%d sessioni
|
||||
---
|
||||
[no_sessions]
|
||||
Nessuna sessione
|
||||
---
|
||||
[hold_display_label]
|
||||
Visualizzazione trattenuta
|
||||
---
|
||||
@@ -314,7 +419,7 @@ Cerchio
|
||||
Volume
|
||||
---
|
||||
[show_session_volume_control_label]
|
||||
Mostra il controllo volume nelle sessioni
|
||||
Mostra controllo volume
|
||||
---
|
||||
[reset_to_defaults_label]
|
||||
Ripristina predefiniti
|
||||
@@ -675,10 +780,10 @@ Nome
|
||||
Sottolineatura
|
||||
---
|
||||
[habit_practice_list_title]
|
||||
Elenco pratiche
|
||||
Dati sessione da
|
||||
---
|
||||
[habit_practice_list_info]
|
||||
Collega questa abitudine alle sessioni di pratica. I giorni con sessioni corrispondenti verranno mostrati come completati e potranno aprire l'editor della sessione.
|
||||
Scegli quali sessioni di pratica contano per questa abitudine. I giorni corrispondenti risultano completati e possono aprire l'editor della sessione.
|
||||
---
|
||||
[habit_counting_title]
|
||||
Conteggio
|
||||
@@ -713,6 +818,9 @@ Crea abitudine
|
||||
[habit_stats_no_rounds_week]
|
||||
Nessun round nell'ultima settimana
|
||||
---
|
||||
[habit_stats_no_rounds_month]
|
||||
Nessun round nell'ultimo mese
|
||||
---
|
||||
[habit_stats_current_streak]
|
||||
Serie attuale
|
||||
---
|
||||
@@ -737,40 +845,12 @@ Apnea totale
|
||||
[habit_stats_best_streak]
|
||||
Migliore serie
|
||||
---
|
||||
[bottom_nav_customize_button]
|
||||
Personalizza navigazione inferiore
|
||||
[habit_stats_day_singular]
|
||||
%d giorno
|
||||
---
|
||||
[bottom_nav_customize_title]
|
||||
Navigazione inferiore
|
||||
---
|
||||
[bottom_nav_add_button]
|
||||
Aggiungi elemento
|
||||
---
|
||||
[bottom_nav_slot_1]
|
||||
Elemento 1
|
||||
---
|
||||
[bottom_nav_slot_2]
|
||||
Elemento 2
|
||||
---
|
||||
[bottom_nav_slot_3]
|
||||
Elemento 3
|
||||
---
|
||||
[bottom_nav_slot_4]
|
||||
Elemento 4
|
||||
---
|
||||
[bottom_nav_slot_5]
|
||||
Elemento 5
|
||||
---
|
||||
[bottom_nav_slot_6]
|
||||
Elemento 6
|
||||
---
|
||||
[bottom_nav_slot_7]
|
||||
Elemento 7
|
||||
---
|
||||
[bottom_nav_slot_8]
|
||||
Elemento 8
|
||||
---
|
||||
[reset_button]
|
||||
[habit_stats_day_plural]
|
||||
%d giorni
|
||||
---[reset_button]
|
||||
Ripristina
|
||||
---
|
||||
[practice_guide_dropdown]
|
||||
@@ -779,9 +859,6 @@ Scegli qui la tua pratica.
|
||||
[practice_guide_manual]
|
||||
Leggi il tutorial prima di iniziare una pratica per capire l'esercizio completo.
|
||||
---
|
||||
[practice_guide_sun]
|
||||
Usa la scheda con il sole quando sei pronto per iniziare l'esercizio.
|
||||
---
|
||||
[practice_guide_config]
|
||||
Modifica la configurazione della pratica in base alle tue esigenze.
|
||||
---
|
||||
@@ -801,17 +878,75 @@ Visualizza qui le statistiche delle abitudini.
|
||||
Navigazione
|
||||
---
|
||||
[nav_mode_dropdown]
|
||||
Dropdown
|
||||
Menu
|
||||
---
|
||||
[nav_mode_tabbar]
|
||||
Schede
|
||||
---
|
||||
|
||||
[transition_label]
|
||||
Transition
|
||||
Transizione
|
||||
[transition_none]
|
||||
None
|
||||
Nessuna
|
||||
[transition_fade]
|
||||
Fade
|
||||
Dissolvenza
|
||||
[theme_picker_title]
|
||||
Choose Theme
|
||||
Scegli tema
|
||||
[skip_button]
|
||||
Skip
|
||||
---
|
||||
[sync_public_id_full_title]
|
||||
Full Public ID
|
||||
---
|
||||
[sync_public_id_full_message]
|
||||
Use this if you need the full account identifier.
|
||||
---
|
||||
[sync_alias_button]
|
||||
Alias
|
||||
---
|
||||
[sync_alias_title]
|
||||
Choose Alias
|
||||
---
|
||||
[sync_alias_message]
|
||||
Pick a short alias for this account on the current sync server.
|
||||
---
|
||||
[sync_alias_rule]
|
||||
4-32 characters: lowercase letters, numbers, or underscore.
|
||||
---
|
||||
[sync_alias_register_button]
|
||||
Register Alias
|
||||
---
|
||||
[sync_alias_registered]
|
||||
Alias registered.
|
||||
---
|
||||
[sync_alias_failed]
|
||||
Could not register alias.
|
||||
---
|
||||
[sync_alias_change_title]
|
||||
Change Alias
|
||||
---
|
||||
[sync_alias_change_message]
|
||||
Change the short name for this account on this sync server.
|
||||
---
|
||||
[sync_alias_save_button]
|
||||
Save Alias
|
||||
---
|
||||
[sync_alias_saved]
|
||||
Alias saved
|
||||
---
|
||||
[notification_starting_seconds]
|
||||
Avvio: %ds
|
||||
---
|
||||
[notification_breathing_count]
|
||||
Dentro e fuori: %d
|
||||
---
|
||||
[notification_hold_seconds]
|
||||
Trattieni: %ds
|
||||
---
|
||||
[notification_breath_in_seconds]
|
||||
Inspira: %ds
|
||||
---
|
||||
[notification_results]
|
||||
Results
|
||||
---
|
||||
---
|
||||
@@ -4,6 +4,9 @@
|
||||
[tab_history]
|
||||
履歴
|
||||
---
|
||||
[tab_profile]
|
||||
Profile
|
||||
---
|
||||
[tab_habits]
|
||||
習慣
|
||||
---
|
||||
@@ -22,6 +25,24 @@
|
||||
[tab_manual]
|
||||
チュートリアル
|
||||
---
|
||||
[tab_pet]
|
||||
Pet
|
||||
---
|
||||
[profile_data_title]
|
||||
Data
|
||||
---
|
||||
[profile_data_button]
|
||||
Configure Data
|
||||
---
|
||||
[profile_habits_label]
|
||||
Habits
|
||||
---
|
||||
[profile_sessions_label]
|
||||
Sessions
|
||||
---
|
||||
[profile_storage_label]
|
||||
Storage
|
||||
---
|
||||
[tab_settings]
|
||||
設定
|
||||
---
|
||||
@@ -37,6 +58,63 @@
|
||||
[exercise_meditation]
|
||||
瞑想
|
||||
---
|
||||
[exercise_sun_salutation]
|
||||
Sun Salutation
|
||||
---
|
||||
[sun_salutation_work_in_progress]
|
||||
作業中
|
||||
---
|
||||
[sun_salutation_repetitions_label]
|
||||
反復回数
|
||||
---
|
||||
[sun_salutation_start_speed_label]
|
||||
開始テンポ
|
||||
---
|
||||
[sun_salutation_end_speed_label]
|
||||
終了テンポ
|
||||
---
|
||||
[sun_salutation_tempo_preview_label]
|
||||
テンポのプレビュー
|
||||
---
|
||||
[sun_salutation_tempo_preview_hint]
|
||||
最初の反復はゆっくり始まり、その後少しずつ速くなります。
|
||||
---
|
||||
[sun_salutation_step_1]
|
||||
ステップ1: 山のポーズ
|
||||
---
|
||||
[sun_salutation_step_2]
|
||||
ステップ2: 上向きの礼拝
|
||||
---
|
||||
[sun_salutation_step_3]
|
||||
ステップ3: 立位前屈
|
||||
---
|
||||
[sun_salutation_step_4]
|
||||
ステップ4: 半分の前屈
|
||||
---
|
||||
[sun_salutation_step_5]
|
||||
ステップ5: プランク
|
||||
---
|
||||
[sun_salutation_step_6]
|
||||
ステップ6: ロープランク
|
||||
---
|
||||
[sun_salutation_step_7]
|
||||
ステップ7: 上向きの犬のポーズ
|
||||
---
|
||||
[sun_salutation_step_8]
|
||||
ステップ8: 下向きの犬のポーズ
|
||||
---
|
||||
[sun_salutation_step_9]
|
||||
ステップ9: 半分の前屈
|
||||
---
|
||||
[sun_salutation_step_10]
|
||||
ステップ10: 立位前屈
|
||||
---
|
||||
[sun_salutation_step_11]
|
||||
ステップ11: 上向きの礼拝
|
||||
---
|
||||
[sun_salutation_step_12]
|
||||
ステップ12: 山のポーズ
|
||||
---
|
||||
[meditation_title]
|
||||
瞑想
|
||||
---
|
||||
@@ -100,6 +178,21 @@
|
||||
[duration_2h]
|
||||
2時間
|
||||
---
|
||||
[meditation_duration_setting]
|
||||
Meditation length
|
||||
---
|
||||
[meditation_duration_custom]
|
||||
Custom
|
||||
---
|
||||
[meditation_custom_minutes]
|
||||
Custom time
|
||||
---
|
||||
[meditation_extend_controls_label]
|
||||
Show add-time buttons during meditation
|
||||
---
|
||||
[finish_button]
|
||||
Finish
|
||||
---
|
||||
[breath_button]
|
||||
呼吸
|
||||
---
|
||||
@@ -193,14 +286,11 @@ OK
|
||||
[settings_section_language]
|
||||
言語
|
||||
---
|
||||
[settings_tab_data]
|
||||
データ
|
||||
---
|
||||
[settings_section_data]
|
||||
データ
|
||||
---
|
||||
[settings_tab_about]
|
||||
情報
|
||||
About
|
||||
---
|
||||
[about_text]
|
||||
A quiet breathing companion for practice, habits, and sync.
|
||||
---
|
||||
[theme_label]
|
||||
テーマ
|
||||
@@ -247,6 +337,21 @@ OK
|
||||
[advanced_session_controls_label]
|
||||
詳細なセッション設定
|
||||
---
|
||||
[double_tap_to_breathe_label]
|
||||
ダブルタップで呼吸
|
||||
---
|
||||
[double_tap_to_breathe_hint]
|
||||
画面をダブルタップして呼吸
|
||||
---
|
||||
[session_count_singular]
|
||||
%dセッション
|
||||
---
|
||||
[session_count_plural]
|
||||
%dセッション
|
||||
---
|
||||
[no_sessions]
|
||||
セッションなし
|
||||
---
|
||||
[hold_display_label]
|
||||
ホールド表示
|
||||
---
|
||||
@@ -260,7 +365,7 @@ OK
|
||||
音量
|
||||
---
|
||||
[show_session_volume_control_label]
|
||||
セッション中に音量コントロールを表示
|
||||
音量コントロールを表示
|
||||
---
|
||||
[reset_to_defaults_label]
|
||||
デフォルトに戻す
|
||||
@@ -675,10 +780,10 @@ https:// または localhost:8080 のようなループバックを使用して
|
||||
下線
|
||||
---
|
||||
[habit_practice_list_title]
|
||||
練習リスト
|
||||
セッションデータ
|
||||
---
|
||||
[habit_practice_list_info]
|
||||
この習慣を練習セッションに関連付けます。一致するセッションがある日は完了として表示され、セッション編集画面を開けます。
|
||||
この習慣に含める練習セッションを選びます。一致する日は完了として表示され、セッション編集画面を開けます。
|
||||
---
|
||||
[habit_counting_title]
|
||||
カウント
|
||||
@@ -713,6 +818,9 @@ https:// または localhost:8080 のようなループバックを使用して
|
||||
[habit_stats_no_rounds_week]
|
||||
過去1週間にラウンドはありません
|
||||
---
|
||||
[habit_stats_no_rounds_month]
|
||||
過去1か月にラウンドはありません
|
||||
---
|
||||
[habit_stats_current_streak]
|
||||
現在の連続記録
|
||||
---
|
||||
@@ -737,40 +845,12 @@ https:// または localhost:8080 のようなループバックを使用して
|
||||
[habit_stats_best_streak]
|
||||
最長連続記録
|
||||
---
|
||||
[bottom_nav_customize_button]
|
||||
下部ナビゲーションをカスタマイズ
|
||||
[habit_stats_day_singular]
|
||||
%d日
|
||||
---
|
||||
[bottom_nav_customize_title]
|
||||
下部ナビゲーション
|
||||
---
|
||||
[bottom_nav_add_button]
|
||||
項目を追加
|
||||
---
|
||||
[bottom_nav_slot_1]
|
||||
項目1
|
||||
---
|
||||
[bottom_nav_slot_2]
|
||||
項目2
|
||||
---
|
||||
[bottom_nav_slot_3]
|
||||
項目3
|
||||
---
|
||||
[bottom_nav_slot_4]
|
||||
項目4
|
||||
---
|
||||
[bottom_nav_slot_5]
|
||||
項目5
|
||||
---
|
||||
[bottom_nav_slot_6]
|
||||
項目6
|
||||
---
|
||||
[bottom_nav_slot_7]
|
||||
項目7
|
||||
---
|
||||
[bottom_nav_slot_8]
|
||||
項目8
|
||||
---
|
||||
[reset_button]
|
||||
[habit_stats_day_plural]
|
||||
%d日
|
||||
---[reset_button]
|
||||
リセット
|
||||
---
|
||||
[practice_guide_dropdown]
|
||||
@@ -779,9 +859,6 @@ https:// または localhost:8080 のようなループバックを使用して
|
||||
[practice_guide_manual]
|
||||
練習を始める前にチュートリアルを読んで、エクササイズ全体を理解してください。
|
||||
---
|
||||
[practice_guide_sun]
|
||||
エクササイズを始める準備ができたら、太陽タブを使います。
|
||||
---
|
||||
[practice_guide_config]
|
||||
自分に合うように練習の設定を変更できます。
|
||||
---
|
||||
@@ -808,10 +885,68 @@ https:// または localhost:8080 のようなループバックを使用して
|
||||
---
|
||||
|
||||
[transition_label]
|
||||
Transition
|
||||
切り替え
|
||||
[transition_none]
|
||||
None
|
||||
なし
|
||||
[transition_fade]
|
||||
Fade
|
||||
フェード
|
||||
[theme_picker_title]
|
||||
Choose Theme
|
||||
テーマ選択
|
||||
[skip_button]
|
||||
Skip
|
||||
---
|
||||
[sync_public_id_full_title]
|
||||
Full Public ID
|
||||
---
|
||||
[sync_public_id_full_message]
|
||||
Use this if you need the full account identifier.
|
||||
---
|
||||
[sync_alias_button]
|
||||
Alias
|
||||
---
|
||||
[sync_alias_title]
|
||||
Choose Alias
|
||||
---
|
||||
[sync_alias_message]
|
||||
Pick a short alias for this account on the current sync server.
|
||||
---
|
||||
[sync_alias_rule]
|
||||
4-32 characters: lowercase letters, numbers, or underscore.
|
||||
---
|
||||
[sync_alias_register_button]
|
||||
Register Alias
|
||||
---
|
||||
[sync_alias_registered]
|
||||
Alias registered.
|
||||
---
|
||||
[sync_alias_failed]
|
||||
Could not register alias.
|
||||
---
|
||||
[sync_alias_change_title]
|
||||
Change Alias
|
||||
---
|
||||
[sync_alias_change_message]
|
||||
Change the short name for this account on this sync server.
|
||||
---
|
||||
[sync_alias_save_button]
|
||||
Save Alias
|
||||
---
|
||||
[sync_alias_saved]
|
||||
Alias saved
|
||||
---
|
||||
[notification_starting_seconds]
|
||||
開始: %d秒
|
||||
---
|
||||
[notification_breathing_count]
|
||||
吸って吐く: %d
|
||||
---
|
||||
[notification_hold_seconds]
|
||||
ホールド: %d秒
|
||||
---
|
||||
[notification_breath_in_seconds]
|
||||
吸う: %d秒
|
||||
---
|
||||
[notification_results]
|
||||
Results
|
||||
---
|
||||
---
|
||||
@@ -4,6 +4,9 @@ Inner Breeze
|
||||
[tab_history]
|
||||
기록
|
||||
---
|
||||
[tab_profile]
|
||||
Profile
|
||||
---
|
||||
[tab_habits]
|
||||
습관
|
||||
---
|
||||
@@ -22,6 +25,24 @@ Inner Breeze
|
||||
[tab_manual]
|
||||
튜토리얼
|
||||
---
|
||||
[tab_pet]
|
||||
Pet
|
||||
---
|
||||
[profile_data_title]
|
||||
Data
|
||||
---
|
||||
[profile_data_button]
|
||||
Configure Data
|
||||
---
|
||||
[profile_habits_label]
|
||||
Habits
|
||||
---
|
||||
[profile_sessions_label]
|
||||
Sessions
|
||||
---
|
||||
[profile_storage_label]
|
||||
Storage
|
||||
---
|
||||
[tab_settings]
|
||||
설정
|
||||
---
|
||||
@@ -37,6 +58,63 @@ Inner Breeze
|
||||
[exercise_meditation]
|
||||
명상
|
||||
---
|
||||
[exercise_sun_salutation]
|
||||
Sun Salutation
|
||||
---
|
||||
[sun_salutation_work_in_progress]
|
||||
작업 중
|
||||
---
|
||||
[sun_salutation_repetitions_label]
|
||||
반복 횟수
|
||||
---
|
||||
[sun_salutation_start_speed_label]
|
||||
시작 템포
|
||||
---
|
||||
[sun_salutation_end_speed_label]
|
||||
종료 템포
|
||||
---
|
||||
[sun_salutation_tempo_preview_label]
|
||||
템포 미리보기
|
||||
---
|
||||
[sun_salutation_tempo_preview_hint]
|
||||
첫 반복은 더 천천히 시작하고 이후 템포가 점차 빨라집니다.
|
||||
---
|
||||
[sun_salutation_step_1]
|
||||
1단계: 산 자세
|
||||
---
|
||||
[sun_salutation_step_2]
|
||||
2단계: 위로 올리는 인사
|
||||
---
|
||||
[sun_salutation_step_3]
|
||||
3단계: 선 전굴
|
||||
---
|
||||
[sun_salutation_step_4]
|
||||
4단계: 반 들어올리기
|
||||
---
|
||||
[sun_salutation_step_5]
|
||||
5단계: 플랭크
|
||||
---
|
||||
[sun_salutation_step_6]
|
||||
6단계: 낮은 플랭크
|
||||
---
|
||||
[sun_salutation_step_7]
|
||||
7단계: 업독
|
||||
---
|
||||
[sun_salutation_step_8]
|
||||
8단계: 다운독
|
||||
---
|
||||
[sun_salutation_step_9]
|
||||
9단계: 반 들어올리기
|
||||
---
|
||||
[sun_salutation_step_10]
|
||||
10단계: 선 전굴
|
||||
---
|
||||
[sun_salutation_step_11]
|
||||
11단계: 위로 올리는 인사
|
||||
---
|
||||
[sun_salutation_step_12]
|
||||
12단계: 산 자세
|
||||
---
|
||||
[meditation_title]
|
||||
명상
|
||||
---
|
||||
@@ -100,6 +178,21 @@ Inner Breeze
|
||||
[duration_2h]
|
||||
2시간
|
||||
---
|
||||
[meditation_duration_setting]
|
||||
Meditation length
|
||||
---
|
||||
[meditation_duration_custom]
|
||||
Custom
|
||||
---
|
||||
[meditation_custom_minutes]
|
||||
Custom time
|
||||
---
|
||||
[meditation_extend_controls_label]
|
||||
Show add-time buttons during meditation
|
||||
---
|
||||
[finish_button]
|
||||
Finish
|
||||
---
|
||||
[breath_button]
|
||||
호흡
|
||||
---
|
||||
@@ -193,14 +286,11 @@ Inner Breeze
|
||||
[settings_section_language]
|
||||
언어
|
||||
---
|
||||
[settings_tab_data]
|
||||
데이터
|
||||
---
|
||||
[settings_section_data]
|
||||
데이터
|
||||
---
|
||||
[settings_tab_about]
|
||||
정보
|
||||
About
|
||||
---
|
||||
[about_text]
|
||||
A quiet breathing companion for practice, habits, and sync.
|
||||
---
|
||||
[theme_label]
|
||||
테마
|
||||
@@ -301,6 +391,21 @@ Inner Breeze
|
||||
[advanced_session_controls_label]
|
||||
고급 세션 제어
|
||||
---
|
||||
[double_tap_to_breathe_label]
|
||||
두 번 탭해 호흡
|
||||
---
|
||||
[double_tap_to_breathe_hint]
|
||||
화면을 두 번 탭해 호흡
|
||||
---
|
||||
[session_count_singular]
|
||||
%d개 세션
|
||||
---
|
||||
[session_count_plural]
|
||||
%d개 세션
|
||||
---
|
||||
[no_sessions]
|
||||
세션 없음
|
||||
---
|
||||
[hold_display_label]
|
||||
홀드 표시
|
||||
---
|
||||
@@ -314,7 +419,7 @@ Inner Breeze
|
||||
음량
|
||||
---
|
||||
[show_session_volume_control_label]
|
||||
세션에서 볼륨 조절 표시
|
||||
볼륨 조절 표시
|
||||
---
|
||||
[reset_to_defaults_label]
|
||||
기본값으로 재설정
|
||||
@@ -674,10 +779,10 @@ https:// 또는 localhost:8080 같은 루프백을 사용하세요
|
||||
밑줄
|
||||
---
|
||||
[habit_practice_list_title]
|
||||
연습 목록
|
||||
세션 데이터
|
||||
---
|
||||
[habit_practice_list_info]
|
||||
이 습관을 연습 세션에 연결합니다. 일치하는 세션이 있는 날은 완료로 표시되며 세션 편집기를 열 수 있습니다.
|
||||
이 습관에 포함할 연습 세션을 선택하세요. 일치하는 날은 완료로 표시되며 세션 편집기를 열 수 있습니다.
|
||||
---
|
||||
[habit_counting_title]
|
||||
횟수
|
||||
@@ -712,6 +817,9 @@ https:// 또는 localhost:8080 같은 루프백을 사용하세요
|
||||
[habit_stats_no_rounds_week]
|
||||
지난주 라운드 없음
|
||||
---
|
||||
[habit_stats_no_rounds_month]
|
||||
지난달 라운드 없음
|
||||
---
|
||||
[habit_stats_current_streak]
|
||||
현재 연속 기록
|
||||
---
|
||||
@@ -736,40 +844,12 @@ https:// 또는 localhost:8080 같은 루프백을 사용하세요
|
||||
[habit_stats_best_streak]
|
||||
최고 연속 기록
|
||||
---
|
||||
[bottom_nav_customize_button]
|
||||
하단 내비게이션 사용자화
|
||||
[habit_stats_day_singular]
|
||||
%d일
|
||||
---
|
||||
[bottom_nav_customize_title]
|
||||
하단 내비게이션
|
||||
---
|
||||
[bottom_nav_add_button]
|
||||
항목 추가
|
||||
---
|
||||
[bottom_nav_slot_1]
|
||||
항목 1
|
||||
---
|
||||
[bottom_nav_slot_2]
|
||||
항목 2
|
||||
---
|
||||
[bottom_nav_slot_3]
|
||||
항목 3
|
||||
---
|
||||
[bottom_nav_slot_4]
|
||||
항목 4
|
||||
---
|
||||
[bottom_nav_slot_5]
|
||||
항목 5
|
||||
---
|
||||
[bottom_nav_slot_6]
|
||||
항목 6
|
||||
---
|
||||
[bottom_nav_slot_7]
|
||||
항목 7
|
||||
---
|
||||
[bottom_nav_slot_8]
|
||||
항목 8
|
||||
---
|
||||
[reset_button]
|
||||
[habit_stats_day_plural]
|
||||
%d일
|
||||
---[reset_button]
|
||||
초기화
|
||||
---
|
||||
[practice_guide_dropdown]
|
||||
@@ -778,9 +858,6 @@ https:// 또는 localhost:8080 같은 루프백을 사용하세요
|
||||
[practice_guide_manual]
|
||||
연습을 시작하기 전에 튜토리얼을 읽고 전체 운동을 이해하세요.
|
||||
---
|
||||
[practice_guide_sun]
|
||||
운동을 시작할 준비가 되면 태양 탭을 사용하세요.
|
||||
---
|
||||
[practice_guide_config]
|
||||
필요에 맞게 연습 설정을 변경하세요.
|
||||
---
|
||||
@@ -807,10 +884,68 @@ https:// 또는 localhost:8080 같은 루프백을 사용하세요
|
||||
---
|
||||
|
||||
[transition_label]
|
||||
Transition
|
||||
전환
|
||||
[transition_none]
|
||||
None
|
||||
없음
|
||||
[transition_fade]
|
||||
Fade
|
||||
페이드
|
||||
[theme_picker_title]
|
||||
Choose Theme
|
||||
테마 선택
|
||||
[skip_button]
|
||||
Skip
|
||||
---
|
||||
[sync_public_id_full_title]
|
||||
Full Public ID
|
||||
---
|
||||
[sync_public_id_full_message]
|
||||
Use this if you need the full account identifier.
|
||||
---
|
||||
[sync_alias_button]
|
||||
Alias
|
||||
---
|
||||
[sync_alias_title]
|
||||
Choose Alias
|
||||
---
|
||||
[sync_alias_message]
|
||||
Pick a short alias for this account on the current sync server.
|
||||
---
|
||||
[sync_alias_rule]
|
||||
4-32 characters: lowercase letters, numbers, or underscore.
|
||||
---
|
||||
[sync_alias_register_button]
|
||||
Register Alias
|
||||
---
|
||||
[sync_alias_registered]
|
||||
Alias registered.
|
||||
---
|
||||
[sync_alias_failed]
|
||||
Could not register alias.
|
||||
---
|
||||
[sync_alias_change_title]
|
||||
Change Alias
|
||||
---
|
||||
[sync_alias_change_message]
|
||||
Change the short name for this account on this sync server.
|
||||
---
|
||||
[sync_alias_save_button]
|
||||
Save Alias
|
||||
---
|
||||
[sync_alias_saved]
|
||||
Alias saved
|
||||
---
|
||||
[notification_starting_seconds]
|
||||
시작: %d초
|
||||
---
|
||||
[notification_breathing_count]
|
||||
들이쉬고 내쉬기: %d
|
||||
---
|
||||
[notification_hold_seconds]
|
||||
홀드: %d초
|
||||
---
|
||||
[notification_breath_in_seconds]
|
||||
들이쉬기: %d초
|
||||
---
|
||||
[notification_results]
|
||||
Results
|
||||
---
|
||||
---
|
||||
@@ -4,6 +4,9 @@ Inner Breeze
|
||||
[tab_history]
|
||||
Histórico
|
||||
---
|
||||
[tab_profile]
|
||||
Profile
|
||||
---
|
||||
[tab_habits]
|
||||
Hábitos
|
||||
---
|
||||
@@ -22,6 +25,24 @@ Marcar
|
||||
[tab_manual]
|
||||
Manual
|
||||
---
|
||||
[tab_pet]
|
||||
Pet
|
||||
---
|
||||
[profile_data_title]
|
||||
Data
|
||||
---
|
||||
[profile_data_button]
|
||||
Configure Data
|
||||
---
|
||||
[profile_habits_label]
|
||||
Habits
|
||||
---
|
||||
[profile_sessions_label]
|
||||
Sessions
|
||||
---
|
||||
[profile_storage_label]
|
||||
Storage
|
||||
---
|
||||
[tab_settings]
|
||||
Configurações
|
||||
---
|
||||
@@ -37,6 +58,63 @@ Respiração Wim Hof
|
||||
[exercise_meditation]
|
||||
Meditação
|
||||
---
|
||||
[exercise_sun_salutation]
|
||||
Sun Salutation
|
||||
---
|
||||
[sun_salutation_work_in_progress]
|
||||
Trabalho em andamento
|
||||
---
|
||||
[sun_salutation_repetitions_label]
|
||||
Repeticoes
|
||||
---
|
||||
[sun_salutation_start_speed_label]
|
||||
Ritmo inicial
|
||||
---
|
||||
[sun_salutation_end_speed_label]
|
||||
Ritmo final
|
||||
---
|
||||
[sun_salutation_tempo_preview_label]
|
||||
Previa do ritmo
|
||||
---
|
||||
[sun_salutation_tempo_preview_hint]
|
||||
A primeira repeticao comeca mais lenta e o ritmo aumenta gradualmente.
|
||||
---
|
||||
[sun_salutation_step_1]
|
||||
Passo 1: postura da montanha
|
||||
---
|
||||
[sun_salutation_step_2]
|
||||
Passo 2: saudacao para cima
|
||||
---
|
||||
[sun_salutation_step_3]
|
||||
Passo 3: flexao para a frente
|
||||
---
|
||||
[sun_salutation_step_4]
|
||||
Passo 4: meia elevacao
|
||||
---
|
||||
[sun_salutation_step_5]
|
||||
Passo 5: prancha
|
||||
---
|
||||
[sun_salutation_step_6]
|
||||
Passo 6: prancha baixa
|
||||
---
|
||||
[sun_salutation_step_7]
|
||||
Passo 7: cao olhando para cima
|
||||
---
|
||||
[sun_salutation_step_8]
|
||||
Passo 8: cao olhando para baixo
|
||||
---
|
||||
[sun_salutation_step_9]
|
||||
Passo 9: meia elevacao
|
||||
---
|
||||
[sun_salutation_step_10]
|
||||
Passo 10: flexao para a frente
|
||||
---
|
||||
[sun_salutation_step_11]
|
||||
Passo 11: saudacao para cima
|
||||
---
|
||||
[sun_salutation_step_12]
|
||||
Passo 12: postura da montanha
|
||||
---
|
||||
[meditation_title]
|
||||
Meditação
|
||||
---
|
||||
@@ -83,7 +161,7 @@ Parar teste
|
||||
Rede indisponível
|
||||
---
|
||||
[meditation_music_network_error_message]
|
||||
Não foi possível acessar o servidor de música de meditação. Verifique as permissões de rede do Android e sua conexão com a internet, depois tente novamente.
|
||||
Não foi possível acessar o arquivo de música de meditação. Verifique sua conexão com a internet e tente novamente.
|
||||
---
|
||||
[duration_5m]
|
||||
5 min
|
||||
@@ -100,6 +178,21 @@ Não foi possível acessar o servidor de música de meditação. Verifique as pe
|
||||
[duration_2h]
|
||||
2 h
|
||||
---
|
||||
[meditation_duration_setting]
|
||||
Meditation length
|
||||
---
|
||||
[meditation_duration_custom]
|
||||
Custom
|
||||
---
|
||||
[meditation_custom_minutes]
|
||||
Custom time
|
||||
---
|
||||
[meditation_extend_controls_label]
|
||||
Show add-time buttons during meditation
|
||||
---
|
||||
[finish_button]
|
||||
Finish
|
||||
---
|
||||
[breath_button]
|
||||
RESPIRAR
|
||||
---
|
||||
@@ -193,14 +286,11 @@ Aparência
|
||||
[settings_section_language]
|
||||
Idioma
|
||||
---
|
||||
[settings_tab_data]
|
||||
Dados
|
||||
---
|
||||
[settings_section_data]
|
||||
Dados
|
||||
---
|
||||
[settings_tab_about]
|
||||
Sobre
|
||||
About
|
||||
---
|
||||
[about_text]
|
||||
A quiet breathing companion for practice, habits, and sync.
|
||||
---
|
||||
[theme_label]
|
||||
Tema
|
||||
@@ -247,6 +337,21 @@ Pausa após rodada
|
||||
[advanced_session_controls_label]
|
||||
Controles avançados da sessão
|
||||
---
|
||||
[double_tap_to_breathe_label]
|
||||
Toque duplo para respirar
|
||||
---
|
||||
[double_tap_to_breathe_hint]
|
||||
Toque duas vezes na tela para respirar
|
||||
---
|
||||
[session_count_singular]
|
||||
%d sessão
|
||||
---
|
||||
[session_count_plural]
|
||||
%d sessões
|
||||
---
|
||||
[no_sessions]
|
||||
Sem sessões
|
||||
---
|
||||
[hold_display_label]
|
||||
Exibicao da retencao
|
||||
---
|
||||
@@ -260,7 +365,7 @@ Circulo
|
||||
Volume
|
||||
---
|
||||
[show_session_volume_control_label]
|
||||
Mostrar controle de volume nas sessões
|
||||
Mostrar controle de volume
|
||||
---
|
||||
[reset_to_defaults_label]
|
||||
Restaurar padrões
|
||||
@@ -486,7 +591,7 @@ Oceano
|
||||
Floresta
|
||||
---
|
||||
[theme_sunset]
|
||||
Pôr do sol
|
||||
Poente
|
||||
---
|
||||
[theme_lavender]
|
||||
Lavanda
|
||||
@@ -675,10 +780,10 @@ Nome
|
||||
Sublinhado
|
||||
---
|
||||
[habit_practice_list_title]
|
||||
Lista de práticas
|
||||
Dados de sessão
|
||||
---
|
||||
[habit_practice_list_info]
|
||||
Vincule este hábito às sessões de prática. Dias com sessões correspondentes aparecerão como concluídos e poderão abrir o editor de sessão.
|
||||
Escolha quais sessões de prática contam para este hábito. Dias correspondentes aparecem como concluídos e podem abrir o editor de sessão.
|
||||
---
|
||||
[habit_counting_title]
|
||||
Contagem
|
||||
@@ -713,6 +818,9 @@ Criar hábito
|
||||
[habit_stats_no_rounds_week]
|
||||
Nenhuma rodada na última semana
|
||||
---
|
||||
[habit_stats_no_rounds_month]
|
||||
Nenhuma rodada no último mês
|
||||
---
|
||||
[habit_stats_current_streak]
|
||||
Sequência atual
|
||||
---
|
||||
@@ -737,40 +845,12 @@ Retenção total
|
||||
[habit_stats_best_streak]
|
||||
Melhor sequência
|
||||
---
|
||||
[bottom_nav_customize_button]
|
||||
Personalizar navegação inferior
|
||||
[habit_stats_day_singular]
|
||||
%d dia
|
||||
---
|
||||
[bottom_nav_customize_title]
|
||||
Navegação inferior
|
||||
---
|
||||
[bottom_nav_add_button]
|
||||
Adicionar item
|
||||
---
|
||||
[bottom_nav_slot_1]
|
||||
Item 1
|
||||
---
|
||||
[bottom_nav_slot_2]
|
||||
Item 2
|
||||
---
|
||||
[bottom_nav_slot_3]
|
||||
Item 3
|
||||
---
|
||||
[bottom_nav_slot_4]
|
||||
Item 4
|
||||
---
|
||||
[bottom_nav_slot_5]
|
||||
Item 5
|
||||
---
|
||||
[bottom_nav_slot_6]
|
||||
Item 6
|
||||
---
|
||||
[bottom_nav_slot_7]
|
||||
Item 7
|
||||
---
|
||||
[bottom_nav_slot_8]
|
||||
Item 8
|
||||
---
|
||||
[reset_button]
|
||||
[habit_stats_day_plural]
|
||||
%d dias
|
||||
---[reset_button]
|
||||
Redefinir
|
||||
---
|
||||
[practice_guide_dropdown]
|
||||
@@ -779,9 +859,6 @@ Escolha a sua pratica aqui.
|
||||
[practice_guide_manual]
|
||||
Leia o tutorial antes de iniciar uma pratica para entender o exercicio completo.
|
||||
---
|
||||
[practice_guide_sun]
|
||||
Use a aba do sol quando estiver pronto para iniciar o exercicio.
|
||||
---
|
||||
[practice_guide_config]
|
||||
Altere a configuracao da pratica de acordo com as suas necessidades.
|
||||
---
|
||||
@@ -801,17 +878,75 @@ Veja suas estatisticas de habitos aqui.
|
||||
Navegação
|
||||
---
|
||||
[nav_mode_dropdown]
|
||||
Dropdown
|
||||
Menu
|
||||
---
|
||||
[nav_mode_tabbar]
|
||||
Abas
|
||||
---
|
||||
|
||||
[transition_label]
|
||||
Transition
|
||||
Transição
|
||||
[transition_none]
|
||||
None
|
||||
Nenhuma
|
||||
[transition_fade]
|
||||
Fade
|
||||
Desvanecer
|
||||
[theme_picker_title]
|
||||
Choose Theme
|
||||
Escolher tema
|
||||
[skip_button]
|
||||
Skip
|
||||
---
|
||||
[sync_public_id_full_title]
|
||||
Full Public ID
|
||||
---
|
||||
[sync_public_id_full_message]
|
||||
Use this if you need the full account identifier.
|
||||
---
|
||||
[sync_alias_button]
|
||||
Alias
|
||||
---
|
||||
[sync_alias_title]
|
||||
Choose Alias
|
||||
---
|
||||
[sync_alias_message]
|
||||
Pick a short alias for this account on the current sync server.
|
||||
---
|
||||
[sync_alias_rule]
|
||||
4-32 characters: lowercase letters, numbers, or underscore.
|
||||
---
|
||||
[sync_alias_register_button]
|
||||
Register Alias
|
||||
---
|
||||
[sync_alias_registered]
|
||||
Alias registered.
|
||||
---
|
||||
[sync_alias_failed]
|
||||
Could not register alias.
|
||||
---
|
||||
[sync_alias_change_title]
|
||||
Change Alias
|
||||
---
|
||||
[sync_alias_change_message]
|
||||
Change the short name for this account on this sync server.
|
||||
---
|
||||
[sync_alias_save_button]
|
||||
Save Alias
|
||||
---
|
||||
[sync_alias_saved]
|
||||
Alias saved
|
||||
---
|
||||
[notification_starting_seconds]
|
||||
Inicio: %ds
|
||||
---
|
||||
[notification_breathing_count]
|
||||
Inspire e expire: %d
|
||||
---
|
||||
[notification_hold_seconds]
|
||||
Segure: %ds
|
||||
---
|
||||
[notification_breath_in_seconds]
|
||||
Inspire: %ds
|
||||
---
|
||||
[notification_results]
|
||||
Results
|
||||
---
|
||||
---
|
||||
@@ -4,6 +4,9 @@ Inner Breeze
|
||||
[tab_history]
|
||||
История
|
||||
---
|
||||
[tab_profile]
|
||||
Profile
|
||||
---
|
||||
[tab_habits]
|
||||
Привычки
|
||||
---
|
||||
@@ -22,6 +25,24 @@ Inner Breeze
|
||||
[tab_manual]
|
||||
Обучение
|
||||
---
|
||||
[tab_pet]
|
||||
Pet
|
||||
---
|
||||
[profile_data_title]
|
||||
Data
|
||||
---
|
||||
[profile_data_button]
|
||||
Configure Data
|
||||
---
|
||||
[profile_habits_label]
|
||||
Habits
|
||||
---
|
||||
[profile_sessions_label]
|
||||
Sessions
|
||||
---
|
||||
[profile_storage_label]
|
||||
Storage
|
||||
---
|
||||
[tab_settings]
|
||||
Настройки
|
||||
---
|
||||
@@ -37,6 +58,63 @@ Inner Breeze
|
||||
[exercise_meditation]
|
||||
Медитация
|
||||
---
|
||||
[exercise_sun_salutation]
|
||||
Sun Salutation
|
||||
---
|
||||
[sun_salutation_work_in_progress]
|
||||
В работе
|
||||
---
|
||||
[sun_salutation_repetitions_label]
|
||||
Повторения
|
||||
---
|
||||
[sun_salutation_start_speed_label]
|
||||
Начальный темп
|
||||
---
|
||||
[sun_salutation_end_speed_label]
|
||||
Конечный темп
|
||||
---
|
||||
[sun_salutation_tempo_preview_label]
|
||||
Предпросмотр темпа
|
||||
---
|
||||
[sun_salutation_tempo_preview_hint]
|
||||
Первое повторение начинается медленнее, затем темп постепенно растет.
|
||||
---
|
||||
[sun_salutation_step_1]
|
||||
Шаг 1: поза горы
|
||||
---
|
||||
[sun_salutation_step_2]
|
||||
Шаг 2: вытяжение вверх
|
||||
---
|
||||
[sun_salutation_step_3]
|
||||
Шаг 3: наклон вперед стоя
|
||||
---
|
||||
[sun_salutation_step_4]
|
||||
Шаг 4: половинный подъем
|
||||
---
|
||||
[sun_salutation_step_5]
|
||||
Шаг 5: планка
|
||||
---
|
||||
[sun_salutation_step_6]
|
||||
Шаг 6: низкая планка
|
||||
---
|
||||
[sun_salutation_step_7]
|
||||
Шаг 7: собака мордой вверх
|
||||
---
|
||||
[sun_salutation_step_8]
|
||||
Шаг 8: собака мордой вниз
|
||||
---
|
||||
[sun_salutation_step_9]
|
||||
Шаг 9: половинный подъем
|
||||
---
|
||||
[sun_salutation_step_10]
|
||||
Шаг 10: наклон вперед стоя
|
||||
---
|
||||
[sun_salutation_step_11]
|
||||
Шаг 11: вытяжение вверх
|
||||
---
|
||||
[sun_salutation_step_12]
|
||||
Шаг 12: поза горы
|
||||
---
|
||||
[meditation_title]
|
||||
Медитация
|
||||
---
|
||||
@@ -103,6 +181,21 @@ Inner Breeze
|
||||
[duration_2h]
|
||||
2 ч
|
||||
---
|
||||
[meditation_duration_setting]
|
||||
Meditation length
|
||||
---
|
||||
[meditation_duration_custom]
|
||||
Custom
|
||||
---
|
||||
[meditation_custom_minutes]
|
||||
Custom time
|
||||
---
|
||||
[meditation_extend_controls_label]
|
||||
Show add-time buttons during meditation
|
||||
---
|
||||
[finish_button]
|
||||
Finish
|
||||
---
|
||||
[breath_button]
|
||||
ДЫШАТЬ
|
||||
---
|
||||
@@ -196,14 +289,11 @@ OK
|
||||
[settings_section_language]
|
||||
Язык
|
||||
---
|
||||
[settings_tab_data]
|
||||
Данные
|
||||
---
|
||||
[settings_section_data]
|
||||
Данные
|
||||
---
|
||||
[settings_tab_about]
|
||||
О приложении
|
||||
About
|
||||
---
|
||||
[about_text]
|
||||
A quiet breathing companion for practice, habits, and sync.
|
||||
---
|
||||
[theme_label]
|
||||
Тема
|
||||
@@ -304,6 +394,21 @@ OK
|
||||
[advanced_session_controls_label]
|
||||
Расширенное управление сессией
|
||||
---
|
||||
[double_tap_to_breathe_label]
|
||||
Двойное касание для вдоха
|
||||
---
|
||||
[double_tap_to_breathe_hint]
|
||||
Коснитесь экрана дважды, чтобы вдохнуть
|
||||
---
|
||||
[session_count_singular]
|
||||
%d сессия
|
||||
---
|
||||
[session_count_plural]
|
||||
%d сессий
|
||||
---
|
||||
[no_sessions]
|
||||
Нет сессий
|
||||
---
|
||||
[hold_display_label]
|
||||
Отображение задержки
|
||||
---
|
||||
@@ -317,7 +422,7 @@ OK
|
||||
Громкость
|
||||
---
|
||||
[show_session_volume_control_label]
|
||||
Показывать регулятор громкости в сеансах
|
||||
Показывать регулятор громкости
|
||||
---
|
||||
[reset_to_defaults_label]
|
||||
Сбросить настройки
|
||||
@@ -675,10 +780,10 @@ liboqs не собран для этой платформы.
|
||||
Подчеркивание
|
||||
---
|
||||
[habit_practice_list_title]
|
||||
Список практик
|
||||
Данные сессий из
|
||||
---
|
||||
[habit_practice_list_info]
|
||||
Свяжите эту привычку с сеансами практики. Дни с подходящими сеансами будут отмечены как выполненные и смогут открыть редактор сеанса.
|
||||
Выберите, какие сессии практик учитываются для этой привычки. Совпадающие дни отмечаются как выполненные и могут открыть редактор сессии.
|
||||
---
|
||||
[habit_counting_title]
|
||||
Подсчет
|
||||
@@ -713,6 +818,9 @@ liboqs не собран для этой платформы.
|
||||
[habit_stats_no_rounds_week]
|
||||
За последнюю неделю раундов нет
|
||||
---
|
||||
[habit_stats_no_rounds_month]
|
||||
За последний месяц раундов нет
|
||||
---
|
||||
[habit_stats_current_streak]
|
||||
Текущая серия
|
||||
---
|
||||
@@ -737,40 +845,12 @@ liboqs не собран для этой платформы.
|
||||
[habit_stats_best_streak]
|
||||
Лучшая серия
|
||||
---
|
||||
[bottom_nav_customize_button]
|
||||
Настроить нижнюю навигацию
|
||||
[habit_stats_day_singular]
|
||||
%d день
|
||||
---
|
||||
[bottom_nav_customize_title]
|
||||
Нижняя навигация
|
||||
---
|
||||
[bottom_nav_add_button]
|
||||
Добавить пункт
|
||||
---
|
||||
[bottom_nav_slot_1]
|
||||
Пункт 1
|
||||
---
|
||||
[bottom_nav_slot_2]
|
||||
Пункт 2
|
||||
---
|
||||
[bottom_nav_slot_3]
|
||||
Пункт 3
|
||||
---
|
||||
[bottom_nav_slot_4]
|
||||
Пункт 4
|
||||
---
|
||||
[bottom_nav_slot_5]
|
||||
Пункт 5
|
||||
---
|
||||
[bottom_nav_slot_6]
|
||||
Пункт 6
|
||||
---
|
||||
[bottom_nav_slot_7]
|
||||
Пункт 7
|
||||
---
|
||||
[bottom_nav_slot_8]
|
||||
Пункт 8
|
||||
---
|
||||
[reset_button]
|
||||
[habit_stats_day_plural]
|
||||
%d дней
|
||||
---[reset_button]
|
||||
Сбросить
|
||||
---
|
||||
[practice_guide_dropdown]
|
||||
@@ -779,9 +859,6 @@ liboqs не собран для этой платформы.
|
||||
[practice_guide_manual]
|
||||
Прочитайте руководство перед началом практики, чтобы понять упражнение полностью.
|
||||
---
|
||||
[practice_guide_sun]
|
||||
Используйте вкладку с солнцем, когда будете готовы начать упражнение.
|
||||
---
|
||||
[practice_guide_config]
|
||||
Измените настройки практики под свои требования.
|
||||
---
|
||||
@@ -808,10 +885,68 @@ liboqs не собран для этой платформы.
|
||||
---
|
||||
|
||||
[transition_label]
|
||||
Transition
|
||||
Переход
|
||||
[transition_none]
|
||||
None
|
||||
Нет
|
||||
[transition_fade]
|
||||
Fade
|
||||
Плавно
|
||||
[theme_picker_title]
|
||||
Choose Theme
|
||||
Выбор темы
|
||||
[skip_button]
|
||||
Skip
|
||||
---
|
||||
[sync_public_id_full_title]
|
||||
Full Public ID
|
||||
---
|
||||
[sync_public_id_full_message]
|
||||
Use this if you need the full account identifier.
|
||||
---
|
||||
[sync_alias_button]
|
||||
Alias
|
||||
---
|
||||
[sync_alias_title]
|
||||
Choose Alias
|
||||
---
|
||||
[sync_alias_message]
|
||||
Pick a short alias for this account on the current sync server.
|
||||
---
|
||||
[sync_alias_rule]
|
||||
4-32 characters: lowercase letters, numbers, or underscore.
|
||||
---
|
||||
[sync_alias_register_button]
|
||||
Register Alias
|
||||
---
|
||||
[sync_alias_registered]
|
||||
Alias registered.
|
||||
---
|
||||
[sync_alias_failed]
|
||||
Could not register alias.
|
||||
---
|
||||
[sync_alias_change_title]
|
||||
Change Alias
|
||||
---
|
||||
[sync_alias_change_message]
|
||||
Change the short name for this account on this sync server.
|
||||
---
|
||||
[sync_alias_save_button]
|
||||
Save Alias
|
||||
---
|
||||
[sync_alias_saved]
|
||||
Alias saved
|
||||
---
|
||||
[notification_starting_seconds]
|
||||
Старт: %dс
|
||||
---
|
||||
[notification_breathing_count]
|
||||
Вдох и выдох: %d
|
||||
---
|
||||
[notification_hold_seconds]
|
||||
Задержка: %dс
|
||||
---
|
||||
[notification_breath_in_seconds]
|
||||
Вдох: %dс
|
||||
---
|
||||
[notification_results]
|
||||
Results
|
||||
---
|
||||
---
|
||||
@@ -4,6 +4,9 @@
|
||||
[tab_history]
|
||||
历史
|
||||
---
|
||||
[tab_profile]
|
||||
Profile
|
||||
---
|
||||
[tab_habits]
|
||||
习惯
|
||||
---
|
||||
@@ -22,6 +25,24 @@
|
||||
[tab_manual]
|
||||
教程
|
||||
---
|
||||
[tab_pet]
|
||||
Pet
|
||||
---
|
||||
[profile_data_title]
|
||||
Data
|
||||
---
|
||||
[profile_data_button]
|
||||
Configure Data
|
||||
---
|
||||
[profile_habits_label]
|
||||
Habits
|
||||
---
|
||||
[profile_sessions_label]
|
||||
Sessions
|
||||
---
|
||||
[profile_storage_label]
|
||||
Storage
|
||||
---
|
||||
[tab_settings]
|
||||
设置
|
||||
---
|
||||
@@ -37,6 +58,63 @@ Wim Hof 呼吸
|
||||
[exercise_meditation]
|
||||
冥想
|
||||
---
|
||||
[exercise_sun_salutation]
|
||||
Sun Salutation
|
||||
---
|
||||
[sun_salutation_work_in_progress]
|
||||
进行中
|
||||
---
|
||||
[sun_salutation_repetitions_label]
|
||||
重复次数
|
||||
---
|
||||
[sun_salutation_start_speed_label]
|
||||
开始节奏
|
||||
---
|
||||
[sun_salutation_end_speed_label]
|
||||
结束节奏
|
||||
---
|
||||
[sun_salutation_tempo_preview_label]
|
||||
节奏预览
|
||||
---
|
||||
[sun_salutation_tempo_preview_hint]
|
||||
第一轮会慢一些开始,然后节奏逐渐加快。
|
||||
---
|
||||
[sun_salutation_step_1]
|
||||
第1步:山式
|
||||
---
|
||||
[sun_salutation_step_2]
|
||||
第2步:上举礼
|
||||
---
|
||||
[sun_salutation_step_3]
|
||||
第3步:站立前屈
|
||||
---
|
||||
[sun_salutation_step_4]
|
||||
第4步:半前屈
|
||||
---
|
||||
[sun_salutation_step_5]
|
||||
第5步:平板式
|
||||
---
|
||||
[sun_salutation_step_6]
|
||||
第6步:低平板式
|
||||
---
|
||||
[sun_salutation_step_7]
|
||||
第7步:上犬式
|
||||
---
|
||||
[sun_salutation_step_8]
|
||||
第8步:下犬式
|
||||
---
|
||||
[sun_salutation_step_9]
|
||||
第9步:半前屈
|
||||
---
|
||||
[sun_salutation_step_10]
|
||||
第10步:站立前屈
|
||||
---
|
||||
[sun_salutation_step_11]
|
||||
第11步:上举礼
|
||||
---
|
||||
[sun_salutation_step_12]
|
||||
第12步:山式
|
||||
---
|
||||
[meditation_title]
|
||||
冥想
|
||||
---
|
||||
@@ -100,6 +178,21 @@ Wim Hof 呼吸
|
||||
[duration_2h]
|
||||
2小时
|
||||
---
|
||||
[meditation_duration_setting]
|
||||
Meditation length
|
||||
---
|
||||
[meditation_duration_custom]
|
||||
Custom
|
||||
---
|
||||
[meditation_custom_minutes]
|
||||
Custom time
|
||||
---
|
||||
[meditation_extend_controls_label]
|
||||
Show add-time buttons during meditation
|
||||
---
|
||||
[finish_button]
|
||||
Finish
|
||||
---
|
||||
[breath_button]
|
||||
呼吸
|
||||
---
|
||||
@@ -193,14 +286,11 @@ Wim Hof 呼吸
|
||||
[settings_section_language]
|
||||
语言
|
||||
---
|
||||
[settings_tab_data]
|
||||
数据
|
||||
---
|
||||
[settings_section_data]
|
||||
数据
|
||||
---
|
||||
[settings_tab_about]
|
||||
关于
|
||||
About
|
||||
---
|
||||
[about_text]
|
||||
A quiet breathing companion for practice, habits, and sync.
|
||||
---
|
||||
[theme_label]
|
||||
主题
|
||||
@@ -247,6 +337,21 @@ Wim Hof 呼吸
|
||||
[advanced_session_controls_label]
|
||||
高级练习控制
|
||||
---
|
||||
[double_tap_to_breathe_label]
|
||||
双击呼吸
|
||||
---
|
||||
[double_tap_to_breathe_hint]
|
||||
双击屏幕开始呼吸
|
||||
---
|
||||
[session_count_singular]
|
||||
%d次会话
|
||||
---
|
||||
[session_count_plural]
|
||||
%d次会话
|
||||
---
|
||||
[no_sessions]
|
||||
没有会话
|
||||
---
|
||||
[hold_display_label]
|
||||
屏息显示
|
||||
---
|
||||
@@ -260,7 +365,7 @@ Wim Hof 呼吸
|
||||
音量
|
||||
---
|
||||
[show_session_volume_control_label]
|
||||
在会话中显示音量控制
|
||||
显示音量控制
|
||||
---
|
||||
[reset_to_defaults_label]
|
||||
恢复默认
|
||||
@@ -673,10 +778,10 @@ liboqs 未为此目标构建。
|
||||
下划线
|
||||
---
|
||||
[habit_practice_list_title]
|
||||
练习列表
|
||||
会话数据来自
|
||||
---
|
||||
[habit_practice_list_info]
|
||||
将此习惯关联到练习会话。有匹配会话的日期会显示为已完成,并可打开会话编辑器。
|
||||
选择哪些练习会话计入此习惯。匹配的日期会显示为已完成,并可打开会话编辑器。
|
||||
---
|
||||
[habit_counting_title]
|
||||
计数
|
||||
@@ -711,6 +816,9 @@ liboqs 未为此目标构建。
|
||||
[habit_stats_no_rounds_week]
|
||||
过去一周没有轮次
|
||||
---
|
||||
[habit_stats_no_rounds_month]
|
||||
过去一个月没有轮次
|
||||
---
|
||||
[habit_stats_current_streak]
|
||||
当前连续记录
|
||||
---
|
||||
@@ -735,40 +843,12 @@ Wim Hof 屏息轮次
|
||||
[habit_stats_best_streak]
|
||||
最佳连续记录
|
||||
---
|
||||
[bottom_nav_customize_button]
|
||||
自定义底部导航
|
||||
[habit_stats_day_singular]
|
||||
%d天
|
||||
---
|
||||
[bottom_nav_customize_title]
|
||||
底部导航
|
||||
---
|
||||
[bottom_nav_add_button]
|
||||
添加项目
|
||||
---
|
||||
[bottom_nav_slot_1]
|
||||
项目 1
|
||||
---
|
||||
[bottom_nav_slot_2]
|
||||
项目 2
|
||||
---
|
||||
[bottom_nav_slot_3]
|
||||
项目 3
|
||||
---
|
||||
[bottom_nav_slot_4]
|
||||
项目 4
|
||||
---
|
||||
[bottom_nav_slot_5]
|
||||
项目 5
|
||||
---
|
||||
[bottom_nav_slot_6]
|
||||
项目 6
|
||||
---
|
||||
[bottom_nav_slot_7]
|
||||
项目 7
|
||||
---
|
||||
[bottom_nav_slot_8]
|
||||
项目 8
|
||||
---
|
||||
[reset_button]
|
||||
[habit_stats_day_plural]
|
||||
%d天
|
||||
---[reset_button]
|
||||
重置
|
||||
---
|
||||
[practice_guide_dropdown]
|
||||
@@ -777,9 +857,6 @@ Wim Hof 屏息轮次
|
||||
[practice_guide_manual]
|
||||
开始练习前请先阅读教程,了解完整的练习流程。
|
||||
---
|
||||
[practice_guide_sun]
|
||||
准备开始练习时,请使用太阳标签。
|
||||
---
|
||||
[practice_guide_config]
|
||||
根据你的需要调整练习配置。
|
||||
---
|
||||
@@ -806,10 +883,68 @@ Wim Hof 屏息轮次
|
||||
---
|
||||
|
||||
[transition_label]
|
||||
Transition
|
||||
过渡
|
||||
[transition_none]
|
||||
None
|
||||
无
|
||||
[transition_fade]
|
||||
Fade
|
||||
淡入淡出
|
||||
[theme_picker_title]
|
||||
Choose Theme
|
||||
选择主题
|
||||
[skip_button]
|
||||
Skip
|
||||
---
|
||||
[sync_public_id_full_title]
|
||||
Full Public ID
|
||||
---
|
||||
[sync_public_id_full_message]
|
||||
Use this if you need the full account identifier.
|
||||
---
|
||||
[sync_alias_button]
|
||||
Alias
|
||||
---
|
||||
[sync_alias_title]
|
||||
Choose Alias
|
||||
---
|
||||
[sync_alias_message]
|
||||
Pick a short alias for this account on the current sync server.
|
||||
---
|
||||
[sync_alias_rule]
|
||||
4-32 characters: lowercase letters, numbers, or underscore.
|
||||
---
|
||||
[sync_alias_register_button]
|
||||
Register Alias
|
||||
---
|
||||
[sync_alias_registered]
|
||||
Alias registered.
|
||||
---
|
||||
[sync_alias_failed]
|
||||
Could not register alias.
|
||||
---
|
||||
[sync_alias_change_title]
|
||||
Change Alias
|
||||
---
|
||||
[sync_alias_change_message]
|
||||
Change the short name for this account on this sync server.
|
||||
---
|
||||
[sync_alias_save_button]
|
||||
Save Alias
|
||||
---
|
||||
[sync_alias_saved]
|
||||
Alias saved
|
||||
---
|
||||
[notification_starting_seconds]
|
||||
开始: %d秒
|
||||
---
|
||||
[notification_breathing_count]
|
||||
吸气和呼气: %d
|
||||
---
|
||||
[notification_hold_seconds]
|
||||
屏息: %d秒
|
||||
---
|
||||
[notification_breath_in_seconds]
|
||||
吸气: %d秒
|
||||
---
|
||||
[notification_results]
|
||||
Results
|
||||
---
|
||||
---
|
||||
|
Before Width: | Height: | Size: 523 B After Width: | Height: | Size: 522 B |
|
Before Width: | Height: | Size: 179 B After Width: | Height: | Size: 176 B |
|
Before Width: | Height: | Size: 282 B After Width: | Height: | Size: 285 B |
|
Before Width: | Height: | Size: 383 B After Width: | Height: | Size: 386 B |
|
Before Width: | Height: | Size: 658 B After Width: | Height: | Size: 658 B |
@@ -4,7 +4,7 @@ set -e
|
||||
|
||||
AVD_NAME="${1:-inbe-test}"
|
||||
|
||||
echo "📱 Creating AVD: $AVD_NAME (Pixel 8 Pro - Android 14)"
|
||||
echo "📱 Creating AVD: $AVD_NAME (Pixel 8 Pro - Android 14, punch-hole test profile)"
|
||||
|
||||
# Check for Android SDK location
|
||||
if [ -z "$ANDROID_SDK_ROOT" ] && [ -z "$ANDROID_HOME" ]; then
|
||||
@@ -177,5 +177,6 @@ echo "✅ Done!"
|
||||
echo " Device: Pixel 8 Pro"
|
||||
echo " Android: 14 (API $ANDROID_API)"
|
||||
echo " ABI: $ABI_DISPLAY"
|
||||
echo " Cutout: punch-hole overlay enabled by scripts/emulator.sh after boot"
|
||||
echo ""
|
||||
echo " Run with: bash scripts/emulator.sh"
|
||||
@@ -12,6 +12,14 @@ fi
|
||||
|
||||
# Set up writable SDK location
|
||||
PERSISTENT_SDK_ROOT="$HOME/.android-sdk-writable"
|
||||
ORIGINAL_SDK_ROOT="${ANDROID_SDK_ROOT:-$ANDROID_HOME}"
|
||||
|
||||
mkdir -p "$PERSISTENT_SDK_ROOT"
|
||||
for component in build-tools cmake cmdline-tools emulator licenses ndk platforms platform-tools tools; do
|
||||
if [ -n "$ORIGINAL_SDK_ROOT" ] && [ -e "$ORIGINAL_SDK_ROOT/$component" ] && [ ! -e "$PERSISTENT_SDK_ROOT/$component" ]; then
|
||||
ln -sf "$ORIGINAL_SDK_ROOT/$component" "$PERSISTENT_SDK_ROOT/$component"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -d "$PERSISTENT_SDK_ROOT" ] && [ -d "$PERSISTENT_SDK_ROOT/avd/$AVD_NAME.avd" ]; then
|
||||
export ANDROID_SDK_ROOT="$PERSISTENT_SDK_ROOT"
|
||||
@@ -86,6 +94,18 @@ while ! "$ADB_CMD" -e shell getprop sys.boot_completed 2>/dev/null | grep -q "1"
|
||||
done
|
||||
|
||||
echo "✅ Pixel 8 Pro emulator ready!"
|
||||
|
||||
echo "🎯 Enabling punch-hole display cutout overlay if available..."
|
||||
if "$ADB_CMD" -e shell cmd overlay list 2>/dev/null | grep -q "com.android.internal.display.cutout.emulation.hole"; then
|
||||
"$ADB_CMD" -e shell cmd overlay enable --user 0 com.android.internal.display.cutout.emulation.hole || true
|
||||
elif "$ADB_CMD" -e shell cmd overlay list 2>/dev/null | grep -q "com.android.internal.display.cutout.emulation.corner"; then
|
||||
"$ADB_CMD" -e shell cmd overlay enable --user 0 com.android.internal.display.cutout.emulation.corner || true
|
||||
elif "$ADB_CMD" -e shell cmd overlay list 2>/dev/null | grep -q "com.android.internal.display.cutout.emulation.tall"; then
|
||||
"$ADB_CMD" -e shell cmd overlay enable --user 0 com.android.internal.display.cutout.emulation.tall || true
|
||||
else
|
||||
echo " No display cutout emulation overlay found on this image"
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "📱 Device info:"
|
||||
"$ADB_CMD" -e shell getprop ro.product.model
|
||||
|
||||
|
Before Width: | Height: | Size: 713 B After Width: | Height: | Size: 718 B |
|
Before Width: | Height: | Size: 282 B After Width: | Height: | Size: 285 B |
|
Before Width: | Height: | Size: 720 B After Width: | Height: | Size: 720 B |
|
Before Width: | Height: | Size: 1009 B After Width: | Height: | Size: 1008 B |
|
Before Width: | Height: | Size: 680 B After Width: | Height: | Size: 683 B |
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,240 @@
|
||||
#!/usr/bin/env tclsh
|
||||
|
||||
set script_dir [file dirname [file normalize [info script]]]
|
||||
set root_dir [file dirname $script_dir]
|
||||
set out_dir [file join $root_dir build site]
|
||||
set web_dir [file join $root_dir build dist web]
|
||||
|
||||
proc read_file {path} {
|
||||
set fh [open $path r]
|
||||
fconfigure $fh -encoding utf-8
|
||||
set data [read $fh]
|
||||
close $fh
|
||||
return $data
|
||||
}
|
||||
|
||||
proc write_file {path data} {
|
||||
file mkdir [file dirname $path]
|
||||
set fh [open $path w]
|
||||
fconfigure $fh -encoding utf-8
|
||||
puts -nonewline $fh $data
|
||||
close $fh
|
||||
}
|
||||
|
||||
proc app_version {} {
|
||||
global root_dir
|
||||
set path [file join $root_dir src core version.h]
|
||||
foreach line [split [read_file $path] "\n"] {
|
||||
if {[regexp {^#define INBE_VERSION_STRING "([^"]+)"} $line -> version]} {
|
||||
return $version
|
||||
}
|
||||
}
|
||||
error "could not read app version from $path"
|
||||
}
|
||||
|
||||
proc expand_text {text version} {
|
||||
return [string map [list "\${version}" $version] $text]
|
||||
}
|
||||
|
||||
proc copy_path {src dst} {
|
||||
if {![file exists $src]} {
|
||||
error "required path missing: $src"
|
||||
}
|
||||
file mkdir [file dirname $dst]
|
||||
file copy -force $src $dst
|
||||
}
|
||||
|
||||
proc copy_template_path {src dst version} {
|
||||
set ext [string tolower [file extension $src]]
|
||||
if {$ext in {.html .htm .txt .xml .json .css .js}} {
|
||||
write_file $dst [expand_text [read_file $src] $version]
|
||||
} else {
|
||||
copy_path $src $dst
|
||||
}
|
||||
}
|
||||
|
||||
proc copy_dir_template {src dst version} {
|
||||
if {![file isdirectory $src]} {
|
||||
error "required directory missing: $src"
|
||||
}
|
||||
foreach item [glob -nocomplain -directory $src *] {
|
||||
set target [file join $dst [file tail $item]]
|
||||
if {[file isdirectory $item]} {
|
||||
copy_dir_template $item $target $version
|
||||
} else {
|
||||
copy_template_path $item $target $version
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
proc copy_dir_contents {src dst} {
|
||||
if {![file isdirectory $src]} {
|
||||
error "required directory missing: $src"
|
||||
}
|
||||
file mkdir $dst
|
||||
foreach item [glob -nocomplain -directory $src *] {
|
||||
file copy -force $item $dst
|
||||
}
|
||||
}
|
||||
|
||||
proc web_app_csp_html {html} {
|
||||
set csp "default-src 'self' data: blob:; connect-src 'self' https://api.waozi.xyz wss://api.waozi.xyz; script-src 'self' 'unsafe-eval' 'unsafe-inline' https://telegram.org; style-src 'self' 'unsafe-inline'; worker-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob:; frame-src https:; img-src data: https:; media-src https:; object-src 'none'"
|
||||
set meta "<meta http-equiv=\"Content-Security-Policy\" content=\"$csp\">"
|
||||
set version [clock seconds]
|
||||
regsub -all {src="index\.js(\?v=[0-9A-Za-z._-]+)?\"} $html "src=\"index.js?v=$version\"" html
|
||||
if {[regsub {<meta http-equiv="Content-Security-Policy"[^>]*>} $html $meta html]} {
|
||||
return $html
|
||||
}
|
||||
if {[regsub {(<meta charset="[^"]+"[^>]*>)} $html "\\1\n $meta" html]} {
|
||||
return $html
|
||||
}
|
||||
regsub {</head>} $html " $meta\n </head>" html
|
||||
return $html
|
||||
}
|
||||
|
||||
proc telegram_web_app_html {html} {
|
||||
set viewport "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, shrink-to-fit=no, viewport-fit=cover\">"
|
||||
if {![regsub {<meta name="viewport"[^>]*>} $html $viewport html]} {
|
||||
regsub {</head>} $html "\t$viewport\n</head>" html
|
||||
}
|
||||
|
||||
set css {
|
||||
html, body {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 100%;
|
||||
overflow: hidden;
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
user-select: none;
|
||||
-webkit-user-select: none;
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
overscroll-behavior: none;
|
||||
touch-action: none;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--tg-theme-bg-color, #181818);
|
||||
color: var(--tg-theme-text-color, #ffffff);
|
||||
}
|
||||
|
||||
canvas,
|
||||
canvas.emscripten {
|
||||
display: block;
|
||||
width: 100vw !important;
|
||||
height: 100vh !important;
|
||||
height: 100dvh !important;
|
||||
touch-action: none;
|
||||
}
|
||||
}
|
||||
if {![regsub {</style>} $html "$css\n </style>" html]} {
|
||||
regsub {</head>} $html "<style>$css\n </style>\n</head>" html
|
||||
}
|
||||
|
||||
set script {
|
||||
<script src="https://telegram.org/js/telegram-web-app.js"></script>
|
||||
<script>
|
||||
(function() {
|
||||
var tg = window.Telegram && window.Telegram.WebApp;
|
||||
if (tg) {
|
||||
tg.ready();
|
||||
tg.expand();
|
||||
if (tg.disableVerticalSwipes) tg.disableVerticalSwipes();
|
||||
if (tg.setBackgroundColor) {
|
||||
tg.setBackgroundColor((tg.themeParams && tg.themeParams.bg_color) || '#181818');
|
||||
}
|
||||
if (tg.setHeaderColor) {
|
||||
tg.setHeaderColor((tg.themeParams && tg.themeParams.bg_color) || '#181818');
|
||||
}
|
||||
}
|
||||
|
||||
document.addEventListener('touchmove', function(event) {
|
||||
event.preventDefault();
|
||||
}, { passive: false });
|
||||
|
||||
document.addEventListener('gesturestart', function(event) {
|
||||
event.preventDefault();
|
||||
});
|
||||
})();
|
||||
</script>
|
||||
}
|
||||
set script_tag [string first "<script>" $html]
|
||||
if {$script_tag >= 0} {
|
||||
set before [string range $html 0 [expr {$script_tag - 1}]]
|
||||
set after [string range $html $script_tag end]
|
||||
set html "$before$script\n $after"
|
||||
} else {
|
||||
regsub {</body>} $html "$script\n </body>" html
|
||||
}
|
||||
return $html
|
||||
}
|
||||
|
||||
proc require_output {path} {
|
||||
global out_dir
|
||||
if {![file exists [file join $out_dir $path]]} {
|
||||
error "required output missing: $path"
|
||||
}
|
||||
}
|
||||
|
||||
proc main {} {
|
||||
global root_dir script_dir out_dir web_dir
|
||||
set version [app_version]
|
||||
|
||||
file delete -force $out_dir
|
||||
file mkdir $out_dir
|
||||
copy_dir_contents [file join $script_dir css] [file join $out_dir css]
|
||||
copy_path [file join $script_dir themes inbe.css] [file join $out_dir theme.css]
|
||||
write_file [file join $out_dir style.css] "@import url('/css/base.css');\n@import url('/css/components.css');\n@import url('/theme.css');\n"
|
||||
copy_dir_template [file join $script_dir static] $out_dir $version
|
||||
write_file [file join $out_dir index.html] [expand_text [read_file [file join $script_dir index.html]] $version]
|
||||
|
||||
foreach pair {
|
||||
{web-assets web-assets}
|
||||
{site-icons site-icons}
|
||||
} {
|
||||
lassign $pair src dst
|
||||
copy_dir_contents [file join $root_dir $src] [file join $out_dir $dst]
|
||||
}
|
||||
|
||||
copy_dir_contents $web_dir [file join $out_dir build web]
|
||||
set web_index [file join $out_dir build web index.html]
|
||||
write_file $web_index [web_app_csp_html [read_file $web_index]]
|
||||
|
||||
copy_dir_contents [file join $out_dir build web] [file join $out_dir build telegram]
|
||||
set telegram_index [file join $out_dir build telegram index.html]
|
||||
write_file $telegram_index [telegram_web_app_html [read_file $telegram_index]]
|
||||
|
||||
foreach path {
|
||||
index.html
|
||||
privacy.html
|
||||
delete-account.html
|
||||
delete-account/index.html
|
||||
legacy-converter.html
|
||||
manifest.json
|
||||
robots.txt
|
||||
sitemap.xml
|
||||
og.jpg
|
||||
web-assets/dl/inbe-meditation-audio-v1.zip
|
||||
web-assets/icons/inbe.png
|
||||
web-assets/icons/github.png
|
||||
web-assets/icons/itch.png
|
||||
build/web/index.html
|
||||
build/web/index.js
|
||||
build/web/index.wasm
|
||||
build/telegram/index.html
|
||||
build/telegram/index.js
|
||||
build/telegram/index.wasm
|
||||
site-icons/favicon-32x32.png
|
||||
css/base.css
|
||||
css/components.css
|
||||
theme.css
|
||||
} {
|
||||
require_output $path
|
||||
}
|
||||
puts "built Inbe site at $out_dir"
|
||||
}
|
||||
|
||||
if {[catch {main} message]} {
|
||||
puts stderr "Error: $message"
|
||||
exit 1
|
||||
}
|
||||
@@ -0,0 +1,203 @@
|
||||
@font-face {
|
||||
font-family: departure;
|
||||
src: url('/assets/DepartureMono-Regular.otf');
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
:root {
|
||||
--page-bg: #000000;
|
||||
--page-tile: url('/icons/tile.png');
|
||||
--page-tile-opacity: 0.32;
|
||||
--panel-bg: #ffffea;
|
||||
--dark: #557777;
|
||||
--shadow: #000000;
|
||||
--light: #ffffff;
|
||||
--button-bg: #d9d9d9;
|
||||
--button-highlight: #ffffff;
|
||||
--button-inset: #ffffff;
|
||||
--link: #1133aa;
|
||||
--link-hover: #0044cc;
|
||||
--ink: #172020;
|
||||
--muted: color-mix(in srgb, var(--dark) 74%, #ffffff);
|
||||
--panel-shadow: rgba(0, 0, 0, 0.34);
|
||||
--font-main: departure, monospace;
|
||||
}
|
||||
|
||||
html,
|
||||
body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--page-bg);
|
||||
min-height: 100%;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
color: var(--ink);
|
||||
cursor: url('/cursors/arrow.png') 0 0, auto;
|
||||
}
|
||||
|
||||
body::before {
|
||||
content: "";
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 0;
|
||||
background-image: var(--page-tile);
|
||||
background-repeat: repeat;
|
||||
background-size: 128px 128px;
|
||||
image-rendering: pixelated;
|
||||
opacity: var(--page-tile-opacity);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.content {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
line-height: 1.52;
|
||||
margin: 24px auto;
|
||||
padding: 28px;
|
||||
font-family: var(--font-main);
|
||||
font-size: 16px;
|
||||
background-color: var(--panel-bg);
|
||||
max-width: 960px;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid var(--dark);
|
||||
box-shadow:
|
||||
inset 1px 1px 0 0 var(--button-highlight),
|
||||
4px 4px 0 0 var(--panel-shadow);
|
||||
}
|
||||
|
||||
section {
|
||||
margin-bottom: 56px;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
color: var(--dark);
|
||||
line-height: 1.15;
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
h1 {
|
||||
margin: 0 0 12px;
|
||||
font-size: 32px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
p {
|
||||
max-width: 68ch;
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
image-rendering: pixelated;
|
||||
}
|
||||
|
||||
a {
|
||||
font-family: var(--font-main);
|
||||
color: var(--link);
|
||||
text-decoration: none;
|
||||
cursor: url('/cursors/sight.png') 0 0, pointer;
|
||||
}
|
||||
|
||||
a:hover {
|
||||
color: var(--link-hover);
|
||||
}
|
||||
|
||||
a:active {
|
||||
position: relative;
|
||||
top: 1px;
|
||||
left: 1px;
|
||||
}
|
||||
|
||||
button,
|
||||
.tk-button {
|
||||
display: inline-block;
|
||||
color: #000000;
|
||||
font-family: var(--font-main);
|
||||
font-size: 14px;
|
||||
padding: 6px 12px;
|
||||
cursor: url('/cursors/sight.png') 0 0, pointer;
|
||||
outline: none;
|
||||
text-decoration: none;
|
||||
background-color: var(--button-bg);
|
||||
border: 2px solid var(--button-highlight);
|
||||
border-right-color: var(--dark);
|
||||
border-bottom-color: var(--dark);
|
||||
border-radius: 6px;
|
||||
box-shadow:
|
||||
1px 1px 0 0 var(--shadow),
|
||||
inset 1px 1px 0 0 var(--button-inset);
|
||||
transition: background-color 0.12s ease, transform 0.08s ease;
|
||||
}
|
||||
|
||||
button:active,
|
||||
.tk-button:active {
|
||||
border-color: var(--dark);
|
||||
border-right-color: var(--button-highlight);
|
||||
border-bottom-color: var(--button-highlight);
|
||||
box-shadow:
|
||||
1px 1px 0 0 var(--button-highlight),
|
||||
inset 1px 1px 0 0 var(--shadow);
|
||||
}
|
||||
|
||||
button:hover,
|
||||
.tk-button:hover {
|
||||
background-color: var(--button-highlight);
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="file"] {
|
||||
font-family: var(--font-main);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
input[type="text"] {
|
||||
background-color: #ffffff;
|
||||
color: #000000;
|
||||
padding: 6px 8px;
|
||||
outline: none;
|
||||
border: 2px solid var(--dark);
|
||||
border-right-color: var(--button-highlight);
|
||||
border-bottom-color: var(--button-highlight);
|
||||
box-shadow:
|
||||
inset 1px 1px 0 0 var(--shadow),
|
||||
1px 1px 0 0 var(--button-highlight);
|
||||
cursor: url('/cursors/reading.png') 8 8, text;
|
||||
}
|
||||
|
||||
footer {
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
footer p {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.content {
|
||||
padding: 16px;
|
||||
margin: 8px;
|
||||
}
|
||||
|
||||
section {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 26px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,464 @@
|
||||
.hero {
|
||||
text-align: center;
|
||||
padding: 8px 0 4px;
|
||||
}
|
||||
|
||||
.hero img {
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.hero .tk-img {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.version {
|
||||
display: inline-block;
|
||||
font-size: 13px;
|
||||
font-weight: bold;
|
||||
color: var(--dark);
|
||||
margin: 8px 0 16px;
|
||||
padding: 2px 8px;
|
||||
background: var(--button-bg);
|
||||
border: 1px solid var(--dark);
|
||||
border-radius: 999px;
|
||||
opacity: 0.86;
|
||||
}
|
||||
|
||||
.minor-link {
|
||||
text-align: center;
|
||||
margin-top: 16px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.tk-img {
|
||||
border: 1px solid var(--dark);
|
||||
border-right-color: var(--button-highlight);
|
||||
border-bottom-color: var(--button-highlight);
|
||||
border-radius: 6px;
|
||||
box-shadow:
|
||||
inset 1px 1px 0 0 var(--shadow),
|
||||
1px 1px 0 0 var(--button-highlight);
|
||||
}
|
||||
|
||||
.pfp-img {
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
border-radius: 0;
|
||||
margin: 0 auto 32px;
|
||||
display: block;
|
||||
image-rendering: pixelated;
|
||||
}
|
||||
|
||||
.section-icon {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.grid {
|
||||
gap: 16px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.project-card {
|
||||
width: 320px;
|
||||
height: 320px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
align-items: flex-start;
|
||||
text-align: left;
|
||||
padding: 24px;
|
||||
background: var(--card-bg, #d8d8c8);
|
||||
border: 2px solid;
|
||||
border-color: var(--button-highlight) var(--dark) var(--dark) var(--button-highlight);
|
||||
border-radius: 6px;
|
||||
box-shadow: 2px 2px 0 var(--shadow), inset 1px 1px 0 var(--button-inset);
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
box-sizing: border-box;
|
||||
transition: background-color 0.12s ease, transform 0.08s ease, box-shadow 0.08s ease;
|
||||
}
|
||||
|
||||
.project-card img {
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.project-card h2 {
|
||||
margin: 0 0 12px;
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
.project-card p {
|
||||
margin: 0;
|
||||
flex-grow: 1;
|
||||
font-size: 15px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.project-card:hover {
|
||||
background: var(--card-hover-bg, #e0e0d0);
|
||||
color: var(--dark);
|
||||
}
|
||||
|
||||
.project-card:active {
|
||||
background: var(--card-active-bg, #c8c8b8);
|
||||
transform: translate(1px, 1px);
|
||||
box-shadow: 1px 1px 0 var(--shadow), inset 1px 1px 0 var(--button-inset);
|
||||
}
|
||||
|
||||
.platform-buttons {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 12px;
|
||||
justify-content: center;
|
||||
margin: 20px 0;
|
||||
}
|
||||
|
||||
.platform-btn {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
padding: 14px 10px;
|
||||
background-color: var(--button-bg);
|
||||
border: 2px solid var(--button-highlight);
|
||||
border-right-color: var(--dark);
|
||||
border-bottom-color: var(--dark);
|
||||
box-shadow:
|
||||
1px 1px 0 0 var(--shadow),
|
||||
inset 1px 1px 0 0 var(--button-inset);
|
||||
text-decoration: none;
|
||||
color: var(--dark);
|
||||
border-radius: 6px;
|
||||
transition: transform 0.08s ease, box-shadow 0.08s ease, background-color 0.12s ease;
|
||||
width: 108px;
|
||||
min-height: 82px;
|
||||
box-sizing: border-box;
|
||||
cursor: url('/cursors/sight.png') 0 0, pointer;
|
||||
}
|
||||
|
||||
.platform-btn img {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
.platform-btn span {
|
||||
font-family: var(--font-main);
|
||||
font-size: 14px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.platform-btn:active {
|
||||
border-color: var(--dark);
|
||||
border-right-color: var(--button-highlight);
|
||||
border-bottom-color: var(--button-highlight);
|
||||
box-shadow:
|
||||
1px 1px 0 0 var(--button-highlight),
|
||||
inset 1px 1px 0 0 var(--shadow);
|
||||
transform: translate(1px, 1px);
|
||||
}
|
||||
|
||||
.platform-btn.web:hover {
|
||||
background-color: var(--hover-web, #ddeeff);
|
||||
}
|
||||
|
||||
.platform-btn.android:hover {
|
||||
background-color: var(--hover-android, #ddffdd);
|
||||
}
|
||||
|
||||
.platform-btn.windows:hover {
|
||||
background-color: var(--hover-windows, #ffdddd);
|
||||
}
|
||||
|
||||
.platform-btn.linux:hover {
|
||||
background-color: var(--hover-linux, #ffffdd);
|
||||
}
|
||||
|
||||
.platform-section {
|
||||
margin: 0 0 28px;
|
||||
padding: 14px;
|
||||
background: color-mix(in srgb, var(--panel-bg) 86%, var(--button-highlight));
|
||||
border: 1px solid var(--dark);
|
||||
border-radius: 6px;
|
||||
box-shadow:
|
||||
2px 2px 0 0 var(--shadow),
|
||||
inset 1px 1px 0 0 var(--button-inset);
|
||||
}
|
||||
|
||||
.platform-section + .platform-section {
|
||||
margin-top: 22px;
|
||||
}
|
||||
|
||||
.platform-header {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 12px;
|
||||
margin-bottom: 14px;
|
||||
}
|
||||
|
||||
.platform-header img {
|
||||
flex: 0 0 48px;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
}
|
||||
|
||||
.platform-header p {
|
||||
margin: 4px 0 0;
|
||||
font-size: 13px;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.platform-header strong {
|
||||
display: block;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.downloads-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.download-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 42px;
|
||||
padding: 8px 10px;
|
||||
background-color: var(--button-bg);
|
||||
border: 2px solid var(--button-highlight);
|
||||
border-right-color: var(--dark);
|
||||
border-bottom-color: var(--dark);
|
||||
border-radius: 6px;
|
||||
box-shadow:
|
||||
1px 1px 0 0 var(--shadow),
|
||||
inset 1px 1px 0 0 var(--button-inset);
|
||||
color: var(--dark);
|
||||
font-size: 13px;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
box-sizing: border-box;
|
||||
transition: transform 0.08s ease, background-color 0.12s ease, box-shadow 0.08s ease;
|
||||
}
|
||||
|
||||
.download-item:hover {
|
||||
background-color: var(--button-highlight);
|
||||
}
|
||||
|
||||
.download-item:active {
|
||||
border-color: var(--dark);
|
||||
border-right-color: var(--button-highlight);
|
||||
border-bottom-color: var(--button-highlight);
|
||||
box-shadow:
|
||||
1px 1px 0 0 var(--button-highlight),
|
||||
inset 1px 1px 0 0 var(--shadow);
|
||||
transform: translate(1px, 1px);
|
||||
}
|
||||
|
||||
.features-section,
|
||||
.about-section,
|
||||
.info-section,
|
||||
.migration-section {
|
||||
margin: 28px 0;
|
||||
}
|
||||
|
||||
.features-section h2,
|
||||
.about-section h2,
|
||||
.migration-section h2 {
|
||||
margin-bottom: 16px;
|
||||
color: var(--dark);
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.features-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.feature-item {
|
||||
padding: 14px;
|
||||
background-color: var(--panel-bg);
|
||||
border: 2px solid var(--button-highlight);
|
||||
border-right-color: var(--dark);
|
||||
border-bottom-color: var(--dark);
|
||||
border-radius: 6px;
|
||||
box-shadow:
|
||||
2px 2px 0 0 var(--shadow),
|
||||
inset 1px 1px 0 0 var(--button-inset);
|
||||
font-family: var(--font-main);
|
||||
}
|
||||
|
||||
.feature-item h3 {
|
||||
margin: 0 0 8px;
|
||||
font-size: 15px;
|
||||
color: var(--dark);
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.feature-item p,
|
||||
.about-section p,
|
||||
.migration-section p {
|
||||
margin: 0;
|
||||
font-size: 13px;
|
||||
line-height: 1.4;
|
||||
color: var(--ink);
|
||||
}
|
||||
|
||||
.about-section p,
|
||||
.migration-section p {
|
||||
margin: 12px 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.benefits-list {
|
||||
padding-left: 20px;
|
||||
margin: 12px 0;
|
||||
}
|
||||
|
||||
.benefits-list li {
|
||||
margin-bottom: 6px;
|
||||
line-height: 1.4;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.safety-note {
|
||||
font-size: 12px;
|
||||
opacity: 0.72;
|
||||
margin-top: 12px;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.dropdown {
|
||||
margin-bottom: 12px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.dropdown summary {
|
||||
cursor: url('/cursors/sight.png') 0 0, pointer;
|
||||
font-weight: bold;
|
||||
padding: 8px 12px;
|
||||
background-color: var(--button-bg);
|
||||
border: 2px solid var(--button-highlight);
|
||||
border-right-color: var(--dark);
|
||||
border-bottom-color: var(--dark);
|
||||
border-radius: 6px;
|
||||
box-shadow:
|
||||
1px 1px 0 0 var(--shadow),
|
||||
inset 1px 1px 0 0 var(--button-inset);
|
||||
font-family: var(--font-main);
|
||||
}
|
||||
|
||||
.dropdown[open] summary {
|
||||
border-color: var(--dark);
|
||||
border-right-color: var(--button-highlight);
|
||||
border-bottom-color: var(--button-highlight);
|
||||
box-shadow:
|
||||
1px 1px 0 0 var(--button-highlight),
|
||||
inset 1px 1px 0 0 var(--shadow);
|
||||
}
|
||||
|
||||
.dropdown-content {
|
||||
padding: 12px;
|
||||
background-color: var(--panel-bg);
|
||||
border: 2px solid var(--dark);
|
||||
border-right-color: var(--button-highlight);
|
||||
border-bottom-color: var(--button-highlight);
|
||||
margin-top: 8px;
|
||||
border-radius: 6px;
|
||||
box-shadow:
|
||||
1px 1px 0 0 var(--shadow),
|
||||
inset 1px 1px 0 0 var(--button-inset);
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.dropdown-content p {
|
||||
margin: 0 0 12px;
|
||||
font-size: 13px;
|
||||
line-height: 1.3;
|
||||
}
|
||||
|
||||
.dropdown-links {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.dropdown-links a {
|
||||
color: var(--link);
|
||||
text-decoration: none;
|
||||
padding: 6px 12px;
|
||||
background-color: var(--button-bg);
|
||||
border: 1px solid var(--dark);
|
||||
border-radius: 6px;
|
||||
font-family: var(--font-main);
|
||||
font-size: 13px;
|
||||
cursor: url('/cursors/sight.png') 0 0, pointer;
|
||||
}
|
||||
|
||||
.dropdown-links a:hover {
|
||||
background-color: var(--button-highlight);
|
||||
}
|
||||
|
||||
.converter-panel {
|
||||
margin: 24px 0;
|
||||
padding: 16px;
|
||||
background-color: var(--tool-panel-bg, var(--panel-bg));
|
||||
border: 2px solid var(--dark);
|
||||
border-radius: 6px;
|
||||
box-shadow:
|
||||
inset 1px 1px 0 0 var(--light),
|
||||
1px 1px 0 0 var(--button-highlight);
|
||||
}
|
||||
|
||||
.converter-panel label {
|
||||
display: block;
|
||||
font-weight: bold;
|
||||
color: var(--dark);
|
||||
}
|
||||
|
||||
.converter-status {
|
||||
margin: 16px 0 0;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.converter-status.error {
|
||||
color: #9b1c1c;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.platform-buttons {
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.platform-btn {
|
||||
width: calc(50% - 5px);
|
||||
min-width: 0;
|
||||
padding: 12px 8px;
|
||||
}
|
||||
|
||||
.features-grid {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.platform-header {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.downloads-grid {
|
||||
grid-template-columns: 1fr 1fr;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,121 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Inner Breeze - Breathing, Meditation, and Habits</title>
|
||||
<meta name="description" content="Inner Breeze is a free, open-source breathing and meditation app with Wim Hof breathing, meditation timers, optional background music, habit tracking, themes, and local-first history.">
|
||||
<link rel="canonical" href="https://inbe.waozi.xyz/">
|
||||
<link href="/css/base.css" rel="stylesheet">
|
||||
<link href="/css/components.css" rel="stylesheet">
|
||||
<link href="/theme.css" rel="stylesheet">
|
||||
<link rel="manifest" href="/manifest.json">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/site-icons/favicon-32x32.png">
|
||||
<link rel="apple-touch-icon" href="/site-icons/apple-touch-icon.png">
|
||||
<meta name="theme-color" content="#5566aa">
|
||||
<meta property="og:type" content="website">
|
||||
<meta property="og:url" content="https://inbe.waozi.xyz/">
|
||||
<meta property="og:title" content="Inner Breeze">
|
||||
<meta property="og:description" content="Breathing, meditation sessions, habit tracking, themes, and local-first progress history.">
|
||||
<meta property="og:image" content="https://inbe.waozi.xyz/og.jpg">
|
||||
<meta property="og:site_name" content="Inner Breeze">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:title" content="Inner Breeze">
|
||||
<meta name="twitter:description" content="Breathing, meditation sessions, habit tracking, themes, and local-first progress history.">
|
||||
<meta name="twitter:image" content="https://inbe.waozi.xyz/og.jpg">
|
||||
</head>
|
||||
<body>
|
||||
<div class="content">
|
||||
<main id="main-content">
|
||||
<section class="hero" aria-label="App introduction and download options">
|
||||
<img class="tk-img" src="/web-assets/icons/inbe.png" width="128" alt="Inner Breeze app logo">
|
||||
<h1>Inner Breeze</h1>
|
||||
<p>calm breathing, meditation sessions, and habit tracking</p>
|
||||
<p class="version">${version}</p>
|
||||
<nav aria-label="Platform downloads" class="platform-buttons">
|
||||
<a href="/build/web/index.html" class="platform-btn web">
|
||||
<img src="/web-assets/icons/wasm.png" alt="">
|
||||
<span>Run Web</span>
|
||||
</a>
|
||||
<a href="https://github.com/waozixyz/inbe/releases/download/v${version}/inbe-${version}.apk" class="platform-btn android" target="_blank" rel="noopener">
|
||||
<img src="/web-assets/icons/droid.png" alt="">
|
||||
<span>Android</span>
|
||||
</a>
|
||||
<a href="https://github.com/waozixyz/inbe/releases/download/v${version}/inbe-windows.zip" class="platform-btn windows" target="_blank" rel="noopener">
|
||||
<img src="/web-assets/icons/win.png" alt="">
|
||||
<span>Windows</span>
|
||||
</a>
|
||||
<a href="https://github.com/waozixyz/inbe/releases/download/v${version}/inbe-linux-x86_64.AppImage" class="platform-btn linux" target="_blank" rel="noopener">
|
||||
<img src="/web-assets/icons/tux.png" alt="">
|
||||
<span>Linux</span>
|
||||
</a>
|
||||
</nav>
|
||||
<nav aria-label="App store downloads" class="platform-buttons">
|
||||
<a href="https://play.google.com/store/apps/details?id=xyz.waozi.inbe" class="platform-btn android" target="_blank" rel="noopener">
|
||||
<img src="/web-assets/icons/playstore.png" alt="">
|
||||
<span>Play Store</span>
|
||||
</a>
|
||||
<a href="https://f-droid.org/packages/xyz.waozi.inbe/" class="platform-btn android" target="_blank" rel="noopener">
|
||||
<img src="/web-assets/icons/fdroid.png" alt="">
|
||||
<span>F-Droid</span>
|
||||
</a>
|
||||
<a href="https://waozi.itch.io/inbe" class="platform-btn web" target="_blank" rel="noopener">
|
||||
<img src="/web-assets/icons/itch.png" alt="">
|
||||
<span>itch.io</span>
|
||||
</a>
|
||||
</nav>
|
||||
</section>
|
||||
|
||||
<section class="features-section">
|
||||
<h2>Features</h2>
|
||||
<div class="features-grid">
|
||||
<div class="feature-item"><h3>Guided Breathing</h3><p>Wim Hof style rounds with clear breath cues, retention timing, and session flow.</p></div>
|
||||
<div class="feature-item"><h3>Meditation Timer</h3><p>Simple 5 minute to 2 hour meditation sessions with a gong and optional background music.</p></div>
|
||||
<div class="feature-item"><h3>Habit Tracking</h3><p>A focused calendar view helps you keep one practice selected and mark completed days.</p></div>
|
||||
<div class="feature-item"><h3>Local History</h3><p>Session data stays on your device, with import and export tools for your own backups.</p></div>
|
||||
<div class="feature-item"><h3>Touch Friendly</h3><p>Designed for phones, tablets, desktop, and the web with consistent controls.</p></div>
|
||||
<div class="feature-item"><h3>Free and Open Source</h3><p>No accounts, no ads, no tracking, and source code available under the MIT license.</p></div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="migration-section">
|
||||
<h2>Migrating from inbe-legacy?</h2>
|
||||
<p>Use the web converter to turn an inbe-legacy JSON export into the ZIP format used by current Inner Breeze imports.</p>
|
||||
<p><a href="/legacy-converter.html">Open legacy data converter</a></p>
|
||||
</section>
|
||||
|
||||
<section class="about-section">
|
||||
<h2>Practice Safely</h2>
|
||||
<p>Inner Breeze includes intense breathing exercises and calmer meditation sessions. Choose the practice that fits the moment, stay seated or lying down, and keep the session gentle when you need rest.</p>
|
||||
<ul class="benefits-list">
|
||||
<li>Reduced stress and anxiety</li>
|
||||
<li>Improved focus and mental clarity</li>
|
||||
<li>Better sleep quality</li>
|
||||
<li>Enhanced cold tolerance</li>
|
||||
<li>Increased energy levels</li>
|
||||
</ul>
|
||||
<p class="safety-note"><em>Always practice breathing exercises in a safe environment. Never practice while driving, swimming, or in situations where loss of consciousness could be dangerous.</em></p>
|
||||
</section>
|
||||
|
||||
<section class="info-section">
|
||||
<nav aria-label="Source code" class="platform-buttons">
|
||||
<a href="https://github.com/waozixyz/inbe" class="platform-btn web" target="_blank" rel="noopener">
|
||||
<img src="/web-assets/icons/github.png" alt="">
|
||||
<span>GitHub</span>
|
||||
</a>
|
||||
</nav>
|
||||
<details class="dropdown">
|
||||
<summary>Privacy & Donations</summary>
|
||||
<div class="dropdown-content">
|
||||
<p><strong>Privacy:</strong> Inner Breeze is local-first. Session history, habits, and preferences stay on your device unless you choose to connect optional sync. Sync uses a public-key account identifier and sends only the app data needed to mirror your account on the selected server. No analytics, no tracking, and no sale of personal data.</p>
|
||||
<p><strong>Remote account deletion:</strong> Default sync-server accounts can be deleted at <a href="/delete-account">Delete Sync Account</a> using the exported <code>inbe-sync.key</code>, which includes the sync public ID. The exported key is used only to prove ownership and complete deletion.</p>
|
||||
<p><strong>Free & Open Source:</strong> This app is completely free with no ads, in-app purchases, or premium features. Development is supported by voluntary donations. Donations are processed outside the sync account system and are not app data.</p>
|
||||
<nav aria-label="Donation options" class="dropdown-links"><a href="https://trocador.app/en/anonpay/?ticker_to=xmr&network_to=Mainnet&address=86CbC3d4a2GhT9auh6X99JhmhTMFKVVk8Q9cLrKTHkBu8LLkoNWgkBeAT3YZrvDM6NczYe8brUJNsTiFmwpWDZYnFG5kzSH&donation=True&simple_mode=True&amount=0.1&name=Inner+Breeze&[email protected]&ticker_from=xmr&network_from=Mainnet&buttonbgcolor=445588&textcolor=ffffff&bgcolor=eaeaffff" target="_blank" rel="noopener">Donate via Crypto</a></nav>
|
||||
</div>
|
||||
</details>
|
||||
</section>
|
||||
</main>
|
||||
<footer><p>© 2026 <a href="https://waozi.xyz">Waozi</a> | <a href="/privacy.html">Privacy Policy</a></p></footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,189 @@
|
||||
|
||||
// We are modularizing this manually because the current modularize setting in Emscripten has some issues:
|
||||
// https://github.com/kripken/emscripten/issues/5820
|
||||
// In addition, When you use emcc's modularization, it still expects to export a global object called `Module`,
|
||||
// which is able to be used/called before the WASM is loaded.
|
||||
// The modularization below exports a promise that loads and resolves to the actual sql.js module.
|
||||
// That way, this module can't be used before the WASM is finished loading.
|
||||
|
||||
// We are going to define a function that a user will call to start loading initializing our Sql.js library
|
||||
// However, that function might be called multiple times, and on subsequent calls, we don't actually want it to instantiate a new instance of the Module
|
||||
// Instead, we want to return the previously loaded module
|
||||
|
||||
// TODO: Make this not declare a global if used in the browser
|
||||
var initSqlJsPromise = undefined;
|
||||
|
||||
var initSqlJs = function (moduleConfig) {
|
||||
|
||||
if (initSqlJsPromise){
|
||||
return initSqlJsPromise;
|
||||
}
|
||||
// If we're here, we've never called this function before
|
||||
initSqlJsPromise = new Promise(function (resolveModule, reject) {
|
||||
|
||||
// We are modularizing this manually because the current modularize setting in Emscripten has some issues:
|
||||
// https://github.com/kripken/emscripten/issues/5820
|
||||
|
||||
// The way to affect the loading of emcc compiled modules is to create a variable called `Module` and add
|
||||
// properties to it, like `preRun`, `postRun`, etc
|
||||
// We are using that to get notified when the WASM has finished loading.
|
||||
// Only then will we return our promise
|
||||
|
||||
// If they passed in a moduleConfig object, use that
|
||||
// Otherwise, initialize Module to the empty object
|
||||
var Module = typeof moduleConfig !== 'undefined' ? moduleConfig : {};
|
||||
|
||||
// EMCC only allows for a single onAbort function (not an array of functions)
|
||||
// So if the user defined their own onAbort function, we remember it and call it
|
||||
var originalOnAbortFunction = Module['onAbort'];
|
||||
Module['onAbort'] = function (errorThatCausedAbort) {
|
||||
reject(new Error(errorThatCausedAbort));
|
||||
if (originalOnAbortFunction){
|
||||
originalOnAbortFunction(errorThatCausedAbort);
|
||||
}
|
||||
};
|
||||
|
||||
Module['postRun'] = Module['postRun'] || [];
|
||||
Module['postRun'].push(function () {
|
||||
// When Emscripted calls postRun, this promise resolves with the built Module
|
||||
resolveModule(Module);
|
||||
});
|
||||
|
||||
// There is a section of code in the emcc-generated code below that looks like this:
|
||||
// (Note that this is lowercase `module`)
|
||||
// if (typeof module !== 'undefined') {
|
||||
// module['exports'] = Module;
|
||||
// }
|
||||
// When that runs, it's going to overwrite our own modularization export efforts in shell-post.js!
|
||||
// The only way to tell emcc not to emit it is to pass the MODULARIZE=1 or MODULARIZE_INSTANCE=1 flags,
|
||||
// but that carries with it additional unnecessary baggage/bugs we don't want either.
|
||||
// So, we have three options:
|
||||
// 1) We undefine `module`
|
||||
// 2) We remember what `module['exports']` was at the beginning of this function and we restore it later
|
||||
// 3) We write a script to remove those lines of code as part of the Make process.
|
||||
//
|
||||
// Since those are the only lines of code that care about module, we will undefine it. It's the most straightforward
|
||||
// of the options, and has the side effect of reducing emcc's efforts to modify the module if its output were to change in the future.
|
||||
// That's a nice side effect since we're handling the modularization efforts ourselves
|
||||
module = undefined;
|
||||
|
||||
// The emcc-generated code and shell-post.js code goes below,
|
||||
// meaning that all of it runs inside of this promise. If anything throws an exception, our promise will abort
|
||||
var f;f||=typeof Module != 'undefined' ? Module : {};var aa="object"==typeof window,ba="function"==typeof importScripts,ca="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node;"use strict";
|
||||
f.onRuntimeInitialized=function(){function a(g,l){switch(typeof l){case "boolean":fc(g,l?1:0);break;case "number":gc(g,l);break;case "string":hc(g,l,-1,-1);break;case "object":if(null===l)ib(g);else if(null!=l.length){var n=da(l,ea);ic(g,n,l.length,-1);fa(n)}else xa(g,"Wrong API use : tried to return a value of an unknown type ("+l+").",-1);break;default:ib(g)}}function b(g,l){for(var n=[],t=0;t<g;t+=1){var w=m(l+4*t,"i32"),A=jc(w);if(1===A||2===A)w=kc(w);else if(3===A)w=lc(w);else if(4===A){A=w;
|
||||
w=mc(A);A=nc(A);for(var N=new Uint8Array(w),M=0;M<w;M+=1)N[M]=p[A+M];w=N}else w=null;n.push(w)}return n}function c(g,l){this.Ka=g;this.db=l;this.Ia=1;this.eb=[]}function d(g,l){this.db=l;l=ha(g)+1;this.Xa=ia(l);if(null===this.Xa)throw Error("Unable to allocate memory for the SQL string");q(g,u,this.Xa,l);this.cb=this.Xa;this.Ta=this.hb=null}function e(g){this.filename="dbfile_"+(4294967295*Math.random()>>>0);if(null!=g){var l=this.filename,n="/",t=l;n&&(n="string"==typeof n?n:ja(n),t=l?x(n+"/"+l):
|
||||
n);l=ka(!0,!0);t=la(t,(void 0!==l?l:438)&4095|32768,0);if(g){if("string"==typeof g){n=Array(g.length);for(var w=0,A=g.length;w<A;++w)n[w]=g.charCodeAt(w);g=n}ma(t,l|146);n=na(t,577);oa(n,g,0,g.length,0);pa(n);ma(t,l)}}this.handleError(r(this.filename,h));this.db=m(h,"i32");lb(this.db);this.Ya={};this.Ma={}}var h=y(4),k=f.cwrap,r=k("sqlite3_open","number",["string","number"]),z=k("sqlite3_close_v2","number",["number"]),v=k("sqlite3_exec","number",["number","string","number","number","number"]),E=k("sqlite3_changes",
|
||||
"number",["number"]),H=k("sqlite3_prepare_v2","number",["number","string","number","number","number"]),mb=k("sqlite3_sql","string",["number"]),oc=k("sqlite3_normalized_sql","string",["number"]),nb=k("sqlite3_prepare_v2","number",["number","number","number","number","number"]),pc=k("sqlite3_bind_text","number",["number","number","number","number","number"]),ob=k("sqlite3_bind_blob","number",["number","number","number","number","number"]),qc=k("sqlite3_bind_double","number",["number","number","number"]),
|
||||
rc=k("sqlite3_bind_int","number",["number","number","number"]),sc=k("sqlite3_bind_parameter_index","number",["number","string"]),tc=k("sqlite3_step","number",["number"]),uc=k("sqlite3_errmsg","string",["number"]),vc=k("sqlite3_column_count","number",["number"]),wc=k("sqlite3_data_count","number",["number"]),xc=k("sqlite3_column_double","number",["number","number"]),pb=k("sqlite3_column_text","string",["number","number"]),yc=k("sqlite3_column_blob","number",["number","number"]),zc=k("sqlite3_column_bytes",
|
||||
"number",["number","number"]),Ac=k("sqlite3_column_type","number",["number","number"]),Bc=k("sqlite3_column_name","string",["number","number"]),Cc=k("sqlite3_reset","number",["number"]),Dc=k("sqlite3_clear_bindings","number",["number"]),Ec=k("sqlite3_finalize","number",["number"]),qb=k("sqlite3_create_function_v2","number","number string number number number number number number number".split(" ")),jc=k("sqlite3_value_type","number",["number"]),mc=k("sqlite3_value_bytes","number",["number"]),lc=k("sqlite3_value_text",
|
||||
"string",["number"]),nc=k("sqlite3_value_blob","number",["number"]),kc=k("sqlite3_value_double","number",["number"]),gc=k("sqlite3_result_double","",["number","number"]),ib=k("sqlite3_result_null","",["number"]),hc=k("sqlite3_result_text","",["number","string","number","number"]),ic=k("sqlite3_result_blob","",["number","number","number","number"]),fc=k("sqlite3_result_int","",["number","number"]),xa=k("sqlite3_result_error","",["number","string","number"]),rb=k("sqlite3_aggregate_context","number",
|
||||
["number","number"]),lb=k("RegisterExtensionFunctions","number",["number"]);c.prototype.bind=function(g){if(!this.Ka)throw"Statement closed";this.reset();return Array.isArray(g)?this.vb(g):null!=g&&"object"===typeof g?this.wb(g):!0};c.prototype.step=function(){if(!this.Ka)throw"Statement closed";this.Ia=1;var g=tc(this.Ka);switch(g){case 100:return!0;case 101:return!1;default:throw this.db.handleError(g);}};c.prototype.qb=function(g){null==g&&(g=this.Ia,this.Ia+=1);return xc(this.Ka,g)};c.prototype.zb=
|
||||
function(g){null==g&&(g=this.Ia,this.Ia+=1);g=pb(this.Ka,g);if("function"!==typeof BigInt)throw Error("BigInt is not supported");return BigInt(g)};c.prototype.Ab=function(g){null==g&&(g=this.Ia,this.Ia+=1);return pb(this.Ka,g)};c.prototype.getBlob=function(g){null==g&&(g=this.Ia,this.Ia+=1);var l=zc(this.Ka,g);g=yc(this.Ka,g);for(var n=new Uint8Array(l),t=0;t<l;t+=1)n[t]=p[g+t];return n};c.prototype.get=function(g,l){l=l||{};null!=g&&this.bind(g)&&this.step();g=[];for(var n=wc(this.Ka),t=0;t<n;t+=
|
||||
1)switch(Ac(this.Ka,t)){case 1:var w=l.useBigInt?this.zb(t):this.qb(t);g.push(w);break;case 2:g.push(this.qb(t));break;case 3:g.push(this.Ab(t));break;case 4:g.push(this.getBlob(t));break;default:g.push(null)}return g};c.prototype.getColumnNames=function(){for(var g=[],l=vc(this.Ka),n=0;n<l;n+=1)g.push(Bc(this.Ka,n));return g};c.prototype.getAsObject=function(g,l){g=this.get(g,l);l=this.getColumnNames();for(var n={},t=0;t<l.length;t+=1)n[l[t]]=g[t];return n};c.prototype.getSQL=function(){return mb(this.Ka)};
|
||||
c.prototype.getNormalizedSQL=function(){return oc(this.Ka)};c.prototype.run=function(g){null!=g&&this.bind(g);this.step();return this.reset()};c.prototype.mb=function(g,l){null==l&&(l=this.Ia,this.Ia+=1);g=qa(g);var n=da(g,ea);this.eb.push(n);this.db.handleError(pc(this.Ka,l,n,g.length-1,0))};c.prototype.ub=function(g,l){null==l&&(l=this.Ia,this.Ia+=1);var n=da(g,ea);this.eb.push(n);this.db.handleError(ob(this.Ka,l,n,g.length,0))};c.prototype.lb=function(g,l){null==l&&(l=this.Ia,this.Ia+=1);this.db.handleError((g===
|
||||
(g|0)?rc:qc)(this.Ka,l,g))};c.prototype.xb=function(g){null==g&&(g=this.Ia,this.Ia+=1);ob(this.Ka,g,0,0,0)};c.prototype.nb=function(g,l){null==l&&(l=this.Ia,this.Ia+=1);switch(typeof g){case "string":this.mb(g,l);return;case "number":this.lb(g,l);return;case "bigint":this.mb(g.toString(),l);return;case "boolean":this.lb(g+0,l);return;case "object":if(null===g){this.xb(l);return}if(null!=g.length){this.ub(g,l);return}}throw"Wrong API use : tried to bind a value of an unknown type ("+g+").";};c.prototype.wb=
|
||||
function(g){var l=this;Object.keys(g).forEach(function(n){var t=sc(l.Ka,n);0!==t&&l.nb(g[n],t)});return!0};c.prototype.vb=function(g){for(var l=0;l<g.length;l+=1)this.nb(g[l],l+1);return!0};c.prototype.reset=function(){this.freemem();return 0===Dc(this.Ka)&&0===Cc(this.Ka)};c.prototype.freemem=function(){for(var g;void 0!==(g=this.eb.pop());)fa(g)};c.prototype.free=function(){this.freemem();var g=0===Ec(this.Ka);delete this.db.Ya[this.Ka];this.Ka=0;return g};d.prototype.next=function(){if(null===
|
||||
this.Xa)return{done:!0};null!==this.Ta&&(this.Ta.free(),this.Ta=null);if(!this.db.db)throw this.fb(),Error("Database closed");var g=ra(),l=y(4);sa(h);sa(l);try{this.db.handleError(nb(this.db.db,this.cb,-1,h,l));this.cb=m(l,"i32");var n=m(h,"i32");if(0===n)return this.fb(),{done:!0};this.Ta=new c(n,this.db);this.db.Ya[n]=this.Ta;return{value:this.Ta,done:!1}}catch(t){throw this.hb=ta(this.cb),this.fb(),t;}finally{ua(g)}};d.prototype.fb=function(){fa(this.Xa);this.Xa=null};d.prototype.getRemainingSQL=
|
||||
function(){return null!==this.hb?this.hb:ta(this.cb)};"function"===typeof Symbol&&"symbol"===typeof Symbol.iterator&&(d.prototype[Symbol.iterator]=function(){return this});e.prototype.run=function(g,l){if(!this.db)throw"Database closed";if(l){g=this.prepare(g,l);try{g.step()}finally{g.free()}}else this.handleError(v(this.db,g,0,0,h));return this};e.prototype.exec=function(g,l,n){if(!this.db)throw"Database closed";var t=ra(),w=null;try{var A=va(g),N=y(4);for(g=[];0!==m(A,"i8");){sa(h);sa(N);this.handleError(nb(this.db,
|
||||
A,-1,h,N));var M=m(h,"i32");A=m(N,"i32");if(0!==M){var K=null;w=new c(M,this);for(null!=l&&w.bind(l);w.step();)null===K&&(K={columns:w.getColumnNames(),values:[]},g.push(K)),K.values.push(w.get(null,n));w.free()}}return g}catch(O){throw w&&w.free(),O;}finally{ua(t)}};e.prototype.each=function(g,l,n,t,w){"function"===typeof l&&(t=n,n=l,l=void 0);g=this.prepare(g,l);try{for(;g.step();)n(g.getAsObject(null,w))}finally{g.free()}if("function"===typeof t)return t()};e.prototype.prepare=function(g,l){sa(h);
|
||||
this.handleError(H(this.db,g,-1,h,0));g=m(h,"i32");if(0===g)throw"Nothing to prepare";var n=new c(g,this);null!=l&&n.bind(l);return this.Ya[g]=n};e.prototype.iterateStatements=function(g){return new d(g,this)};e.prototype["export"]=function(){Object.values(this.Ya).forEach(function(l){l.free()});Object.values(this.Ma).forEach(wa);this.Ma={};this.handleError(z(this.db));var g=ya(this.filename);this.handleError(r(this.filename,h));this.db=m(h,"i32");lb(this.db);return g};e.prototype.close=function(){null!==
|
||||
this.db&&(Object.values(this.Ya).forEach(function(g){g.free()}),Object.values(this.Ma).forEach(wa),this.Ma={},this.handleError(z(this.db)),za("/"+this.filename),this.db=null)};e.prototype.handleError=function(g){if(0===g)return null;g=uc(this.db);throw Error(g);};e.prototype.getRowsModified=function(){return E(this.db)};e.prototype.create_function=function(g,l){Object.prototype.hasOwnProperty.call(this.Ma,g)&&(wa(this.Ma[g]),delete this.Ma[g]);var n=Aa(function(t,w,A){w=b(w,A);try{var N=l.apply(null,
|
||||
w)}catch(M){xa(t,M,-1);return}a(t,N)},"viii");this.Ma[g]=n;this.handleError(qb(this.db,g,l.length,1,0,n,0,0,0));return this};e.prototype.create_aggregate=function(g,l){var n=l.init||function(){return null},t=l.finalize||function(K){return K},w=l.step;if(!w)throw"An aggregate function must have a step function in "+g;var A={};Object.hasOwnProperty.call(this.Ma,g)&&(wa(this.Ma[g]),delete this.Ma[g]);l=g+"__finalize";Object.hasOwnProperty.call(this.Ma,l)&&(wa(this.Ma[l]),delete this.Ma[l]);var N=Aa(function(K,
|
||||
O,Ra){var Y=rb(K,1);Object.hasOwnProperty.call(A,Y)||(A[Y]=n());O=b(O,Ra);O=[A[Y]].concat(O);try{A[Y]=w.apply(null,O)}catch(Gc){delete A[Y],xa(K,Gc,-1)}},"viii"),M=Aa(function(K){var O=rb(K,1);try{var Ra=t(A[O])}catch(Y){delete A[O];xa(K,Y,-1);return}a(K,Ra);delete A[O]},"vi");this.Ma[g]=N;this.Ma[l]=M;this.handleError(qb(this.db,g,w.length-1,1,0,0,N,M,0));return this};f.Database=e};var Ba=Object.assign({},f),Ca="./this.program",B="",Da,Ea;
|
||||
if(ca){var fs=require("fs"),Fa=require("path");B=__dirname+"/";Ea=a=>{a=Ga(a)?new URL(a):Fa.normalize(a);return fs.readFileSync(a)};Da=a=>{a=Ga(a)?new URL(a):Fa.normalize(a);return new Promise((b,c)=>{fs.readFile(a,void 0,(d,e)=>{d?c(d):b(e.buffer)})})};!f.thisProgram&&1<process.argv.length&&(Ca=process.argv[1].replace(/\\/g,"/"));process.argv.slice(2);"undefined"!=typeof module&&(module.exports=f)}else if(aa||ba)ba?B=self.location.href:"undefined"!=typeof document&&document.currentScript&&(B=document.currentScript.src),
|
||||
B=B.startsWith("blob:")?"":B.substr(0,B.replace(/[?#].*/,"").lastIndexOf("/")+1),ba&&(Ea=a=>{var b=new XMLHttpRequest;b.open("GET",a,!1);b.responseType="arraybuffer";b.send(null);return new Uint8Array(b.response)}),Da=a=>Ga(a)?new Promise((b,c)=>{var d=new XMLHttpRequest;d.open("GET",a,!0);d.responseType="arraybuffer";d.onload=()=>{(200==d.status||0==d.status&&d.response)&&c(d.response);b(d.status)};d.onerror=b;d.send(null)}):fetch(a,{credentials:"same-origin"}).then(b=>b.ok?b.arrayBuffer():Promise.reject(Error(b.status+
|
||||
" : "+b.url)));var Ha=f.print||console.log.bind(console),C=f.printErr||console.error.bind(console);Object.assign(f,Ba);Ba=null;f.thisProgram&&(Ca=f.thisProgram);var Ia;f.wasmBinary&&(Ia=f.wasmBinary);var Ja,Ka=!1,p,u,La,D,F,Ma,Na;
|
||||
function Oa(){var a=Ja.buffer;f.HEAP8=p=new Int8Array(a);f.HEAP16=La=new Int16Array(a);f.HEAPU8=u=new Uint8Array(a);f.HEAPU16=new Uint16Array(a);f.HEAP32=D=new Int32Array(a);f.HEAPU32=F=new Uint32Array(a);f.HEAPF32=Ma=new Float32Array(a);f.HEAPF64=Na=new Float64Array(a)}var Pa=[],Qa=[],Sa=[];function Ta(){var a=f.preRun.shift();Pa.unshift(a)}var Ua=0,Va=null,Wa=null;
|
||||
function G(a){f.onAbort?.(a);a="Aborted("+a+")";C(a);Ka=!0;throw new WebAssembly.RuntimeError(a+". Build with -sASSERTIONS for more info.");}var Xa=a=>a.startsWith("data:application/octet-stream;base64,"),Ga=a=>a.startsWith("file://"),Ya;function Za(a){if(a==Ya&&Ia)return new Uint8Array(Ia);if(Ea)return Ea(a);throw"both async and sync fetching of the wasm failed";}function $a(a){return Ia?Promise.resolve().then(()=>Za(a)):Da(a).then(b=>new Uint8Array(b),()=>Za(a))}
|
||||
function ab(a,b,c){return $a(a).then(d=>WebAssembly.instantiate(d,b)).then(c,d=>{C(`failed to asynchronously prepare wasm: ${d}`);G(d)})}function bb(a,b){var c=Ya;Ia||"function"!=typeof WebAssembly.instantiateStreaming||Xa(c)||Ga(c)||ca||"function"!=typeof fetch?ab(c,a,b):fetch(c,{credentials:"same-origin"}).then(d=>WebAssembly.instantiateStreaming(d,a).then(b,function(e){C(`wasm streaming compile failed: ${e}`);C("falling back to ArrayBuffer instantiation");return ab(c,a,b)}))}
|
||||
var I,J,cb=a=>{for(;0<a.length;)a.shift()(f)};function m(a,b="i8"){b.endsWith("*")&&(b="*");switch(b){case "i1":return p[a];case "i8":return p[a];case "i16":return La[a>>1];case "i32":return D[a>>2];case "i64":G("to do getValue(i64) use WASM_BIGINT");case "float":return Ma[a>>2];case "double":return Na[a>>3];case "*":return F[a>>2];default:G(`invalid type for getValue: ${b}`)}}
|
||||
function sa(a){var b="i32";b.endsWith("*")&&(b="*");switch(b){case "i1":p[a]=0;break;case "i8":p[a]=0;break;case "i16":La[a>>1]=0;break;case "i32":D[a>>2]=0;break;case "i64":G("to do setValue(i64) use WASM_BIGINT");case "float":Ma[a>>2]=0;break;case "double":Na[a>>3]=0;break;case "*":F[a>>2]=0;break;default:G(`invalid type for setValue: ${b}`)}}
|
||||
var db="undefined"!=typeof TextDecoder?new TextDecoder:void 0,L=(a,b,c)=>{var d=b+c;for(c=b;a[c]&&!(c>=d);)++c;if(16<c-b&&a.buffer&&db)return db.decode(a.subarray(b,c));for(d="";b<c;){var e=a[b++];if(e&128){var h=a[b++]&63;if(192==(e&224))d+=String.fromCharCode((e&31)<<6|h);else{var k=a[b++]&63;e=224==(e&240)?(e&15)<<12|h<<6|k:(e&7)<<18|h<<12|k<<6|a[b++]&63;65536>e?d+=String.fromCharCode(e):(e-=65536,d+=String.fromCharCode(55296|e>>10,56320|e&1023))}}else d+=String.fromCharCode(e)}return d},ta=(a,
|
||||
b)=>a?L(u,a,b):"",eb=(a,b)=>{for(var c=0,d=a.length-1;0<=d;d--){var e=a[d];"."===e?a.splice(d,1):".."===e?(a.splice(d,1),c++):c&&(a.splice(d,1),c--)}if(b)for(;c;c--)a.unshift("..");return a},x=a=>{var b="/"===a.charAt(0),c="/"===a.substr(-1);(a=eb(a.split("/").filter(d=>!!d),!b).join("/"))||b||(a=".");a&&c&&(a+="/");return(b?"/":"")+a},fb=a=>{var b=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/.exec(a).slice(1);a=b[0];b=b[1];if(!a&&!b)return".";b&&=b.substr(0,b.length-1);return a+
|
||||
b},gb=a=>{if("/"===a)return"/";a=x(a);a=a.replace(/\/$/,"");var b=a.lastIndexOf("/");return-1===b?a:a.substr(b+1)},hb=()=>{if("object"==typeof crypto&&"function"==typeof crypto.getRandomValues)return c=>crypto.getRandomValues(c);if(ca)try{var a=require("crypto");if(a.randomFillSync)return c=>a.randomFillSync(c);var b=a.randomBytes;return c=>(c.set(b(c.byteLength)),c)}catch(c){}G("initRandomDevice")},jb=a=>(jb=hb())(a),kb=(...a)=>{for(var b="",c=!1,d=a.length-1;-1<=d&&!c;d--){c=0<=d?a[d]:"/";if("string"!=
|
||||
typeof c)throw new TypeError("Arguments to path.resolve must be strings");if(!c)return"";b=c+"/"+b;c="/"===c.charAt(0)}b=eb(b.split("/").filter(e=>!!e),!c).join("/");return(c?"/":"")+b||"."},sb=[],ha=a=>{for(var b=0,c=0;c<a.length;++c){var d=a.charCodeAt(c);127>=d?b++:2047>=d?b+=2:55296<=d&&57343>=d?(b+=4,++c):b+=3}return b},q=(a,b,c,d)=>{if(!(0<d))return 0;var e=c;d=c+d-1;for(var h=0;h<a.length;++h){var k=a.charCodeAt(h);if(55296<=k&&57343>=k){var r=a.charCodeAt(++h);k=65536+((k&1023)<<10)|r&1023}if(127>=
|
||||
k){if(c>=d)break;b[c++]=k}else{if(2047>=k){if(c+1>=d)break;b[c++]=192|k>>6}else{if(65535>=k){if(c+2>=d)break;b[c++]=224|k>>12}else{if(c+3>=d)break;b[c++]=240|k>>18;b[c++]=128|k>>12&63}b[c++]=128|k>>6&63}b[c++]=128|k&63}}b[c]=0;return c-e};function qa(a,b){var c=Array(ha(a)+1);a=q(a,c,0,c.length);b&&(c.length=a);return c}var tb=[];function ub(a,b){tb[a]={input:[],output:[],Wa:b};vb(a,wb)}
|
||||
var wb={open(a){var b=tb[a.node.rdev];if(!b)throw new P(43);a.tty=b;a.seekable=!1},close(a){a.tty.Wa.fsync(a.tty)},fsync(a){a.tty.Wa.fsync(a.tty)},read(a,b,c,d){if(!a.tty||!a.tty.Wa.rb)throw new P(60);for(var e=0,h=0;h<d;h++){try{var k=a.tty.Wa.rb(a.tty)}catch(r){throw new P(29);}if(void 0===k&&0===e)throw new P(6);if(null===k||void 0===k)break;e++;b[c+h]=k}e&&(a.node.timestamp=Date.now());return e},write(a,b,c,d){if(!a.tty||!a.tty.Wa.ib)throw new P(60);try{for(var e=0;e<d;e++)a.tty.Wa.ib(a.tty,b[c+
|
||||
e])}catch(h){throw new P(29);}d&&(a.node.timestamp=Date.now());return e}},xb={rb(){a:{if(!sb.length){var a=null;if(ca){var b=Buffer.alloc(256),c=0,d=process.stdin.fd;try{c=fs.readSync(d,b,0,256)}catch(e){if(e.toString().includes("EOF"))c=0;else throw e;}0<c&&(a=b.slice(0,c).toString("utf-8"))}else"undefined"!=typeof window&&"function"==typeof window.prompt&&(a=window.prompt("Input: "),null!==a&&(a+="\n"));if(!a){a=null;break a}sb=qa(a,!0)}a=sb.shift()}return a},ib(a,b){null===b||10===b?(Ha(L(a.output,
|
||||
0)),a.output=[]):0!=b&&a.output.push(b)},fsync(a){a.output&&0<a.output.length&&(Ha(L(a.output,0)),a.output=[])},Lb(){return{Gb:25856,Ib:5,Fb:191,Hb:35387,Eb:[3,28,127,21,4,0,1,0,17,19,26,0,18,15,23,22,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]}},Mb(){return 0},Nb(){return[24,80]}},yb={ib(a,b){null===b||10===b?(C(L(a.output,0)),a.output=[]):0!=b&&a.output.push(b)},fsync(a){a.output&&0<a.output.length&&(C(L(a.output,0)),a.output=[])}};
|
||||
function zb(a,b){var c=a.Ha?a.Ha.length:0;c>=b||(b=Math.max(b,c*(1048576>c?2:1.125)>>>0),0!=c&&(b=Math.max(b,256)),c=a.Ha,a.Ha=new Uint8Array(b),0<a.La&&a.Ha.set(c.subarray(0,a.La),0))}
|
||||
var Q={Pa:null,Qa(){return Q.createNode(null,"/",16895,0)},createNode(a,b,c,d){if(24576===(c&61440)||4096===(c&61440))throw new P(63);Q.Pa||(Q.Pa={dir:{node:{Oa:Q.Fa.Oa,Na:Q.Fa.Na,lookup:Q.Fa.lookup,$a:Q.Fa.$a,rename:Q.Fa.rename,unlink:Q.Fa.unlink,rmdir:Q.Fa.rmdir,readdir:Q.Fa.readdir,symlink:Q.Fa.symlink},stream:{Sa:Q.Ga.Sa}},file:{node:{Oa:Q.Fa.Oa,Na:Q.Fa.Na},stream:{Sa:Q.Ga.Sa,read:Q.Ga.read,write:Q.Ga.write,kb:Q.Ga.kb,ab:Q.Ga.ab,bb:Q.Ga.bb}},link:{node:{Oa:Q.Fa.Oa,Na:Q.Fa.Na,readlink:Q.Fa.readlink},
|
||||
stream:{}},ob:{node:{Oa:Q.Fa.Oa,Na:Q.Fa.Na},stream:Ab}});c=Bb(a,b,c,d);R(c.mode)?(c.Fa=Q.Pa.dir.node,c.Ga=Q.Pa.dir.stream,c.Ha={}):32768===(c.mode&61440)?(c.Fa=Q.Pa.file.node,c.Ga=Q.Pa.file.stream,c.La=0,c.Ha=null):40960===(c.mode&61440)?(c.Fa=Q.Pa.link.node,c.Ga=Q.Pa.link.stream):8192===(c.mode&61440)&&(c.Fa=Q.Pa.ob.node,c.Ga=Q.Pa.ob.stream);c.timestamp=Date.now();a&&(a.Ha[b]=c,a.timestamp=c.timestamp);return c},Kb(a){return a.Ha?a.Ha.subarray?a.Ha.subarray(0,a.La):new Uint8Array(a.Ha):new Uint8Array(0)},
|
||||
Fa:{Oa(a){var b={};b.dev=8192===(a.mode&61440)?a.id:1;b.ino=a.id;b.mode=a.mode;b.nlink=1;b.uid=0;b.gid=0;b.rdev=a.rdev;R(a.mode)?b.size=4096:32768===(a.mode&61440)?b.size=a.La:40960===(a.mode&61440)?b.size=a.link.length:b.size=0;b.atime=new Date(a.timestamp);b.mtime=new Date(a.timestamp);b.ctime=new Date(a.timestamp);b.yb=4096;b.blocks=Math.ceil(b.size/b.yb);return b},Na(a,b){void 0!==b.mode&&(a.mode=b.mode);void 0!==b.timestamp&&(a.timestamp=b.timestamp);if(void 0!==b.size&&(b=b.size,a.La!=b))if(0==
|
||||
b)a.Ha=null,a.La=0;else{var c=a.Ha;a.Ha=new Uint8Array(b);c&&a.Ha.set(c.subarray(0,Math.min(b,a.La)));a.La=b}},lookup(){throw Cb[44];},$a(a,b,c,d){return Q.createNode(a,b,c,d)},rename(a,b,c){if(R(a.mode)){try{var d=Db(b,c)}catch(h){}if(d)for(var e in d.Ha)throw new P(55);}delete a.parent.Ha[a.name];a.parent.timestamp=Date.now();a.name=c;b.Ha[c]=a;b.timestamp=a.parent.timestamp},unlink(a,b){delete a.Ha[b];a.timestamp=Date.now()},rmdir(a,b){var c=Db(a,b),d;for(d in c.Ha)throw new P(55);delete a.Ha[b];
|
||||
a.timestamp=Date.now()},readdir(a){var b=[".",".."],c;for(c of Object.keys(a.Ha))b.push(c);return b},symlink(a,b,c){a=Q.createNode(a,b,41471,0);a.link=c;return a},readlink(a){if(40960!==(a.mode&61440))throw new P(28);return a.link}},Ga:{read(a,b,c,d,e){var h=a.node.Ha;if(e>=a.node.La)return 0;a=Math.min(a.node.La-e,d);if(8<a&&h.subarray)b.set(h.subarray(e,e+a),c);else for(d=0;d<a;d++)b[c+d]=h[e+d];return a},write(a,b,c,d,e,h){b.buffer===p.buffer&&(h=!1);if(!d)return 0;a=a.node;a.timestamp=Date.now();
|
||||
if(b.subarray&&(!a.Ha||a.Ha.subarray)){if(h)return a.Ha=b.subarray(c,c+d),a.La=d;if(0===a.La&&0===e)return a.Ha=b.slice(c,c+d),a.La=d;if(e+d<=a.La)return a.Ha.set(b.subarray(c,c+d),e),d}zb(a,e+d);if(a.Ha.subarray&&b.subarray)a.Ha.set(b.subarray(c,c+d),e);else for(h=0;h<d;h++)a.Ha[e+h]=b[c+h];a.La=Math.max(a.La,e+d);return d},Sa(a,b,c){1===c?b+=a.position:2===c&&32768===(a.node.mode&61440)&&(b+=a.node.La);if(0>b)throw new P(28);return b},kb(a,b,c){zb(a.node,b+c);a.node.La=Math.max(a.node.La,b+c)},
|
||||
ab(a,b,c,d,e){if(32768!==(a.node.mode&61440))throw new P(43);a=a.node.Ha;if(e&2||a.buffer!==p.buffer){if(0<c||c+b<a.length)a.subarray?a=a.subarray(c,c+b):a=Array.prototype.slice.call(a,c,c+b);c=!0;b=65536*Math.ceil(b/65536);(e=Eb(65536,b))?(u.fill(0,e,e+b),b=e):b=0;if(!b)throw new P(48);p.set(a,b)}else c=!1,b=a.byteOffset;return{Cb:b,tb:c}},bb(a,b,c,d){Q.Ga.write(a,b,0,d,c,!1);return 0}}},ka=(a,b)=>{var c=0;a&&(c|=365);b&&(c|=146);return c},Fb=null,Gb={},Hb=[],Ib=1,S=null,Jb=!0,P=class{constructor(a){this.name=
|
||||
"ErrnoError";this.Ja=a}},Cb={},Kb=class{constructor(){this.Za={};this.node=null}get flags(){return this.Za.flags}set flags(a){this.Za.flags=a}get position(){return this.Za.position}set position(a){this.Za.position=a}},Lb=class{constructor(a,b,c,d){a||=this;this.parent=a;this.Qa=a.Qa;this.Ua=null;this.id=Ib++;this.name=b;this.mode=c;this.Fa={};this.Ga={};this.rdev=d}get read(){return 365===(this.mode&365)}set read(a){a?this.mode|=365:this.mode&=-366}get write(){return 146===(this.mode&146)}set write(a){a?
|
||||
this.mode|=146:this.mode&=-147}};function T(a,b={}){a=kb(a);if(!a)return{path:"",node:null};b=Object.assign({pb:!0,jb:0},b);if(8<b.jb)throw new P(32);a=a.split("/").filter(k=>!!k);for(var c=Fb,d="/",e=0;e<a.length;e++){var h=e===a.length-1;if(h&&b.parent)break;c=Db(c,a[e]);d=x(d+"/"+a[e]);c.Ua&&(!h||h&&b.pb)&&(c=c.Ua.root);if(!h||b.Ra)for(h=0;40960===(c.mode&61440);)if(c=Mb(d),d=kb(fb(d),c),c=T(d,{jb:b.jb+1}).node,40<h++)throw new P(32);}return{path:d,node:c}}
|
||||
function ja(a){for(var b;;){if(a===a.parent)return a=a.Qa.sb,b?"/"!==a[a.length-1]?`${a}/${b}`:a+b:a;b=b?`${a.name}/${b}`:a.name;a=a.parent}}function Nb(a,b){for(var c=0,d=0;d<b.length;d++)c=(c<<5)-c+b.charCodeAt(d)|0;return(a+c>>>0)%S.length}function Ob(a){var b=Nb(a.parent.id,a.name);if(S[b]===a)S[b]=a.Va;else for(b=S[b];b;){if(b.Va===a){b.Va=a.Va;break}b=b.Va}}
|
||||
function Db(a,b){var c=R(a.mode)?(c=Pb(a,"x"))?c:a.Fa.lookup?0:2:54;if(c)throw new P(c);for(c=S[Nb(a.id,b)];c;c=c.Va){var d=c.name;if(c.parent.id===a.id&&d===b)return c}return a.Fa.lookup(a,b)}function Bb(a,b,c,d){a=new Lb(a,b,c,d);b=Nb(a.parent.id,a.name);a.Va=S[b];return S[b]=a}function R(a){return 16384===(a&61440)}function Qb(a){var b=["r","w","rw"][a&3];a&512&&(b+="w");return b}
|
||||
function Pb(a,b){if(Jb)return 0;if(!b.includes("r")||a.mode&292){if(b.includes("w")&&!(a.mode&146)||b.includes("x")&&!(a.mode&73))return 2}else return 2;return 0}function Rb(a,b){try{return Db(a,b),20}catch(c){}return Pb(a,"wx")}function Sb(a,b,c){try{var d=Db(a,b)}catch(e){return e.Ja}if(a=Pb(a,"wx"))return a;if(c){if(!R(d.mode))return 54;if(d===d.parent||"/"===ja(d))return 10}else if(R(d.mode))return 31;return 0}function U(a){a=Hb[a];if(!a)throw new P(8);return a}
|
||||
function Tb(a,b=-1){a=Object.assign(new Kb,a);if(-1==b)a:{for(b=0;4096>=b;b++)if(!Hb[b])break a;throw new P(33);}a.fd=b;return Hb[b]=a}function Ub(a,b=-1){a=Tb(a,b);a.Ga?.Jb?.(a);return a}var Ab={open(a){a.Ga=Gb[a.node.rdev].Ga;a.Ga.open?.(a)},Sa(){throw new P(70);}};function vb(a,b){Gb[a]={Ga:b}}
|
||||
function Vb(a,b){var c="/"===b;if(c&&Fb)throw new P(10);if(!c&&b){var d=T(b,{pb:!1});b=d.path;d=d.node;if(d.Ua)throw new P(10);if(!R(d.mode))throw new P(54);}b={type:a,Ob:{},sb:b,Bb:[]};a=a.Qa(b);a.Qa=b;b.root=a;c?Fb=a:d&&(d.Ua=b,d.Qa&&d.Qa.Bb.push(b))}function la(a,b,c){var d=T(a,{parent:!0}).node;a=gb(a);if(!a||"."===a||".."===a)throw new P(28);var e=Rb(d,a);if(e)throw new P(e);if(!d.Fa.$a)throw new P(63);return d.Fa.$a(d,a,b,c)}function V(a,b){return la(a,(void 0!==b?b:511)&1023|16384,0)}
|
||||
function Wb(a,b,c){"undefined"==typeof c&&(c=b,b=438);la(a,b|8192,c)}function Xb(a,b){if(!kb(a))throw new P(44);var c=T(b,{parent:!0}).node;if(!c)throw new P(44);b=gb(b);var d=Rb(c,b);if(d)throw new P(d);if(!c.Fa.symlink)throw new P(63);c.Fa.symlink(c,b,a)}function Yb(a){var b=T(a,{parent:!0}).node;a=gb(a);var c=Db(b,a),d=Sb(b,a,!0);if(d)throw new P(d);if(!b.Fa.rmdir)throw new P(63);if(c.Ua)throw new P(10);b.Fa.rmdir(b,a);Ob(c)}
|
||||
function za(a){var b=T(a,{parent:!0}).node;if(!b)throw new P(44);a=gb(a);var c=Db(b,a),d=Sb(b,a,!1);if(d)throw new P(d);if(!b.Fa.unlink)throw new P(63);if(c.Ua)throw new P(10);b.Fa.unlink(b,a);Ob(c)}function Mb(a){a=T(a).node;if(!a)throw new P(44);if(!a.Fa.readlink)throw new P(28);return kb(ja(a.parent),a.Fa.readlink(a))}function Zb(a,b){a=T(a,{Ra:!b}).node;if(!a)throw new P(44);if(!a.Fa.Oa)throw new P(63);return a.Fa.Oa(a)}function $b(a){return Zb(a,!0)}
|
||||
function ma(a,b){a="string"==typeof a?T(a,{Ra:!0}).node:a;if(!a.Fa.Na)throw new P(63);a.Fa.Na(a,{mode:b&4095|a.mode&-4096,timestamp:Date.now()})}function ac(a,b){if(0>b)throw new P(28);a="string"==typeof a?T(a,{Ra:!0}).node:a;if(!a.Fa.Na)throw new P(63);if(R(a.mode))throw new P(31);if(32768!==(a.mode&61440))throw new P(28);var c=Pb(a,"w");if(c)throw new P(c);a.Fa.Na(a,{size:b,timestamp:Date.now()})}
|
||||
function na(a,b,c){if(""===a)throw new P(44);if("string"==typeof b){var d={r:0,"r+":2,w:577,"w+":578,a:1089,"a+":1090}[b];if("undefined"==typeof d)throw Error(`Unknown file open mode: ${b}`);b=d}c=b&64?("undefined"==typeof c?438:c)&4095|32768:0;if("object"==typeof a)var e=a;else{a=x(a);try{e=T(a,{Ra:!(b&131072)}).node}catch(h){}}d=!1;if(b&64)if(e){if(b&128)throw new P(20);}else e=la(a,c,0),d=!0;if(!e)throw new P(44);8192===(e.mode&61440)&&(b&=-513);if(b&65536&&!R(e.mode))throw new P(54);if(!d&&(c=
|
||||
e?40960===(e.mode&61440)?32:R(e.mode)&&("r"!==Qb(b)||b&512)?31:Pb(e,Qb(b)):44))throw new P(c);b&512&&!d&&ac(e,0);b&=-131713;e=Tb({node:e,path:ja(e),flags:b,seekable:!0,position:0,Ga:e.Ga,Db:[],error:!1});e.Ga.open&&e.Ga.open(e);!f.logReadFiles||b&1||(bc||={},a in bc||(bc[a]=1));return e}function pa(a){if(null===a.fd)throw new P(8);a.gb&&(a.gb=null);try{a.Ga.close&&a.Ga.close(a)}catch(b){throw b;}finally{Hb[a.fd]=null}a.fd=null}
|
||||
function cc(a,b,c){if(null===a.fd)throw new P(8);if(!a.seekable||!a.Ga.Sa)throw new P(70);if(0!=c&&1!=c&&2!=c)throw new P(28);a.position=a.Ga.Sa(a,b,c);a.Db=[]}function dc(a,b,c,d,e){if(0>d||0>e)throw new P(28);if(null===a.fd)throw new P(8);if(1===(a.flags&2097155))throw new P(8);if(R(a.node.mode))throw new P(31);if(!a.Ga.read)throw new P(28);var h="undefined"!=typeof e;if(!h)e=a.position;else if(!a.seekable)throw new P(70);b=a.Ga.read(a,b,c,d,e);h||(a.position+=b);return b}
|
||||
function oa(a,b,c,d,e){if(0>d||0>e)throw new P(28);if(null===a.fd)throw new P(8);if(0===(a.flags&2097155))throw new P(8);if(R(a.node.mode))throw new P(31);if(!a.Ga.write)throw new P(28);a.seekable&&a.flags&1024&&cc(a,0,2);var h="undefined"!=typeof e;if(!h)e=a.position;else if(!a.seekable)throw new P(70);b=a.Ga.write(a,b,c,d,e,void 0);h||(a.position+=b);return b}
|
||||
function ya(a){var b="binary";if("utf8"!==b&&"binary"!==b)throw Error(`Invalid encoding type "${b}"`);var c;var d=na(a,d||0);a=Zb(a).size;var e=new Uint8Array(a);dc(d,e,0,a,0);"utf8"===b?c=L(e,0):"binary"===b&&(c=e);pa(d);return c}var ec;
|
||||
function Fc(a,b,c){a=x("/dev/"+a);var d=ka(!!b,!!c);Hc||=64;var e=Hc++<<8|0;vb(e,{open(h){h.seekable=!1},close(){c?.buffer?.length&&c(10)},read(h,k,r,z){for(var v=0,E=0;E<z;E++){try{var H=b()}catch(mb){throw new P(29);}if(void 0===H&&0===v)throw new P(6);if(null===H||void 0===H)break;v++;k[r+E]=H}v&&(h.node.timestamp=Date.now());return v},write(h,k,r,z){for(var v=0;v<z;v++)try{c(k[r+v])}catch(E){throw new P(29);}z&&(h.node.timestamp=Date.now());return v}});Wb(a,d,e)}var Hc,W={},bc;
|
||||
function Ic(a,b,c){if("/"===b.charAt(0))return b;a=-100===a?"/":U(a).path;if(0==b.length){if(!c)throw new P(44);return a}return x(a+"/"+b)}
|
||||
function Jc(a,b,c){a=a(b);D[c>>2]=a.dev;D[c+4>>2]=a.mode;F[c+8>>2]=a.nlink;D[c+12>>2]=a.uid;D[c+16>>2]=a.gid;D[c+20>>2]=a.rdev;J=[a.size>>>0,(I=a.size,1<=+Math.abs(I)?0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-+(~~I>>>0))/4294967296)>>>0:0)];D[c+24>>2]=J[0];D[c+28>>2]=J[1];D[c+32>>2]=4096;D[c+36>>2]=a.blocks;b=a.atime.getTime();var d=a.mtime.getTime(),e=a.ctime.getTime();J=[Math.floor(b/1E3)>>>0,(I=Math.floor(b/1E3),1<=+Math.abs(I)?0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-+(~~I>>>
|
||||
0))/4294967296)>>>0:0)];D[c+40>>2]=J[0];D[c+44>>2]=J[1];F[c+48>>2]=b%1E3*1E3;J=[Math.floor(d/1E3)>>>0,(I=Math.floor(d/1E3),1<=+Math.abs(I)?0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-+(~~I>>>0))/4294967296)>>>0:0)];D[c+56>>2]=J[0];D[c+60>>2]=J[1];F[c+64>>2]=d%1E3*1E3;J=[Math.floor(e/1E3)>>>0,(I=Math.floor(e/1E3),1<=+Math.abs(I)?0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-+(~~I>>>0))/4294967296)>>>0:0)];D[c+72>>2]=J[0];D[c+76>>2]=J[1];F[c+80>>2]=e%1E3*1E3;J=[a.ino>>>0,(I=a.ino,1<=+Math.abs(I)?
|
||||
0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-+(~~I>>>0))/4294967296)>>>0:0)];D[c+88>>2]=J[0];D[c+92>>2]=J[1];return 0}var Kc=void 0;function Lc(){var a=D[+Kc>>2];Kc+=4;return a}
|
||||
var Mc=(a,b)=>b+2097152>>>0<4194305-!!a?(a>>>0)+4294967296*b:NaN,Nc=[0,31,60,91,121,152,182,213,244,274,305,335],Oc=[0,31,59,90,120,151,181,212,243,273,304,334],Pc={},Rc=()=>{if(!Qc){var a={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:("object"==typeof navigator&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",_:Ca||"./this.program"},b;for(b in Pc)void 0===Pc[b]?delete a[b]:a[b]=Pc[b];var c=[];for(b in a)c.push(`${b}=${a[b]}`);Qc=c}return Qc},
|
||||
Qc,va=a=>{var b=ha(a)+1,c=y(b);q(a,u,c,b);return c},Sc=(a,b,c,d)=>{var e={string:v=>{var E=0;null!==v&&void 0!==v&&0!==v&&(E=va(v));return E},array:v=>{var E=y(v.length);p.set(v,E);return E}};a=f["_"+a];var h=[],k=0;if(d)for(var r=0;r<d.length;r++){var z=e[c[r]];z?(0===k&&(k=ra()),h[r]=z(d[r])):h[r]=d[r]}c=a(...h);return c=function(v){0!==k&&ua(k);return"string"===b?v?L(u,v):"":"boolean"===b?!!v:v}(c)},ea=0,da=(a,b)=>{b=1==b?y(a.length):ia(a.length);a.subarray||a.slice||(a=new Uint8Array(a));u.set(a,
|
||||
b);return b},Tc,Uc=[],X,wa=a=>{Tc.delete(X.get(a));X.set(a,null);Uc.push(a)},Aa=(a,b)=>{if(!Tc){Tc=new WeakMap;var c=X.length;if(Tc)for(var d=0;d<0+c;d++){var e=X.get(d);e&&Tc.set(e,d)}}if(c=Tc.get(a)||0)return c;if(Uc.length)c=Uc.pop();else{try{X.grow(1)}catch(r){if(!(r instanceof RangeError))throw r;throw"Unable to grow wasm table. Set ALLOW_TABLE_GROWTH.";}c=X.length-1}try{X.set(c,a)}catch(r){if(!(r instanceof TypeError))throw r;if("function"==typeof WebAssembly.Function){d=WebAssembly.Function;
|
||||
e={i:"i32",j:"i64",f:"f32",d:"f64",e:"externref",p:"i32"};for(var h={parameters:[],results:"v"==b[0]?[]:[e[b[0]]]},k=1;k<b.length;++k)h.parameters.push(e[b[k]]);b=new d(h,a)}else{d=[1];e=b.slice(0,1);b=b.slice(1);h={i:127,p:127,j:126,f:125,d:124,e:111};d.push(96);k=b.length;128>k?d.push(k):d.push(k%128|128,k>>7);for(k=0;k<b.length;++k)d.push(h[b[k]]);"v"==e?d.push(0):d.push(1,h[e]);b=[0,97,115,109,1,0,0,0,1];e=d.length;128>e?b.push(e):b.push(e%128|128,e>>7);b.push(...d);b.push(2,7,1,1,101,1,102,0,
|
||||
0,7,5,1,1,102,0,0);b=new WebAssembly.Module(new Uint8Array(b));b=(new WebAssembly.Instance(b,{e:{f:a}})).exports.f}X.set(c,b)}Tc.set(a,c);return c};[44].forEach(a=>{Cb[a]=new P(a);Cb[a].stack="<generic error, no stack>"});S=Array(4096);Vb(Q,"/");V("/tmp");V("/home");V("/home/web_user");
|
||||
(function(){V("/dev");vb(259,{read:()=>0,write:(d,e,h,k)=>k});Wb("/dev/null",259);ub(1280,xb);ub(1536,yb);Wb("/dev/tty",1280);Wb("/dev/tty1",1536);var a=new Uint8Array(1024),b=0,c=()=>{0===b&&(b=jb(a).byteLength);return a[--b]};Fc("random",c);Fc("urandom",c);V("/dev/shm");V("/dev/shm/tmp")})();
|
||||
(function(){V("/proc");var a=V("/proc/self");V("/proc/self/fd");Vb({Qa(){var b=Bb(a,"fd",16895,73);b.Fa={lookup(c,d){var e=U(+d);c={parent:null,Qa:{sb:"fake"},Fa:{readlink:()=>e.path}};return c.parent=c}};return b}},"/proc/self/fd")})();
|
||||
var Vc={a:(a,b,c,d)=>{G(`Assertion failed: ${a?L(u,a):""}, at: `+[b?b?L(u,b):"":"unknown filename",c,d?d?L(u,d):"":"unknown function"])},h:function(a,b){try{return a=a?L(u,a):"",ma(a,b),0}catch(c){if("undefined"==typeof W||"ErrnoError"!==c.name)throw c;return-c.Ja}},H:function(a,b,c){try{b=b?L(u,b):"";b=Ic(a,b);if(c&-8)return-28;var d=T(b,{Ra:!0}).node;if(!d)return-44;a="";c&4&&(a+="r");c&2&&(a+="w");c&1&&(a+="x");return a&&Pb(d,a)?-2:0}catch(e){if("undefined"==typeof W||"ErrnoError"!==e.name)throw e;
|
||||
return-e.Ja}},i:function(a,b){try{var c=U(a);ma(c.node,b);return 0}catch(d){if("undefined"==typeof W||"ErrnoError"!==d.name)throw d;return-d.Ja}},g:function(a){try{var b=U(a).node;var c="string"==typeof b?T(b,{Ra:!0}).node:b;if(!c.Fa.Na)throw new P(63);c.Fa.Na(c,{timestamp:Date.now()});return 0}catch(d){if("undefined"==typeof W||"ErrnoError"!==d.name)throw d;return-d.Ja}},b:function(a,b,c){Kc=c;try{var d=U(a);switch(b){case 0:var e=Lc();if(0>e)break;for(;Hb[e];)e++;return Ub(d,e).fd;case 1:case 2:return 0;
|
||||
case 3:return d.flags;case 4:return e=Lc(),d.flags|=e,0;case 12:return e=Lc(),La[e+0>>1]=2,0;case 13:case 14:return 0}return-28}catch(h){if("undefined"==typeof W||"ErrnoError"!==h.name)throw h;return-h.Ja}},f:function(a,b){try{var c=U(a);return Jc(Zb,c.path,b)}catch(d){if("undefined"==typeof W||"ErrnoError"!==d.name)throw d;return-d.Ja}},n:function(a,b,c){b=Mc(b,c);try{if(isNaN(b))return 61;var d=U(a);if(0===(d.flags&2097155))throw new P(28);ac(d.node,b);return 0}catch(e){if("undefined"==typeof W||
|
||||
"ErrnoError"!==e.name)throw e;return-e.Ja}},C:function(a,b){try{if(0===b)return-28;var c=ha("/")+1;if(b<c)return-68;q("/",u,a,b);return c}catch(d){if("undefined"==typeof W||"ErrnoError"!==d.name)throw d;return-d.Ja}},F:function(a,b){try{return a=a?L(u,a):"",Jc($b,a,b)}catch(c){if("undefined"==typeof W||"ErrnoError"!==c.name)throw c;return-c.Ja}},z:function(a,b,c){try{return b=b?L(u,b):"",b=Ic(a,b),b=x(b),"/"===b[b.length-1]&&(b=b.substr(0,b.length-1)),V(b,c),0}catch(d){if("undefined"==typeof W||"ErrnoError"!==
|
||||
d.name)throw d;return-d.Ja}},E:function(a,b,c,d){try{b=b?L(u,b):"";var e=d&256;b=Ic(a,b,d&4096);return Jc(e?$b:Zb,b,c)}catch(h){if("undefined"==typeof W||"ErrnoError"!==h.name)throw h;return-h.Ja}},x:function(a,b,c,d){Kc=d;try{b=b?L(u,b):"";b=Ic(a,b);var e=d?Lc():0;return na(b,c,e).fd}catch(h){if("undefined"==typeof W||"ErrnoError"!==h.name)throw h;return-h.Ja}},v:function(a,b,c,d){try{b=b?L(u,b):"";b=Ic(a,b);if(0>=d)return-28;var e=Mb(b),h=Math.min(d,ha(e)),k=p[c+h];q(e,u,c,d+1);p[c+h]=k;return h}catch(r){if("undefined"==
|
||||
typeof W||"ErrnoError"!==r.name)throw r;return-r.Ja}},u:function(a){try{return a=a?L(u,a):"",Yb(a),0}catch(b){if("undefined"==typeof W||"ErrnoError"!==b.name)throw b;return-b.Ja}},G:function(a,b){try{return a=a?L(u,a):"",Jc(Zb,a,b)}catch(c){if("undefined"==typeof W||"ErrnoError"!==c.name)throw c;return-c.Ja}},r:function(a,b,c){try{return b=b?L(u,b):"",b=Ic(a,b),0===c?za(b):512===c?Yb(b):G("Invalid flags passed to unlinkat"),0}catch(d){if("undefined"==typeof W||"ErrnoError"!==d.name)throw d;return-d.Ja}},
|
||||
q:function(a,b,c){try{b=b?L(u,b):"";b=Ic(a,b,!0);if(c){var d=F[c>>2]+4294967296*D[c+4>>2],e=D[c+8>>2];h=1E3*d+e/1E6;c+=16;d=F[c>>2]+4294967296*D[c+4>>2];e=D[c+8>>2];k=1E3*d+e/1E6}else var h=Date.now(),k=h;a=h;var r=T(b,{Ra:!0}).node;r.Fa.Na(r,{timestamp:Math.max(a,k)});return 0}catch(z){if("undefined"==typeof W||"ErrnoError"!==z.name)throw z;return-z.Ja}},l:function(a,b,c){a=new Date(1E3*Mc(a,b));D[c>>2]=a.getSeconds();D[c+4>>2]=a.getMinutes();D[c+8>>2]=a.getHours();D[c+12>>2]=a.getDate();D[c+16>>
|
||||
2]=a.getMonth();D[c+20>>2]=a.getFullYear()-1900;D[c+24>>2]=a.getDay();b=a.getFullYear();D[c+28>>2]=(0!==b%4||0===b%100&&0!==b%400?Oc:Nc)[a.getMonth()]+a.getDate()-1|0;D[c+36>>2]=-(60*a.getTimezoneOffset());b=(new Date(a.getFullYear(),6,1)).getTimezoneOffset();var d=(new Date(a.getFullYear(),0,1)).getTimezoneOffset();D[c+32>>2]=(b!=d&&a.getTimezoneOffset()==Math.min(d,b))|0},j:function(a,b,c,d,e,h,k,r){e=Mc(e,h);try{if(isNaN(e))return 61;var z=U(d);if(0!==(b&2)&&0===(c&2)&&2!==(z.flags&2097155))throw new P(2);
|
||||
if(1===(z.flags&2097155))throw new P(2);if(!z.Ga.ab)throw new P(43);var v=z.Ga.ab(z,a,e,b,c);var E=v.Cb;D[k>>2]=v.tb;F[r>>2]=E;return 0}catch(H){if("undefined"==typeof W||"ErrnoError"!==H.name)throw H;return-H.Ja}},k:function(a,b,c,d,e,h,k){h=Mc(h,k);try{var r=U(e);if(c&2){if(32768!==(r.node.mode&61440))throw new P(43);if(!(d&2)){var z=u.slice(a,a+b);r.Ga.bb&&r.Ga.bb(r,z,h,b,d)}}}catch(v){if("undefined"==typeof W||"ErrnoError"!==v.name)throw v;return-v.Ja}},y:(a,b,c,d)=>{var e=(new Date).getFullYear(),
|
||||
h=(new Date(e,0,1)).getTimezoneOffset();e=(new Date(e,6,1)).getTimezoneOffset();F[a>>2]=60*Math.max(h,e);D[b>>2]=Number(h!=e);b=k=>{var r=Math.abs(k);return`UTC${0<=k?"-":"+"}${String(Math.floor(r/60)).padStart(2,"0")}${String(r%60).padStart(2,"0")}`};a=b(h);b=b(e);e<h?(q(a,u,c,17),q(b,u,d,17)):(q(a,u,d,17),q(b,u,c,17))},d:()=>Date.now(),s:()=>2147483648,c:()=>performance.now(),o:a=>{var b=u.length;a>>>=0;if(2147483648<a)return!1;for(var c=1;4>=c;c*=2){var d=b*(1+.2/c);d=Math.min(d,a+100663296);var e=
|
||||
Math;d=Math.max(a,d);a:{e=(e.min.call(e,2147483648,d+(65536-d%65536)%65536)-Ja.buffer.byteLength+65535)/65536;try{Ja.grow(e);Oa();var h=1;break a}catch(k){}h=void 0}if(h)return!0}return!1},A:(a,b)=>{var c=0;Rc().forEach((d,e)=>{var h=b+c;e=F[a+4*e>>2]=h;for(h=0;h<d.length;++h)p[e++]=d.charCodeAt(h);p[e]=0;c+=d.length+1});return 0},B:(a,b)=>{var c=Rc();F[a>>2]=c.length;var d=0;c.forEach(e=>d+=e.length+1);F[b>>2]=d;return 0},e:function(a){try{var b=U(a);pa(b);return 0}catch(c){if("undefined"==typeof W||
|
||||
"ErrnoError"!==c.name)throw c;return c.Ja}},p:function(a,b){try{var c=U(a);p[b]=c.tty?2:R(c.mode)?3:40960===(c.mode&61440)?7:4;La[b+2>>1]=0;J=[0,(I=0,1<=+Math.abs(I)?0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-+(~~I>>>0))/4294967296)>>>0:0)];D[b+8>>2]=J[0];D[b+12>>2]=J[1];J=[0,(I=0,1<=+Math.abs(I)?0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-+(~~I>>>0))/4294967296)>>>0:0)];D[b+16>>2]=J[0];D[b+20>>2]=J[1];return 0}catch(d){if("undefined"==typeof W||"ErrnoError"!==d.name)throw d;return d.Ja}},
|
||||
w:function(a,b,c,d){try{a:{var e=U(a);a=b;for(var h,k=b=0;k<c;k++){var r=F[a>>2],z=F[a+4>>2];a+=8;var v=dc(e,p,r,z,h);if(0>v){var E=-1;break a}b+=v;if(v<z)break;"undefined"!=typeof h&&(h+=v)}E=b}F[d>>2]=E;return 0}catch(H){if("undefined"==typeof W||"ErrnoError"!==H.name)throw H;return H.Ja}},m:function(a,b,c,d,e){b=Mc(b,c);try{if(isNaN(b))return 61;var h=U(a);cc(h,b,d);J=[h.position>>>0,(I=h.position,1<=+Math.abs(I)?0<I?+Math.floor(I/4294967296)>>>0:~~+Math.ceil((I-+(~~I>>>0))/4294967296)>>>0:0)];
|
||||
D[e>>2]=J[0];D[e+4>>2]=J[1];h.gb&&0===b&&0===d&&(h.gb=null);return 0}catch(k){if("undefined"==typeof W||"ErrnoError"!==k.name)throw k;return k.Ja}},D:function(a){try{var b=U(a);return b.Ga?.fsync?b.Ga.fsync(b):0}catch(c){if("undefined"==typeof W||"ErrnoError"!==c.name)throw c;return c.Ja}},t:function(a,b,c,d){try{a:{var e=U(a);a=b;for(var h,k=b=0;k<c;k++){var r=F[a>>2],z=F[a+4>>2];a+=8;var v=oa(e,p,r,z,h);if(0>v){var E=-1;break a}b+=v;"undefined"!=typeof h&&(h+=v)}E=b}F[d>>2]=E;return 0}catch(H){if("undefined"==
|
||||
typeof W||"ErrnoError"!==H.name)throw H;return H.Ja}}},Z=function(){function a(c){Z=c.exports;Ja=Z.I;Oa();X=Z.K;Qa.unshift(Z.J);Ua--;f.monitorRunDependencies?.(Ua);0==Ua&&(null!==Va&&(clearInterval(Va),Va=null),Wa&&(c=Wa,Wa=null,c()));return Z}var b={a:Vc};Ua++;f.monitorRunDependencies?.(Ua);if(f.instantiateWasm)try{return f.instantiateWasm(b,a)}catch(c){return C(`Module.instantiateWasm callback failed with error: ${c}`),!1}Ya||=Xa("sql-wasm.wasm")?"sql-wasm.wasm":f.locateFile?f.locateFile("sql-wasm.wasm",
|
||||
B):B+"sql-wasm.wasm";bb(b,function(c){a(c.instance)});return{}}();f._sqlite3_free=a=>(f._sqlite3_free=Z.L)(a);f._sqlite3_value_text=a=>(f._sqlite3_value_text=Z.M)(a);f._sqlite3_prepare_v2=(a,b,c,d,e)=>(f._sqlite3_prepare_v2=Z.N)(a,b,c,d,e);f._sqlite3_step=a=>(f._sqlite3_step=Z.O)(a);f._sqlite3_reset=a=>(f._sqlite3_reset=Z.P)(a);f._sqlite3_exec=(a,b,c,d,e)=>(f._sqlite3_exec=Z.Q)(a,b,c,d,e);f._sqlite3_finalize=a=>(f._sqlite3_finalize=Z.R)(a);
|
||||
f._sqlite3_column_name=(a,b)=>(f._sqlite3_column_name=Z.S)(a,b);f._sqlite3_column_text=(a,b)=>(f._sqlite3_column_text=Z.T)(a,b);f._sqlite3_column_type=(a,b)=>(f._sqlite3_column_type=Z.U)(a,b);f._sqlite3_errmsg=a=>(f._sqlite3_errmsg=Z.V)(a);f._sqlite3_clear_bindings=a=>(f._sqlite3_clear_bindings=Z.W)(a);f._sqlite3_value_blob=a=>(f._sqlite3_value_blob=Z.X)(a);f._sqlite3_value_bytes=a=>(f._sqlite3_value_bytes=Z.Y)(a);f._sqlite3_value_double=a=>(f._sqlite3_value_double=Z.Z)(a);
|
||||
f._sqlite3_value_int=a=>(f._sqlite3_value_int=Z._)(a);f._sqlite3_value_type=a=>(f._sqlite3_value_type=Z.$)(a);f._sqlite3_result_blob=(a,b,c,d)=>(f._sqlite3_result_blob=Z.aa)(a,b,c,d);f._sqlite3_result_double=(a,b)=>(f._sqlite3_result_double=Z.ba)(a,b);f._sqlite3_result_error=(a,b,c)=>(f._sqlite3_result_error=Z.ca)(a,b,c);f._sqlite3_result_int=(a,b)=>(f._sqlite3_result_int=Z.da)(a,b);f._sqlite3_result_int64=(a,b,c)=>(f._sqlite3_result_int64=Z.ea)(a,b,c);
|
||||
f._sqlite3_result_null=a=>(f._sqlite3_result_null=Z.fa)(a);f._sqlite3_result_text=(a,b,c,d)=>(f._sqlite3_result_text=Z.ga)(a,b,c,d);f._sqlite3_aggregate_context=(a,b)=>(f._sqlite3_aggregate_context=Z.ha)(a,b);f._sqlite3_column_count=a=>(f._sqlite3_column_count=Z.ia)(a);f._sqlite3_data_count=a=>(f._sqlite3_data_count=Z.ja)(a);f._sqlite3_column_blob=(a,b)=>(f._sqlite3_column_blob=Z.ka)(a,b);f._sqlite3_column_bytes=(a,b)=>(f._sqlite3_column_bytes=Z.la)(a,b);
|
||||
f._sqlite3_column_double=(a,b)=>(f._sqlite3_column_double=Z.ma)(a,b);f._sqlite3_bind_blob=(a,b,c,d,e)=>(f._sqlite3_bind_blob=Z.na)(a,b,c,d,e);f._sqlite3_bind_double=(a,b,c)=>(f._sqlite3_bind_double=Z.oa)(a,b,c);f._sqlite3_bind_int=(a,b,c)=>(f._sqlite3_bind_int=Z.pa)(a,b,c);f._sqlite3_bind_text=(a,b,c,d,e)=>(f._sqlite3_bind_text=Z.qa)(a,b,c,d,e);f._sqlite3_bind_parameter_index=(a,b)=>(f._sqlite3_bind_parameter_index=Z.ra)(a,b);f._sqlite3_sql=a=>(f._sqlite3_sql=Z.sa)(a);
|
||||
f._sqlite3_normalized_sql=a=>(f._sqlite3_normalized_sql=Z.ta)(a);f._sqlite3_changes=a=>(f._sqlite3_changes=Z.ua)(a);f._sqlite3_close_v2=a=>(f._sqlite3_close_v2=Z.va)(a);f._sqlite3_create_function_v2=(a,b,c,d,e,h,k,r,z)=>(f._sqlite3_create_function_v2=Z.wa)(a,b,c,d,e,h,k,r,z);f._sqlite3_open=(a,b)=>(f._sqlite3_open=Z.xa)(a,b);var ia=f._malloc=a=>(ia=f._malloc=Z.ya)(a),fa=f._free=a=>(fa=f._free=Z.za)(a);f._RegisterExtensionFunctions=a=>(f._RegisterExtensionFunctions=Z.Aa)(a);
|
||||
var Eb=(a,b)=>(Eb=Z.Ba)(a,b),ua=a=>(ua=Z.Ca)(a),y=a=>(y=Z.Da)(a),ra=()=>(ra=Z.Ea)();f.stackSave=()=>ra();f.stackRestore=a=>ua(a);f.stackAlloc=a=>y(a);f.cwrap=(a,b,c,d)=>{var e=!c||c.every(h=>"number"===h||"boolean"===h);return"string"!==b&&e&&!d?f["_"+a]:(...h)=>Sc(a,b,c,h)};f.addFunction=Aa;f.removeFunction=wa;f.UTF8ToString=ta;f.ALLOC_NORMAL=ea;f.allocate=da;f.allocateUTF8OnStack=va;var Wc;Wa=function Xc(){Wc||Yc();Wc||(Wa=Xc)};
|
||||
function Yc(){function a(){if(!Wc&&(Wc=!0,f.calledRun=!0,!Ka)){f.noFSInit||ec||(ec=!0,f.stdin=f.stdin,f.stdout=f.stdout,f.stderr=f.stderr,f.stdin?Fc("stdin",f.stdin):Xb("/dev/tty","/dev/stdin"),f.stdout?Fc("stdout",null,f.stdout):Xb("/dev/tty","/dev/stdout"),f.stderr?Fc("stderr",null,f.stderr):Xb("/dev/tty1","/dev/stderr"),na("/dev/stdin",0),na("/dev/stdout",1),na("/dev/stderr",1));Jb=!1;cb(Qa);f.onRuntimeInitialized?.();if(f.postRun)for("function"==typeof f.postRun&&(f.postRun=[f.postRun]);f.postRun.length;){var b=
|
||||
f.postRun.shift();Sa.unshift(b)}cb(Sa)}}if(!(0<Ua)){if(f.preRun)for("function"==typeof f.preRun&&(f.preRun=[f.preRun]);f.preRun.length;)Ta();cb(Pa);0<Ua||(f.setStatus?(f.setStatus("Running..."),setTimeout(function(){setTimeout(function(){f.setStatus("")},1);a()},1)):a())}}if(f.preInit)for("function"==typeof f.preInit&&(f.preInit=[f.preInit]);0<f.preInit.length;)f.preInit.pop()();Yc();
|
||||
|
||||
|
||||
// The shell-pre.js and emcc-generated code goes above
|
||||
return Module;
|
||||
}); // The end of the promise being returned
|
||||
|
||||
return initSqlJsPromise;
|
||||
} // The end of our initSqlJs function
|
||||
|
||||
// This bit below is copied almost exactly from what you get when you use the MODULARIZE=1 flag with emcc
|
||||
// However, we don't want to use the emcc modularization. See shell-pre.js
|
||||
if (typeof exports === 'object' && typeof module === 'object'){
|
||||
module.exports = initSqlJs;
|
||||
// This will allow the module to be used in ES6 or CommonJS
|
||||
module.exports.default = initSqlJs;
|
||||
}
|
||||
else if (typeof define === 'function' && define['amd']) {
|
||||
define([], function() { return initSqlJs; });
|
||||
}
|
||||
else if (typeof exports === 'object'){
|
||||
exports["Module"] = initSqlJs;
|
||||
}
|
||||
@@ -0,0 +1,167 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Delete Sync Account - Inner Breeze</title>
|
||||
<link href="/style.css" rel="stylesheet" />
|
||||
<meta name="description" content="Delete an Inner Breeze remote sync account using the exported inbe-sync.key file.">
|
||||
<meta name="theme-color" content="#5566aa">
|
||||
<style>
|
||||
.account-delete-form {
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
max-width: 760px;
|
||||
}
|
||||
.account-delete-form label {
|
||||
display: grid;
|
||||
gap: 0.4rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
.account-delete-form input,
|
||||
.account-delete-form textarea {
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
border: 1px solid #aeb6d8;
|
||||
background: #fff;
|
||||
color: #18202a;
|
||||
font: inherit;
|
||||
padding: 0.75rem;
|
||||
}
|
||||
.account-delete-form textarea {
|
||||
min-height: 220px;
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
.account-delete-form button {
|
||||
width: fit-content;
|
||||
border: 0;
|
||||
background: #4b557f;
|
||||
color: #fff;
|
||||
font: inherit;
|
||||
font-weight: 700;
|
||||
padding: 0.85rem 1rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
.account-delete-form button:disabled {
|
||||
opacity: 0.65;
|
||||
cursor: wait;
|
||||
}
|
||||
.status {
|
||||
border: 1px solid #aeb6d8;
|
||||
padding: 0.85rem;
|
||||
max-width: 760px;
|
||||
}
|
||||
.status:empty {
|
||||
display: none;
|
||||
}
|
||||
.status.success {
|
||||
border-color: #38835f;
|
||||
color: #205b41;
|
||||
}
|
||||
.status.error {
|
||||
border-color: #b85252;
|
||||
color: #8a2626;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="content">
|
||||
<section>
|
||||
<h1>Delete Sync Account</h1>
|
||||
<p>Use this page to delete the remote Inner Breeze sync account on the default server. Offline app data on your device is not changed.</p>
|
||||
</section>
|
||||
|
||||
<section class="tool-section">
|
||||
<h2>Required Proof</h2>
|
||||
<p>This deletion requires the exported <code>inbe-sync.key</code> file from Inner Breeze. Current exports include the sync public ID automatically. The key is sent over HTTPS to the sync server only to prove ownership and delete the account. It is not stored.</p>
|
||||
<p>If you lost the exported key, this page cannot delete the remote sync account. Delete local app data from your device settings or from the app's local data controls.</p>
|
||||
</section>
|
||||
|
||||
<section class="tool-section">
|
||||
<h2>Account Deletion</h2>
|
||||
<form id="delete-form" class="account-delete-form">
|
||||
<label>
|
||||
Upload exported key
|
||||
<input id="key-file" name="key_file" type="file" accept=".key,.txt,text/plain">
|
||||
</label>
|
||||
<label>
|
||||
Exported key text
|
||||
<textarea id="exported-key" name="exported_key" spellcheck="false" required readonly placeholder="Upload inbe-sync.key to preview its contents here"></textarea>
|
||||
</label>
|
||||
<button id="delete-button" type="submit">Delete Sync Account</button>
|
||||
</form>
|
||||
<p id="status" class="status" role="status" aria-live="polite"></p>
|
||||
</section>
|
||||
|
||||
<section class="tool-section">
|
||||
<h2>What Gets Deleted</h2>
|
||||
<p>The default sync server removes the remote account row and mirrored sync data for the public ID inside the exported key, including sessions, meditation logs, habits, habit days, and synced preferences. Your local device data, exported backups, and donation records are not part of the sync account.</p>
|
||||
</section>
|
||||
|
||||
<footer>
|
||||
<p><a href="/">Back to Inner Breeze</a> | <a href="/privacy.html">Privacy Policy</a></p>
|
||||
</footer>
|
||||
</div>
|
||||
<script>
|
||||
const apiURL = "https://api.waozi.xyz/api/v1/account/delete-with-key";
|
||||
const keyFile = document.getElementById("key-file");
|
||||
const keyText = document.getElementById("exported-key");
|
||||
const form = document.getElementById("delete-form");
|
||||
const button = document.getElementById("delete-button");
|
||||
const statusBox = document.getElementById("status");
|
||||
|
||||
function setStatus(kind, message) {
|
||||
statusBox.className = "status " + kind;
|
||||
statusBox.textContent = message;
|
||||
}
|
||||
|
||||
function keyField(text, name) {
|
||||
const pattern = new RegExp("^" + name + "=(.+)$", "im");
|
||||
const match = text.match(pattern);
|
||||
return match ? match[1].trim() : "";
|
||||
}
|
||||
|
||||
keyFile.addEventListener("change", async () => {
|
||||
const file = keyFile.files && keyFile.files[0];
|
||||
if (!file) return;
|
||||
keyText.value = await file.text();
|
||||
});
|
||||
|
||||
form.addEventListener("submit", async (event) => {
|
||||
event.preventDefault();
|
||||
const exportedKey = keyText.value.trim();
|
||||
if (!exportedKey.startsWith("lyra-account-key-v1") &&
|
||||
!exportedKey.startsWith("inbe-sync-key-v1") &&
|
||||
!exportedKey.startsWith("account-key-v1")) {
|
||||
setStatus("error", "Upload the exported account key file.");
|
||||
return;
|
||||
}
|
||||
const userID = keyField(exportedKey, "public_id").toLowerCase();
|
||||
if (!/^[0-9a-f]{64}$/.test(userID)) {
|
||||
setStatus("error", "This key file does not include public_id. Export a new account key from the current app.");
|
||||
return;
|
||||
}
|
||||
button.disabled = true;
|
||||
setStatus("", "Deleting sync account...");
|
||||
try {
|
||||
const response = await fetch(apiURL, {
|
||||
method: "POST",
|
||||
headers: {"Content-Type": "application/json"},
|
||||
body: JSON.stringify({user_id_hash: userID, exported_key: exportedKey})
|
||||
});
|
||||
const payload = await response.json().catch(() => ({}));
|
||||
if (!response.ok) {
|
||||
throw new Error(payload.error || "Deletion failed");
|
||||
}
|
||||
keyText.value = "";
|
||||
setStatus("success", "Remote sync account deleted.");
|
||||
} catch (error) {
|
||||
setStatus("error", error.message || "Deletion failed");
|
||||
} finally {
|
||||
button.disabled = false;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,167 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Delete Sync Account - Inner Breeze</title>
|
||||
<link href="/style.css" rel="stylesheet" />
|
||||
<meta name="description" content="Delete an Inner Breeze remote sync account using the exported inbe-sync.key file.">
|
||||
<meta name="theme-color" content="#5566aa">
|
||||
<style>
|
||||
.account-delete-form {
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
max-width: 760px;
|
||||
}
|
||||
.account-delete-form label {
|
||||
display: grid;
|
||||
gap: 0.4rem;
|
||||
font-weight: 700;
|
||||
}
|
||||
.account-delete-form input,
|
||||
.account-delete-form textarea {
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
border: 1px solid #aeb6d8;
|
||||
background: #fff;
|
||||
color: #18202a;
|
||||
font: inherit;
|
||||
padding: 0.75rem;
|
||||
}
|
||||
.account-delete-form textarea {
|
||||
min-height: 220px;
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
||||
font-size: 0.9rem;
|
||||
}
|
||||
.account-delete-form button {
|
||||
width: fit-content;
|
||||
border: 0;
|
||||
background: #4b557f;
|
||||
color: #fff;
|
||||
font: inherit;
|
||||
font-weight: 700;
|
||||
padding: 0.85rem 1rem;
|
||||
cursor: pointer;
|
||||
}
|
||||
.account-delete-form button:disabled {
|
||||
opacity: 0.65;
|
||||
cursor: wait;
|
||||
}
|
||||
.status {
|
||||
border: 1px solid #aeb6d8;
|
||||
padding: 0.85rem;
|
||||
max-width: 760px;
|
||||
}
|
||||
.status:empty {
|
||||
display: none;
|
||||
}
|
||||
.status.success {
|
||||
border-color: #38835f;
|
||||
color: #205b41;
|
||||
}
|
||||
.status.error {
|
||||
border-color: #b85252;
|
||||
color: #8a2626;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="content">
|
||||
<section>
|
||||
<h1>Delete Sync Account</h1>
|
||||
<p>Use this page to delete the remote Inner Breeze sync account on the default server. Offline app data on your device is not changed.</p>
|
||||
</section>
|
||||
|
||||
<section class="tool-section">
|
||||
<h2>Required Proof</h2>
|
||||
<p>This deletion requires the exported <code>inbe-sync.key</code> file from Inner Breeze. Current exports include the sync public ID automatically. The key is sent over HTTPS to the sync server only to prove ownership and delete the account. It is not stored.</p>
|
||||
<p>If you lost the exported key, this page cannot delete the remote sync account. Delete local app data from your device settings or from the app's local data controls.</p>
|
||||
</section>
|
||||
|
||||
<section class="tool-section">
|
||||
<h2>Account Deletion</h2>
|
||||
<form id="delete-form" class="account-delete-form">
|
||||
<label>
|
||||
Upload exported key
|
||||
<input id="key-file" name="key_file" type="file" accept=".key,.txt,text/plain">
|
||||
</label>
|
||||
<label>
|
||||
Exported key text
|
||||
<textarea id="exported-key" name="exported_key" spellcheck="false" required readonly placeholder="Upload inbe-sync.key to preview its contents here"></textarea>
|
||||
</label>
|
||||
<button id="delete-button" type="submit">Delete Sync Account</button>
|
||||
</form>
|
||||
<p id="status" class="status" role="status" aria-live="polite"></p>
|
||||
</section>
|
||||
|
||||
<section class="tool-section">
|
||||
<h2>What Gets Deleted</h2>
|
||||
<p>The default sync server removes the remote account row and mirrored sync data for the public ID inside the exported key, including sessions, meditation logs, habits, habit days, and synced preferences. Your local device data, exported backups, and donation records are not part of the sync account.</p>
|
||||
</section>
|
||||
|
||||
<footer>
|
||||
<p><a href="/">Back to Inner Breeze</a> | <a href="/privacy.html">Privacy Policy</a></p>
|
||||
</footer>
|
||||
</div>
|
||||
<script>
|
||||
const apiURL = "https://api.waozi.xyz/api/v1/account/delete-with-key";
|
||||
const keyFile = document.getElementById("key-file");
|
||||
const keyText = document.getElementById("exported-key");
|
||||
const form = document.getElementById("delete-form");
|
||||
const button = document.getElementById("delete-button");
|
||||
const statusBox = document.getElementById("status");
|
||||
|
||||
function setStatus(kind, message) {
|
||||
statusBox.className = "status " + kind;
|
||||
statusBox.textContent = message;
|
||||
}
|
||||
|
||||
function keyField(text, name) {
|
||||
const pattern = new RegExp("^" + name + "=(.+)$", "im");
|
||||
const match = text.match(pattern);
|
||||
return match ? match[1].trim() : "";
|
||||
}
|
||||
|
||||
keyFile.addEventListener("change", async () => {
|
||||
const file = keyFile.files && keyFile.files[0];
|
||||
if (!file) return;
|
||||
keyText.value = await file.text();
|
||||
});
|
||||
|
||||
form.addEventListener("submit", async (event) => {
|
||||
event.preventDefault();
|
||||
const exportedKey = keyText.value.trim();
|
||||
if (!exportedKey.startsWith("lyra-account-key-v1") &&
|
||||
!exportedKey.startsWith("inbe-sync-key-v1") &&
|
||||
!exportedKey.startsWith("account-key-v1")) {
|
||||
setStatus("error", "Upload the exported account key file.");
|
||||
return;
|
||||
}
|
||||
const userID = keyField(exportedKey, "public_id").toLowerCase();
|
||||
if (!/^[0-9a-f]{64}$/.test(userID)) {
|
||||
setStatus("error", "This key file does not include public_id. Export a new account key from the current app.");
|
||||
return;
|
||||
}
|
||||
button.disabled = true;
|
||||
setStatus("", "Deleting sync account...");
|
||||
try {
|
||||
const response = await fetch(apiURL, {
|
||||
method: "POST",
|
||||
headers: {"Content-Type": "application/json"},
|
||||
body: JSON.stringify({user_id_hash: userID, exported_key: exportedKey})
|
||||
});
|
||||
const payload = await response.json().catch(() => ({}));
|
||||
if (!response.ok) {
|
||||
throw new Error(payload.error || "Deletion failed");
|
||||
}
|
||||
keyText.value = "";
|
||||
setStatus("success", "Remote sync account deleted.");
|
||||
} catch (error) {
|
||||
setStatus("error", error.message || "Deletion failed");
|
||||
} finally {
|
||||
button.disabled = false;
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,395 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<meta charset="utf-8" />
|
||||
<head>
|
||||
<title>Inner Breeze Legacy Data Converter</title>
|
||||
<link href="/style.css" rel="stylesheet" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="description" content="Convert inbe-legacy JSON exports into the current Inner Breeze import ZIP format.">
|
||||
<link rel="canonical" href="https://inbe.waozi.xyz/legacy-converter.html">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="content">
|
||||
<main id="main-content">
|
||||
<section class="tool-section">
|
||||
<h1>Legacy Data Converter</h1>
|
||||
<p>Coming from inbe-legacy? Convert the old JSON export into the SQLite ZIP file used by the current Inner Breeze import tool.</p>
|
||||
<p class="safety-note"><em>This runs entirely in your browser. Your file is not uploaded.</em></p>
|
||||
|
||||
<div class="converter-panel">
|
||||
<label for="legacy-file">inbe-legacy JSON export</label>
|
||||
<input id="legacy-file" type="file" accept=".json,application/json">
|
||||
<button id="convert-button" type="button">Convert to Inbe SQLite ZIP</button>
|
||||
<p id="converter-status" class="converter-status" role="status">Choose an inbe-legacy JSON export.</p>
|
||||
</div>
|
||||
|
||||
<p><a href="/">Back to downloads</a></p>
|
||||
</section>
|
||||
</main>
|
||||
<footer>
|
||||
<p>© 2026 <a href="https://waozi.xyz">Waozi</a> | <a href="/privacy.html">Privacy Policy</a></p>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<script src="/assets/sqljs-1.12.0/sql-wasm.js"></script>
|
||||
<script>
|
||||
(function() {
|
||||
"use strict";
|
||||
|
||||
var fileInput = document.getElementById("legacy-file");
|
||||
var convertButton = document.getElementById("convert-button");
|
||||
var statusEl = document.getElementById("converter-status");
|
||||
var sqlReady = initSqlJs({
|
||||
locateFile: function(file) {
|
||||
return "/assets/sqljs-1.12.0/" + file;
|
||||
}
|
||||
});
|
||||
|
||||
function setStatus(message, isError) {
|
||||
statusEl.textContent = message;
|
||||
statusEl.className = isError ? "converter-status error" : "converter-status";
|
||||
}
|
||||
|
||||
function pad(value, width) {
|
||||
var text = String(value);
|
||||
while(text.length < width) text = "0" + text;
|
||||
return text;
|
||||
}
|
||||
|
||||
function parseDateValue(value) {
|
||||
var numeric;
|
||||
var date;
|
||||
|
||||
if(value === null || value === undefined || value === "") {
|
||||
return null;
|
||||
}
|
||||
|
||||
numeric = Number(value);
|
||||
if(Number.isFinite(numeric) && numeric > 0) {
|
||||
if(numeric < 100000000000) numeric *= 1000;
|
||||
date = new Date(numeric);
|
||||
} else if(typeof value === "string") {
|
||||
date = new Date(value);
|
||||
}
|
||||
|
||||
if(!date || Number.isNaN(date.getTime())) {
|
||||
return null;
|
||||
}
|
||||
return date;
|
||||
}
|
||||
|
||||
function dosDateTime(date) {
|
||||
var year = date.getFullYear();
|
||||
if(year < 1980) year = 1980;
|
||||
return {
|
||||
time: (date.getHours() << 11) | (date.getMinutes() << 5) | Math.floor(date.getSeconds() / 2),
|
||||
date: ((year - 1980) << 9) | ((date.getMonth() + 1) << 5) | date.getDate()
|
||||
};
|
||||
}
|
||||
|
||||
var crcTable = null;
|
||||
function makeCrcTable() {
|
||||
var table = [];
|
||||
for(var n = 0; n < 256; n++) {
|
||||
var c = n;
|
||||
for(var k = 0; k < 8; k++) {
|
||||
c = (c & 1) ? (0xEDB88320 ^ (c >>> 1)) : (c >>> 1);
|
||||
}
|
||||
table[n] = c >>> 0;
|
||||
}
|
||||
return table;
|
||||
}
|
||||
|
||||
function crc32(bytes) {
|
||||
if(crcTable === null) crcTable = makeCrcTable();
|
||||
var crc = 0 ^ -1;
|
||||
for(var i = 0; i < bytes.length; i++) {
|
||||
crc = (crc >>> 8) ^ crcTable[(crc ^ bytes[i]) & 0xff];
|
||||
}
|
||||
return (crc ^ -1) >>> 0;
|
||||
}
|
||||
|
||||
function writeU16(out, value) {
|
||||
out.push(value & 255, (value >>> 8) & 255);
|
||||
}
|
||||
|
||||
function writeU32(out, value) {
|
||||
out.push(value & 255, (value >>> 8) & 255, (value >>> 16) & 255, (value >>> 24) & 255);
|
||||
}
|
||||
|
||||
function appendBytes(out, bytes) {
|
||||
for(var i = 0; i < bytes.length; i++) out.push(bytes[i]);
|
||||
}
|
||||
|
||||
function makeZip(files) {
|
||||
var encoder = new TextEncoder();
|
||||
var out = [];
|
||||
var central = [];
|
||||
var now = dosDateTime(new Date());
|
||||
|
||||
files.forEach(function(file) {
|
||||
var nameBytes = encoder.encode(file.name);
|
||||
var dataBytes = file.bytes ? file.bytes : encoder.encode(file.content);
|
||||
var crc = crc32(dataBytes);
|
||||
var offset = out.length;
|
||||
|
||||
writeU32(out, 0x04034b50);
|
||||
writeU16(out, 20);
|
||||
writeU16(out, 0);
|
||||
writeU16(out, 0);
|
||||
writeU16(out, now.time);
|
||||
writeU16(out, now.date);
|
||||
writeU32(out, crc);
|
||||
writeU32(out, dataBytes.length);
|
||||
writeU32(out, dataBytes.length);
|
||||
writeU16(out, nameBytes.length);
|
||||
writeU16(out, 0);
|
||||
appendBytes(out, nameBytes);
|
||||
appendBytes(out, dataBytes);
|
||||
|
||||
writeU32(central, 0x02014b50);
|
||||
writeU16(central, 20);
|
||||
writeU16(central, 20);
|
||||
writeU16(central, 0);
|
||||
writeU16(central, 0);
|
||||
writeU16(central, now.time);
|
||||
writeU16(central, now.date);
|
||||
writeU32(central, crc);
|
||||
writeU32(central, dataBytes.length);
|
||||
writeU32(central, dataBytes.length);
|
||||
writeU16(central, nameBytes.length);
|
||||
writeU16(central, 0);
|
||||
writeU16(central, 0);
|
||||
writeU16(central, 0);
|
||||
writeU16(central, 0);
|
||||
writeU32(central, 0);
|
||||
writeU32(central, offset);
|
||||
appendBytes(central, nameBytes);
|
||||
});
|
||||
|
||||
var centralOffset = out.length;
|
||||
appendBytes(out, central);
|
||||
writeU32(out, 0x06054b50);
|
||||
writeU16(out, 0);
|
||||
writeU16(out, 0);
|
||||
writeU16(out, files.length);
|
||||
writeU16(out, files.length);
|
||||
writeU32(out, central.length);
|
||||
writeU32(out, centralOffset);
|
||||
writeU16(out, 0);
|
||||
|
||||
return new Blob([new Uint8Array(out)], {type: "application/zip"});
|
||||
}
|
||||
|
||||
function sessionDate(session) {
|
||||
var id = session && session.id;
|
||||
var dateTime = session && session.dateTime;
|
||||
var date = parseDateValue(id);
|
||||
|
||||
if(!date) {
|
||||
date = parseDateValue(dateTime);
|
||||
}
|
||||
|
||||
if(!date) {
|
||||
return null;
|
||||
}
|
||||
return date;
|
||||
}
|
||||
|
||||
function roundSeconds(value) {
|
||||
var number = Number(value);
|
||||
if(!Number.isFinite(number) || number <= 0) return 0;
|
||||
if(number > 999) number = Math.round(number / 1000);
|
||||
else number = Math.round(number);
|
||||
if(number < 1 || number > 999) return 0;
|
||||
return number;
|
||||
}
|
||||
|
||||
function localDateValue(date) {
|
||||
return date.getFullYear() * 10000 + (date.getMonth() + 1) * 100 + date.getDate();
|
||||
}
|
||||
|
||||
function hashRounds(seconds) {
|
||||
var h = 2166136261 >>> 0;
|
||||
seconds.forEach(function(second) {
|
||||
var value = second >>> 0;
|
||||
h ^= value & 0xff;
|
||||
h = Math.imul(h, 16777619) >>> 0;
|
||||
h ^= (value >>> 8) & 0xff;
|
||||
h = Math.imul(h, 16777619) >>> 0;
|
||||
});
|
||||
return h >>> 0;
|
||||
}
|
||||
|
||||
function sessionId(startedAt, seconds) {
|
||||
return "s-" + startedAt + "-" + pad(hashRounds(seconds).toString(16), 8);
|
||||
}
|
||||
|
||||
function collectLegacySessions(data) {
|
||||
var sessions = Array.isArray(data) ? data : data.sessions;
|
||||
var converted = [];
|
||||
var usedSessions = {};
|
||||
|
||||
if(!Array.isArray(sessions)) {
|
||||
throw new Error("No sessions array found in the legacy export.");
|
||||
}
|
||||
|
||||
sessions.forEach(function(session) {
|
||||
var date = sessionDate(session);
|
||||
var rounds = session && session.rounds;
|
||||
var seconds = [];
|
||||
var startedAt;
|
||||
var id;
|
||||
|
||||
if(!date || !rounds || typeof rounds !== "object") return;
|
||||
|
||||
if(Array.isArray(rounds)) {
|
||||
rounds.forEach(function(round) {
|
||||
var value = roundSeconds(round && typeof round === "object" ? round.duration || round.seconds || round.value : round);
|
||||
if(value > 0) seconds.push(value);
|
||||
});
|
||||
} else {
|
||||
Object.keys(rounds).sort(function(a, b) {
|
||||
return Number(a) - Number(b);
|
||||
}).forEach(function(key) {
|
||||
var value = roundSeconds(rounds[key]);
|
||||
if(value > 0) seconds.push(value);
|
||||
});
|
||||
}
|
||||
|
||||
if(seconds.length === 0) return;
|
||||
|
||||
startedAt = Math.floor(date.getTime() / 1000);
|
||||
id = sessionId(startedAt, seconds);
|
||||
while(usedSessions[id]) {
|
||||
date = new Date(date.getTime() + 1000);
|
||||
startedAt = Math.floor(date.getTime() / 1000);
|
||||
id = sessionId(startedAt, seconds);
|
||||
}
|
||||
usedSessions[id] = true;
|
||||
|
||||
converted.push({
|
||||
id: id,
|
||||
startedAt: startedAt,
|
||||
localDate: localDateValue(date),
|
||||
seconds: seconds,
|
||||
roundsHash: hashRounds(seconds)
|
||||
});
|
||||
});
|
||||
|
||||
if(converted.length === 0) {
|
||||
throw new Error("No valid legacy sessions were found.");
|
||||
}
|
||||
return converted;
|
||||
}
|
||||
|
||||
function createInbeDatabase(SQL, sessions) {
|
||||
var db = new SQL.Database();
|
||||
var now = Math.floor(Date.now() / 1000);
|
||||
var userId = "legacy-converter-local";
|
||||
var sessionStmt;
|
||||
var roundStmt;
|
||||
var bytes;
|
||||
|
||||
db.run(
|
||||
"CREATE TABLE meta(key TEXT PRIMARY KEY, value TEXT NOT NULL);" +
|
||||
"CREATE TABLE users(id TEXT PRIMARY KEY, created_at INTEGER NOT NULL, kind TEXT NOT NULL);" +
|
||||
"CREATE TABLE settings(user_id TEXT NOT NULL, key TEXT NOT NULL, value TEXT NOT NULL, updated_at INTEGER NOT NULL, PRIMARY KEY(user_id,key));" +
|
||||
"CREATE TABLE sessions(id TEXT PRIMARY KEY, user_id TEXT NOT NULL, started_at INTEGER NOT NULL, local_date INTEGER NOT NULL, topic INTEGER NOT NULL DEFAULT 0, activity INTEGER NOT NULL DEFAULT 0, source TEXT NOT NULL, imported_at INTEGER NOT NULL, rounds_hash INTEGER NOT NULL, deleted_at INTEGER NOT NULL DEFAULT 0, UNIQUE(user_id,started_at,rounds_hash));" +
|
||||
"CREATE TABLE session_rounds(session_id TEXT NOT NULL, round_index INTEGER NOT NULL, seconds INTEGER NOT NULL, PRIMARY KEY(session_id,round_index));" +
|
||||
"CREATE TABLE habits(id TEXT PRIMARY KEY, user_id TEXT NOT NULL, name TEXT NOT NULL, color_r INTEGER NOT NULL, color_g INTEGER NOT NULL, color_b INTEGER NOT NULL, sync_mode INTEGER NOT NULL, sync_activity INTEGER NOT NULL, sort_order INTEGER NOT NULL, deleted_at INTEGER NOT NULL DEFAULT 0);" +
|
||||
"CREATE TABLE habit_days(habit_id TEXT NOT NULL, local_date INTEGER NOT NULL, completed INTEGER NOT NULL, updated_at INTEGER NOT NULL, PRIMARY KEY(habit_id,local_date));" +
|
||||
"CREATE TABLE imports(id TEXT PRIMARY KEY, imported_at INTEGER NOT NULL, format TEXT NOT NULL, source_name TEXT NOT NULL, session_count INTEGER NOT NULL, habit_count INTEGER NOT NULL);" +
|
||||
"INSERT INTO meta(key,value) VALUES('schema_version','1');"
|
||||
);
|
||||
db.run("INSERT INTO users(id,created_at,kind) VALUES(?,?,?)", [userId, now, "local"]);
|
||||
|
||||
sessionStmt = db.prepare("INSERT INTO sessions(id,user_id,started_at,local_date,topic,activity,source,imported_at,rounds_hash,deleted_at) VALUES(?,?,?,?,?,?,?,?,?,0)");
|
||||
roundStmt = db.prepare("INSERT INTO session_rounds(session_id,round_index,seconds) VALUES(?,?,?)");
|
||||
sessions.forEach(function(session) {
|
||||
sessionStmt.run([session.id, userId, session.startedAt, session.localDate, 0, 0, "legacy-converter", now, session.roundsHash]);
|
||||
session.seconds.forEach(function(second, index) {
|
||||
roundStmt.run([session.id, index, second]);
|
||||
});
|
||||
});
|
||||
sessionStmt.free();
|
||||
roundStmt.free();
|
||||
db.run("INSERT INTO imports(id,imported_at,format,source_name,session_count,habit_count) VALUES(?,?,?,?,?,0)", [
|
||||
"legacy-converter-" + now,
|
||||
now,
|
||||
"inbe-legacy-json",
|
||||
"legacy-converter",
|
||||
sessions.length
|
||||
]);
|
||||
|
||||
bytes = db.export();
|
||||
db.close();
|
||||
return {
|
||||
userId: userId,
|
||||
bytes: bytes
|
||||
};
|
||||
}
|
||||
|
||||
function convertLegacy(SQL, data) {
|
||||
var sessions = collectLegacySessions(data);
|
||||
var database = createInbeDatabase(SQL, sessions);
|
||||
var metadata = {
|
||||
format: "inbe-data-sqlite",
|
||||
format_version: 1,
|
||||
app_version: "legacy-converter",
|
||||
user_id: database.userId,
|
||||
session_count: sessions.length,
|
||||
habit_count: 0
|
||||
};
|
||||
|
||||
return {
|
||||
count: sessions.length,
|
||||
blob: makeZip([
|
||||
{
|
||||
name: "inbe-data/metadata.json",
|
||||
content: JSON.stringify(metadata, null, 2) + "\n"
|
||||
},
|
||||
{
|
||||
name: "inbe-data/inbe.db",
|
||||
bytes: database.bytes
|
||||
}
|
||||
])
|
||||
};
|
||||
}
|
||||
|
||||
function downloadBlob(blob, filename) {
|
||||
var url = URL.createObjectURL(blob);
|
||||
var link = document.createElement("a");
|
||||
link.href = url;
|
||||
link.download = filename;
|
||||
document.body.appendChild(link);
|
||||
link.click();
|
||||
document.body.removeChild(link);
|
||||
setTimeout(function() {
|
||||
URL.revokeObjectURL(url);
|
||||
}, 1000);
|
||||
}
|
||||
|
||||
convertButton.addEventListener("click", function() {
|
||||
var file = fileInput.files && fileInput.files[0];
|
||||
if(!file) {
|
||||
setStatus("Choose a legacy JSON export first.", true);
|
||||
return;
|
||||
}
|
||||
|
||||
Promise.all([sqlReady, file.text()]).then(function(values) {
|
||||
var SQL = values[0];
|
||||
var text = values[1];
|
||||
var data = JSON.parse(text);
|
||||
var result = convertLegacy(SQL, data);
|
||||
downloadBlob(result.blob, "inbe-legacy-converted.zip");
|
||||
setStatus("Converted " + result.count + " sessions. Import the downloaded ZIP in Inner Breeze.", false);
|
||||
}).catch(function(error) {
|
||||
setStatus(error.message || "Conversion failed.", true);
|
||||
});
|
||||
});
|
||||
})();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "Inner Breeze",
|
||||
"short_name": "Inner Breeze",
|
||||
"description": "Breathing, meditation sessions, habit tracking, themes, and local-first progress history.",
|
||||
"start_url": "/build/web/index.html",
|
||||
"scope": "/",
|
||||
"display": "standalone",
|
||||
"background_color": "#1a1a2e",
|
||||
"theme_color": "#5566aa",
|
||||
"icons": [
|
||||
{
|
||||
"src": "/site-icons/icon-192x192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "/site-icons/icon-512x512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
After Width: | Height: | Size: 83 KiB |
@@ -0,0 +1,96 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Privacy Policy - Inner Breeze</title>
|
||||
<link href="/style.css" rel="stylesheet" />
|
||||
<meta name="description" content="Privacy policy for Inner Breeze.">
|
||||
<meta name="theme-color" content="#5566aa">
|
||||
</head>
|
||||
<body>
|
||||
<div class="content">
|
||||
<section>
|
||||
<h1>Privacy Policy</h1>
|
||||
<p>Last updated: June 19, 2026</p>
|
||||
</section>
|
||||
|
||||
<section class="tool-section">
|
||||
<h2>Inner Breeze</h2>
|
||||
<p>Inner Breeze is a free, open-source guided breathing meditation app based on the Wim Hof method.</p>
|
||||
</section>
|
||||
|
||||
<section class="tool-section">
|
||||
<h2>Data Collection</h2>
|
||||
<p><strong>Inner Breeze is local-first and does not use analytics, tracking, advertising identifiers, or third-party tracking services.</strong></p>
|
||||
<ul>
|
||||
<li>No personal information collection</li>
|
||||
<li>No analytics or tracking</li>
|
||||
<li>No sale of personal data</li>
|
||||
<li>No account is required for offline use</li>
|
||||
<li>Optional sync sends app data only when you choose to connect a sync server</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section class="tool-section">
|
||||
<h2>Local Data Storage</h2>
|
||||
<p>The app stores practice data locally on your device:</p>
|
||||
<ul>
|
||||
<li>Breathing session timing data</li>
|
||||
<li>Meditation and session history</li>
|
||||
<li>Habit names, colors, completion days, and related settings</li>
|
||||
<li>App preferences such as theme and practice settings</li>
|
||||
<li>Optional sync public/private key material stored by the app on your device</li>
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<section class="tool-section">
|
||||
<h2>Optional Sync</h2>
|
||||
<p>Sync is optional. If you connect Inner Breeze to the default sync server or to a custom self-hosted server, the app sends the data needed to mirror your account remotely:</p>
|
||||
<ul>
|
||||
<li>A public-key account identifier derived from your sync public key</li>
|
||||
<li>Your sync public key, used to verify signed sync requests</li>
|
||||
<li>Session, meditation, habit, habit-day, and non-secret preference data</li>
|
||||
<li>Cryptographic challenge and signature metadata used to prevent replay attacks</li>
|
||||
</ul>
|
||||
<p>During normal sync, the sync server does not receive your private key. Your private key remains on your device unless you export it yourself for backup or use the exported key to prove ownership during remote account deletion.</p>
|
||||
</section>
|
||||
|
||||
<section class="tool-section">
|
||||
<h2>Data Deletion</h2>
|
||||
<p>To delete local data, use the app's data controls or clear the app data through your device's settings.</p>
|
||||
<p>To delete the remote sync account on the default server, use <a href="/delete-account">Delete Sync Account</a>. You must provide the exported <code>inbe-sync.key</code> file, which includes the sync public ID. The exported key is sent over HTTPS to the sync server only to prove account ownership and complete deletion; it is not stored. Remote deletion removes the account row and mirrored sync data for that sync account.</p>
|
||||
<p>If you use a self-hosted sync server, use that server owner's deletion process. Deleting remote sync data does not remove local data from your device or backups you exported yourself.</p>
|
||||
</section>
|
||||
|
||||
<section class="tool-section">
|
||||
<h2>Donations</h2>
|
||||
<p>Donations are optional and are handled by the external donation/payment provider linked from the website. Donation processing is separate from Inner Breeze sync accounts and app data. Deleting a sync account does not delete records held by an external donation/payment provider.</p>
|
||||
</section>
|
||||
|
||||
<section class="tool-section">
|
||||
<h2>Permissions</h2>
|
||||
<p>Inner Breeze may use network access for optional sync and file/share access when you import, export, or back up your own data. Core breathing, meditation, and habit tracking features remain usable offline.</p>
|
||||
</section>
|
||||
|
||||
<section class="tool-section">
|
||||
<h2>Children's Privacy</h2>
|
||||
<p>Inner Breeze is suitable for all ages. The app does not knowingly collect personal information from children. Optional sync should be configured by a parent or guardian when required by local law.</p>
|
||||
</section>
|
||||
|
||||
<section class="tool-section">
|
||||
<h2>Contact</h2>
|
||||
<p>Questions: <a href="mailto:[email protected]">[email protected]</a></p>
|
||||
</section>
|
||||
|
||||
<section class="tool-section">
|
||||
<h2>Open Source</h2>
|
||||
<p>Source code available at: <a href="https://git.sr.ht/~waozi/inbe">https://git.sr.ht/~waozi/inbe</a> and <a href="https://github.com/waozixyz/inbe">https://github.com/waozixyz/inbe</a></p>
|
||||
</section>
|
||||
|
||||
<footer>
|
||||
<p><a href="/">Back to Inner Breeze</a> | <a href="/delete-account">Delete Sync Account</a></p>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,4 @@
|
||||
User-agent: *
|
||||
Allow: /
|
||||
|
||||
Sitemap: https://inbe.waozi.xyz/sitemap.xml
|
||||
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||||
<url>
|
||||
<loc>https://inbe.waozi.xyz/</loc>
|
||||
<lastmod>2026-05-29</lastmod>
|
||||
<priority>1.0</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://inbe.waozi.xyz/privacy.html</loc>
|
||||
<lastmod>2026-06-19</lastmod>
|
||||
<priority>0.3</priority>
|
||||
</url>
|
||||
<url>
|
||||
<loc>https://inbe.waozi.xyz/delete-account</loc>
|
||||
<lastmod>2026-06-19</lastmod>
|
||||
<priority>0.3</priority>
|
||||
</url>
|
||||
</urlset>
|
||||
@@ -0,0 +1,121 @@
|
||||
:root {
|
||||
--page-bg: #edf7f7;
|
||||
--page-tile: url('/web-assets/icons/tile2.png');
|
||||
--page-tile-opacity: 0.08;
|
||||
--panel-bg: #fbfefe;
|
||||
--dark: #28536b;
|
||||
--shadow: rgba(24, 49, 61, 0.12);
|
||||
--light: #ffffff;
|
||||
--button-bg: #e5f2f6;
|
||||
--button-highlight: #ffffff;
|
||||
--button-inset: #ffffff;
|
||||
--link: #2478a8;
|
||||
--link-hover: #175f87;
|
||||
--ink: #18313d;
|
||||
--muted: #5d7885;
|
||||
--panel-shadow: rgba(24, 49, 61, 0.14);
|
||||
--hover-web: #edf8fb;
|
||||
--hover-android: #ecf8ef;
|
||||
--hover-windows: #f8efef;
|
||||
--hover-linux: #f8f7eb;
|
||||
--tool-panel-bg: #f3fafb;
|
||||
--card-bg: #f5fbfc;
|
||||
--card-hover-bg: #eef8fb;
|
||||
--card-active-bg: #e3f0f4;
|
||||
}
|
||||
|
||||
body::before {
|
||||
background-size: 160px 160px;
|
||||
}
|
||||
|
||||
.content {
|
||||
margin-top: 28px;
|
||||
margin-bottom: 28px;
|
||||
border: 1px solid rgba(40, 83, 107, 0.22);
|
||||
border-radius: 8px;
|
||||
box-shadow: 0 16px 42px var(--panel-shadow);
|
||||
}
|
||||
|
||||
.hero {
|
||||
padding: 14px 0 10px;
|
||||
}
|
||||
|
||||
.hero .tk-img {
|
||||
margin-bottom: 18px;
|
||||
}
|
||||
|
||||
.hero h1 {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.hero > p {
|
||||
max-width: 620px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.version {
|
||||
background: #edf7fa;
|
||||
border-color: rgba(40, 83, 107, 0.2);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
button,
|
||||
.tk-button,
|
||||
.platform-btn,
|
||||
.download-item,
|
||||
.feature-item,
|
||||
.platform-section,
|
||||
.dropdown summary,
|
||||
.dropdown-content,
|
||||
.converter-panel {
|
||||
border: 1px solid rgba(40, 83, 107, 0.24);
|
||||
box-shadow: 0 2px 10px rgba(24, 49, 61, 0.08);
|
||||
}
|
||||
|
||||
button:active,
|
||||
.tk-button:active,
|
||||
.platform-btn:active,
|
||||
.download-item:active,
|
||||
.dropdown[open] summary {
|
||||
box-shadow: inset 0 1px 3px rgba(24, 49, 61, 0.16);
|
||||
}
|
||||
|
||||
.tk-img {
|
||||
border: 1px solid rgba(40, 83, 107, 0.24);
|
||||
box-shadow: 0 8px 24px rgba(24, 49, 61, 0.12);
|
||||
}
|
||||
|
||||
.platform-btn,
|
||||
.download-item {
|
||||
color: var(--dark);
|
||||
}
|
||||
|
||||
.platform-section {
|
||||
background: #f7fcfd;
|
||||
}
|
||||
|
||||
.feature-item p,
|
||||
.about-section p,
|
||||
.migration-section p,
|
||||
.benefits-list li,
|
||||
.platform-header p,
|
||||
.safety-note {
|
||||
color: var(--muted);
|
||||
}
|
||||
|
||||
.features-grid {
|
||||
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
||||
}
|
||||
|
||||
.feature-item {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.content {
|
||||
margin: 10px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
}
|
||||