feat: add platform detection and support for mobile in ModelDownloadProgress and SkillsGrid components

- Integrated the @tauri-apps/plugin-os to detect mobile platforms (Android and iOS) in both ModelDownloadProgress and SkillsGrid components.
- Updated rendering logic to display mobile-specific messages, indicating that certain features are available only on desktop.
- Enhanced package.json and yarn.lock to include the new plugin dependency for platform detection.
- Adjusted capabilities configuration to support the new plugin across desktop and mobile platforms.
This commit is contained in:
Steven Enamakel
2026-02-04 11:19:58 +05:30
parent 7890c0ee92
commit dde4d6fce7
13 changed files with 248 additions and 64 deletions
+2 -5
View File
@@ -201,11 +201,8 @@ jobs:
sudo apt-get update
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libappindicator3-dev librsvg2-dev patchelf
- name: Install OpenMP (macOS only)
if: matrix.settings.platform == 'macos-latest'
run: |
brew install libomp
echo "OpenMP installed for llama-cpp-sys build"
# OpenMP is now disabled via Cargo.toml (default-features = false for llama-cpp-2)
# This avoids cross-compilation issues where Homebrew ARM64 OpenMP can't be used for x86_64 builds
- name: Cache Cargo registry
uses: actions/cache@v4