diff --git a/.github/workflows/launcher.yml b/.github/workflows/launcher.yml index 616f82e..1510ea7 100644 --- a/.github/workflows/launcher.yml +++ b/.github/workflows/launcher.yml @@ -71,8 +71,8 @@ jobs: --notes "Debug-signed APK of android/ built from $GITHUB_SHA. Install it, press Home, and pick ultra Home." # The Qt Quick rewrite in qt/: the grid logic and an end-to-end test of the QML UI on - # desktop Qt (offscreen), then an APK. Until it takes over, it installs as its own app - # (dev.ultra.launcher.qt, "ultra Home (Qt)") from the launcher-qt-latest prerelease. + # desktop Qt (offscreen), then an APK. Its package is dev.ultra.launcher with the same key, so it installs over the WebView build + # ("ultra Home (Qt)"); it updates itself from the launcher-qt-latest prerelease. qt-test: runs-on: ubuntu-24.04 timeout-minutes: 30 @@ -141,4 +141,4 @@ jobs: gh release delete launcher-qt-latest --yes --cleanup-tag || true gh release create launcher-qt-latest ultra-launcher.apk version.json --prerelease --target "$GITHUB_SHA" \ --title "ultra launcher, Qt build (latest)" \ - --notes "The Qt Quick rewrite (qt/), built from $GITHUB_SHA. It installs next to the WebView launcher as \"ultra Home (Qt)\". Press Home and pick it to try it." + --notes "The Qt Quick rewrite (qt/), built from $GITHUB_SHA. It installs over the WebView launcher (same package and key) as \"ultra Home (Qt)\"." diff --git a/README.md b/README.md index 25dfeec..0a93bba 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ Every push to ultra's main publishes a new `ultra` package. To pick it up, run ` ## Qt rewrite (in progress) -`qt/` is the launcher rewritten as a Qt Quick (QML) app for Android, replacing ultra and the WebView. `qt/qml` is the UI (`Main.qml`, with the grid packing in `Layout.js`), `qt/src` a thin C++ backend, and `qt/android` the Java side (`HomeActivity`, a `QtActivity` that lists apps, draws icons, launches, and hosts the native widget views over the QML slots). Until it reaches parity it installs as its own app, **ultra Home (Qt)** (`dev.ultra.launcher.qt`), from the [`launcher-qt-latest` release](https://github.com/codegod100/launcher/releases/tag/launcher-qt-latest). +`qt/` is the launcher rewritten as a Qt Quick (QML) app for Android, replacing ultra and the WebView. `qt/qml` is the UI (`Main.qml`, with the grid packing in `Layout.js`), `qt/src` a thin C++ backend, and `qt/android` the Java side (`HomeActivity`, a `QtActivity` that lists apps, draws icons, launches, and hosts the native widget views over the QML slots). It uses the same package (`dev.ultra.launcher`) and key as the WebView build, so it installs over it, as **ultra Home (Qt)**, from the [`launcher-qt-latest` release](https://github.com/codegod100/launcher/releases/tag/launcher-qt-latest). ```sh node qt/tests/layout.test.mjs # grid packing diff --git a/qt/CMakeLists.txt b/qt/CMakeLists.txt index 2dd6a74..21d6476 100644 --- a/qt/CMakeLists.txt +++ b/qt/CMakeLists.txt @@ -49,7 +49,7 @@ target_link_libraries(ultrahome PRIVATE launcher_uiplugin launcher_ui Qt6::Quick set_target_properties(ultrahome PROPERTIES QT_ANDROID_PACKAGE_SOURCE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/android" - QT_ANDROID_PACKAGE_NAME "dev.ultra.launcher.qt" + QT_ANDROID_PACKAGE_NAME "dev.ultra.launcher" QT_ANDROID_VERSION_CODE "${VERSION_CODE}" QT_ANDROID_VERSION_NAME "0.2.${VERSION_CODE}" QT_ANDROID_MIN_SDK_VERSION 28 diff --git a/qt/android/AndroidManifest.xml b/qt/android/AndroidManifest.xml index cd03ad4..b19c8a6 100644 --- a/qt/android/AndroidManifest.xml +++ b/qt/android/AndroidManifest.xml @@ -1,7 +1,7 @@