Skip to content

armgit / alook

Public Imported from GitHub
0

Multi-Agent Collaboration for Team and Friends

feat: mobile Android & iOS support (#322)

Generc0970257d8ac
diff --git a/.github/workflows/mobile-release.yml b/.github/workflows/mobile-release.yml
index 0d81387ad..6f4298ab6 100644
--- a/.github/workflows/mobile-release.yml
+++ b/.github/workflows/mobile-release.yml
@@ -82,19 +82,29 @@ jobs:
run: pnpm install --frozen-lockfile
working-directory: src/desktop
+ - name: Decode Android keystore
+ run: echo "${{ secrets.ANDROID_KEYSTORE_BASE64 }}" | base64 -d > ${{ github.workspace }}/release.keystore
+
+ - name: Write keystore.properties
+ run: |
+ mkdir -p src/desktop/src-tauri/gen/android/app
+ cat > src/desktop/src-tauri/gen/android/app/keystore.properties <<EOF
+ storeFile=${{ github.workspace }}/release.keystore
+ storePassword=${{ secrets.ANDROID_STORE_PASSWORD }}
+ keyAlias=${{ secrets.ANDROID_KEY_ALIAS }}
+ keyPassword=${{ secrets.ANDROID_KEY_PASSWORD }}
+ EOF
+
- name: Build Android
working-directory: src/desktop
run: pnpm tauri android build
env:
NDK_HOME: /usr/local/lib/android/sdk/ndk/27.0.12077973
- SIGNING_KEY_ALIAS: ${{ secrets.ANDROID_KEY_ALIAS }}
- SIGNING_KEY_PASSWORD: ${{ secrets.ANDROID_KEY_PASSWORD }}
- SIGNING_STORE_PASSWORD: ${{ secrets.ANDROID_STORE_PASSWORD }}
- name: Upload to Google Play
uses: r0adkll/upload-google-play@v1
with:
serviceAccountJsonPlainText: ${{ secrets.GOOGLE_PLAY_SERVICE_ACCOUNT }}
- packageName: ai.alook.app
+ packageName: ai.alook.desktop
releaseFiles: src/desktop/src-tauri/gen/android/app/build/outputs/bundle/release/*.aab
track: internal
diff --git a/src/desktop/src-tauri/.gitignore b/src/desktop/src-tauri/.gitignore
index 4cacddf44..1eeda9720 100644
--- a/src/desktop/src-tauri/.gitignore
+++ b/src/desktop/src-tauri/.gitignore
@@ -1,2 +1,24 @@
/target
-/gen
+/gen/*
+!/gen/apple/
+/gen/apple/build/
+/gen/apple/Externals/
+/gen/apple/Pods/
+/gen/apple/*.xcworkspace/
+/gen/apple/alook-desktop.xcodeproj/
+/gen/apple/exported_binaries/
+!/gen/android/
+/gen/android/.gradle/
+/gen/android/.tauri/
+/gen/android/build/
+/gen/android/buildSrc/
+/gen/android/gradle/
+/gen/android/gradlew
+/gen/android/gradlew.bat
+/gen/android/settings.gradle
+/gen/android/tauri.settings.gradle
+/gen/android/app/build/
+/gen/android/app/tauri.build.gradle.kts
+/gen/android/app/tauri.properties
+/gen/android/app/src/main/jniLibs/
+/gen/android/app/src/main/java/ai/alook/desktop/generated/
diff --git a/src/desktop/src-tauri/gen/android/.editorconfig b/src/desktop/src-tauri/gen/android/.editorconfig
new file mode 100644
index 000000000..ebe51d3bf
--- /dev/null
+++ b/src/desktop/src-tauri/gen/android/.editorconfig
@@ -0,0 +1,12 @@
+# EditorConfig is awesome: https://EditorConfig.org
+
+# top-most EditorConfig file
+root = true
+
+[*]
+indent_style = space
+indent_size = 2
+end_of_line = lf
+charset = utf-8
+trim_trailing_whitespace = false
+insert_final_newline = false
\ No newline at end of file
diff --git a/src/desktop/src-tauri/gen/android/.gitignore b/src/desktop/src-tauri/gen/android/.gitignore
new file mode 100644
index 000000000..3e1dbdb44
--- /dev/null
+++ b/src/desktop/src-tauri/gen/android/.gitignore
@@ -0,0 +1,21 @@
+*.iml
+.gradle
+/local.properties
+/.idea/caches
+/.idea/libraries
+/.idea/modules.xml
+/.idea/workspace.xml
+/.idea/navEditor.xml
+/.idea/assetWizardSettings.xml
+.DS_Store
+build
+/captures
+.externalNativeBuild
+.cxx
+local.properties
+key.properties
+keystore.properties
+
+/.tauri
+/tauri.settings.gradle
+*.keystore
diff --git a/src/desktop/src-tauri/gen/android/app/.gitignore b/src/desktop/src-tauri/gen/android/app/.gitignore
new file mode 100644
index 000000000..6c4d56b4a
--- /dev/null
+++ b/src/desktop/src-tauri/gen/android/app/.gitignore
@@ -0,0 +1,6 @@
+/src/main/**/generated
+/src/main/jniLibs/**/*.so
+/src/main/assets/tauri.conf.json
+/tauri.build.gradle.kts
+/proguard-tauri.pro
+/tauri.properties
\ No newline at end of file
diff --git a/src/desktop/src-tauri/gen/android/app/build.gradle.kts b/src/desktop/src-tauri/gen/android/app/build.gradle.kts
new file mode 100644
index 000000000..ff336c6d9
--- /dev/null
+++ b/src/desktop/src-tauri/gen/android/app/build.gradle.kts
@@ -0,0 +1,92 @@
+import java.util.Properties
+
+plugins {
+ id("com.android.application")
+ id("org.jetbrains.kotlin.android")
+ id("rust")
+}
+
+val tauriProperties = Properties().apply {
+ val propFile = file("tauri.properties")
+ if (propFile.exists()) {
+ propFile.inputStream().use { load(it) }
+ }
+}
+
+android {
+ compileSdk = 36
+ namespace = "ai.alook.desktop"
+ defaultConfig {
+ manifestPlaceholders["usesCleartextTraffic"] = "false"
+ applicationId = "ai.alook.desktop"
+ minSdk = 24
+ targetSdk = 36
+ versionCode = tauriProperties.getProperty("tauri.android.versionCode", "1").toInt()
+ versionName = tauriProperties.getProperty("tauri.android.versionName", "1.0")
+ }
+ signingConfigs {
+ create("release") {
+ val keystorePropsFile = file("keystore.properties")
+ if (keystorePropsFile.exists()) {
+ val keystoreProps = Properties().apply {
+ keystorePropsFile.inputStream().use { load(it) }
+ }
+ storeFile = file(keystoreProps.getProperty("storeFile").trim())
+ storePassword = keystoreProps.getProperty("storePassword").trim()
+ keyAlias = keystoreProps.getProperty("keyAlias").trim()
+ keyPassword = keystoreProps.getProperty("keyPassword").trim()
+ } else {
+ storeFile = System.getenv("SIGNING_STORE_FILE")?.let { file(it) }
+ storePassword = System.getenv("SIGNING_STORE_PASSWORD")
+ keyAlias = System.getenv("SIGNING_KEY_ALIAS")
+ keyPassword = System.getenv("SIGNING_KEY_PASSWORD")
+ }
+ }
+ }
+ buildTypes {
+ getByName("debug") {
+ manifestPlaceholders["usesCleartextTraffic"] = "true"
+ isDebuggable = true
+ isJniDebuggable = true
+ isMinifyEnabled = false
+ packaging { jniLibs.keepDebugSymbols.add("*/arm64-v8a/*.so")
+ jniLibs.keepDebugSymbols.add("*/armeabi-v7a/*.so")
+ jniLibs.keepDebugSymbols.add("*/x86/*.so")
+ jniLibs.keepDebugSymbols.add("*/x86_64/*.so")
+ }
+ }
+ getByName("release") {
+ signingConfig = signingConfigs.getByName("release")
+ isMinifyEnabled = true
+ proguardFiles(
+ *fileTree(".") { include("**/*.pro") }
+ .plus(getDefaultProguardFile("proguard-android-optimize.txt"))
+ .toList().toTypedArray()
+ )
+ }
+ }
+ kotlinOptions {
+ jvmTarget = "1.8"
+ }
+ buildFeatures {
+ buildConfig = true
+ }
+}
+
+rust {
+ rootDirRel = "../../../"
+}
+
+dependencies {
+ implementation("androidx.webkit:webkit:1.14.0")
+ implementation("androidx.appcompat:appcompat:1.7.1")
+ implementation("androidx.activity:activity-ktx:1.10.1")
+ implementation("com.google.android.material:material:1.12.0")
+ implementation("androidx.lifecycle:lifecycle-process:2.10.0")
+ implementation("androidx.core:core-splashscreen:1.0.1")
+ testImplementation("junit:junit:4.13.2")
+ androidTestImplementation("androidx.test.ext:junit:1.1.4")
+ androidTestImplementation("androidx.test.espresso:espresso-core:3.5.0")
+}
+
+apply(from = "tauri.build.gradle.kts")
\ No newline at end of file
diff --git a/src/desktop/src-tauri/gen/android/app/proguard-rules.pro b/src/desktop/src-tauri/gen/android/app/proguard-rules.pro
new file mode 100644
index 000000000..481bb4348
--- /dev/null
+++ b/src/desktop/src-tauri/gen/android/app/proguard-rules.pro
@@ -0,0 +1,21 @@
+# Add project specific ProGuard rules here.
+# You can control the set of applied configuration files using the
+# proguardFiles setting in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
\ No newline at end of file
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/AndroidManifest.xml b/src/desktop/src-tauri/gen/android/app/src/main/AndroidManifest.xml
new file mode 100644
index 000000000..363f61024
--- /dev/null
+++ b/src/desktop/src-tauri/gen/android/app/src/main/AndroidManifest.xml
@@ -0,0 +1,54 @@
+<?xml version="1.0" encoding="utf-8"?>
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
+ <uses-permission android:name="android.permission.INTERNET" />
+
+ <!-- AndroidTV support -->
+ <uses-feature android:name="android.software.leanback" android:required="false" />
+
+ <application
+ android:icon="@mipmap/ic_launcher"
+ android:label="@string/app_name"
+ android:theme="@style/Theme.alook_desktop"
+ android:usesCleartextTraffic="${usesCleartextTraffic}">
+ <activity
+ android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode"
+ android:screenOrientation="portrait"
+ android:launchMode="singleTask"
+ android:label="@string/main_activity_title"
+ android:name=".MainActivity"
+ android:theme="@style/Theme.alook_desktop.Splash"
+ android:exported="true">
+ <intent-filter>
+ <action android:name="android.intent.action.MAIN" />
+ <category android:name="android.intent.category.LAUNCHER" />
+ <!-- AndroidTV support -->
+ <category android:name="android.intent.category.LEANBACK_LAUNCHER" />
+ </intent-filter>
+ <!-- DEEP LINK PLUGIN. AUTO-GENERATED. DO NOT REMOVE. -->
+ <intent-filter >
+ <action android:name="android.intent.action.VIEW" />
+ <!-- ChromeOS ARC++ uses a different action for deep links -->
+ <action android:name="org.chromium.arc.intent.action.VIEW" />
+ <category android:name="android.intent.category.DEFAULT" />
+ <category android:name="android.intent.category.BROWSABLE" />
+ <data android:scheme="alook" />
+ <data android:host="alook.ai" />
+
+
+
+
+ </intent-filter>
+ <!-- DEEP LINK PLUGIN. AUTO-GENERATED. DO NOT REMOVE. -->
+ </activity>
+
+ <provider
+ android:name="androidx.core.content.FileProvider"
+ android:authorities="${applicationId}.fileprovider"
+ android:exported="false"
+ android:grantUriPermissions="true">
+ <meta-data
+ android:name="android.support.FILE_PROVIDER_PATHS"
+ android:resource="@xml/file_paths" />
+ </provider>
+ </application>
+</manifest>
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/java/ai/alook/desktop/MainActivity.kt b/src/desktop/src-tauri/gen/android/app/src/main/java/ai/alook/desktop/MainActivity.kt
new file mode 100644
index 000000000..92b124255
--- /dev/null
+++ b/src/desktop/src-tauri/gen/android/app/src/main/java/ai/alook/desktop/MainActivity.kt
@@ -0,0 +1,43 @@
+package ai.alook.desktop
+
+import android.content.res.Configuration
+import android.graphics.Color
+import android.os.Bundle
+import android.os.Handler
+import android.os.Looper
+import android.view.View
+import androidx.activity.enableEdgeToEdge
+import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen
+import androidx.core.view.ViewCompat
+import androidx.core.view.WindowInsetsCompat
+
+class MainActivity : TauriActivity() {
+ private var isReady = false
+
+ override fun onCreate(savedInstanceState: Bundle?) {
+ val splashScreen = installSplashScreen()
+ enableEdgeToEdge()
+ super.onCreate(savedInstanceState)
+
+ splashScreen.setKeepOnScreenCondition { !isReady }
+
+ // Dismiss splash after max 2 seconds regardless
+ Handler(Looper.getMainLooper()).postDelayed({ isReady = true }, 2000)
+
+ val rootView: View = findViewById(android.R.id.content)
+
+ val isDark = (resources.configuration.uiMode and Configuration.UI_MODE_NIGHT_MASK) == Configuration.UI_MODE_NIGHT_YES
+ val bgColor = if (isDark) Color.parseColor("#22201E") else Color.parseColor("#ECE8DE")
+ rootView.setBackgroundColor(bgColor)
+
+ ViewCompat.setOnApplyWindowInsetsListener(rootView) { v, insets ->
+ val systemBars = insets.getInsets(WindowInsetsCompat.Type.systemBars())
+ val imeVisible = insets.isVisible(WindowInsetsCompat.Type.ime())
+ val imeHeight = insets.getInsets(WindowInsetsCompat.Type.ime()).bottom
+ val bottomPadding = if (imeVisible) imeHeight else systemBars.bottom
+
+ v.setPadding(systemBars.left, systemBars.top, systemBars.right, bottomPadding)
+ insets
+ }
+ }
+}
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/drawable-hdpi/splash_icon.png b/src/desktop/src-tauri/gen/android/app/src/main/res/drawable-hdpi/splash_icon.png
new file mode 100644
index 000000000..692be160b
Binary files /dev/null and b/src/desktop/src-tauri/gen/android/app/src/main/res/drawable-hdpi/splash_icon.png differ
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/drawable-mdpi/splash_icon.png b/src/desktop/src-tauri/gen/android/app/src/main/res/drawable-mdpi/splash_icon.png
new file mode 100644
index 000000000..316935dbc
Binary files /dev/null and b/src/desktop/src-tauri/gen/android/app/src/main/res/drawable-mdpi/splash_icon.png differ
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/src/desktop/src-tauri/gen/android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
new file mode 100644
index 000000000..2b068d114
--- /dev/null
+++ b/src/desktop/src-tauri/gen/android/app/src/main/res/drawable-v24/ic_launcher_foreground.xml
@@ -0,0 +1,30 @@
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:aapt="http://schemas.android.com/aapt"
+ android:width="108dp"
+ android:height="108dp"
+ android:viewportWidth="108"
+ android:viewportHeight="108">
+ <path android:pathData="M31,63.928c0,0 6.4,-11 12.1,-13.1c7.2,-2.6 26,-1.4 26,-1.4l38.1,38.1L107,108.928l-32,-1L31,63.928z">
+ <aapt:attr name="android:fillColor">
+ <gradient
+ android:endX="85.84757"
+ android:endY="92.4963"
+ android:startX="42.9492"
+ android:startY="49.59793"
+ android:type="linear">
+ <item
+ android:color="#44000000"
+ android:offset="0.0" />
+ <item
+ android:color="#00000000"
+ android:offset="1.0" />
+ </gradient>
+ </aapt:attr>
+ </path>
+ <path
+ android:fillColor="#FFFFFF"
+ android:fillType="nonZero"
+ android:pathData="M65.3,45.828l3.8,-6.6c0.2,-0.4 0.1,-0.9 -0.3,-1.1c-0.4,-0.2 -0.9,-0.1 -1.1,0.3l-3.9,6.7c-6.3,-2.8 -13.4,-2.8 -19.7,0l-3.9,-6.7c-0.2,-0.4 -0.7,-0.5 -1.1,-0.3C38.8,38.328 38.7,38.828 38.9,39.228l3.8,6.6C36.2,49.428 31.7,56.028 31,63.928h46C76.3,56.028 71.8,49.428 65.3,45.828zM43.4,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2c-0.3,-0.7 -0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C45.3,56.528 44.5,57.328 43.4,57.328L43.4,57.328zM64.6,57.328c-0.8,0 -1.5,-0.5 -1.8,-1.2s-0.1,-1.5 0.4,-2.1c0.5,-0.5 1.4,-0.7 2.1,-0.4c0.7,0.3 1.2,1 1.2,1.8C66.5,56.528 65.6,57.328 64.6,57.328L64.6,57.328z"
+ android:strokeWidth="1"
+ android:strokeColor="#00000000" />
+</vector>
\ No newline at end of file
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/drawable-xhdpi/splash_icon.png b/src/desktop/src-tauri/gen/android/app/src/main/res/drawable-xhdpi/splash_icon.png
new file mode 100644
index 000000000..dd28f4a04
Binary files /dev/null and b/src/desktop/src-tauri/gen/android/app/src/main/res/drawable-xhdpi/splash_icon.png differ
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/drawable-xxhdpi/splash_icon.png b/src/desktop/src-tauri/gen/android/app/src/main/res/drawable-xxhdpi/splash_icon.png
new file mode 100644
index 000000000..4e4f1d3b4
Binary files /dev/null and b/src/desktop/src-tauri/gen/android/app/src/main/res/drawable-xxhdpi/splash_icon.png differ
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/drawable-xxxhdpi/splash_icon.png b/src/desktop/src-tauri/gen/android/app/src/main/res/drawable-xxxhdpi/splash_icon.png
new file mode 100644
index 000000000..00f9d8473
Binary files /dev/null and b/src/desktop/src-tauri/gen/android/app/src/main/res/drawable-xxxhdpi/splash_icon.png differ
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/drawable/ic_launcher_background.xml b/src/desktop/src-tauri/gen/android/app/src/main/res/drawable/ic_launcher_background.xml
new file mode 100644
index 000000000..07d5da9cb
--- /dev/null
+++ b/src/desktop/src-tauri/gen/android/app/src/main/res/drawable/ic_launcher_background.xml
@@ -0,0 +1,170 @@
+<?xml version="1.0" encoding="utf-8"?>
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+ android:width="108dp"
+ android:height="108dp"
+ android:viewportWidth="108"
+ android:viewportHeight="108">
+ <path
+ android:fillColor="#3DDC84"
+ android:pathData="M0,0h108v108h-108z" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M9,0L9,108"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M19,0L19,108"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M29,0L29,108"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M39,0L39,108"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M49,0L49,108"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M59,0L59,108"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M69,0L69,108"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M79,0L79,108"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M89,0L89,108"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M99,0L99,108"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M0,9L108,9"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M0,19L108,19"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M0,29L108,29"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M0,39L108,39"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M0,49L108,49"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M0,59L108,59"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M0,69L108,69"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M0,79L108,79"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M0,89L108,89"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M0,99L108,99"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M19,29L89,29"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M19,39L89,39"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M19,49L89,49"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M19,59L89,59"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M19,69L89,69"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M19,79L89,79"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M29,19L29,89"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M39,19L39,89"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M49,19L49,89"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M59,19L59,89"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M69,19L69,89"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+ <path
+ android:fillColor="#00000000"
+ android:pathData="M79,19L79,89"
+ android:strokeWidth="0.8"
+ android:strokeColor="#33FFFFFF" />
+</vector>
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/layout/activity_main.xml b/src/desktop/src-tauri/gen/android/app/src/main/res/layout/activity_main.xml
new file mode 100644
index 000000000..4fc244418
--- /dev/null
+++ b/src/desktop/src-tauri/gen/android/app/src/main/res/layout/activity_main.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="utf-8"?>
+<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ xmlns:tools="http://schemas.android.com/tools"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ tools:context=".MainActivity">
+
+ <TextView
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="Hello World!"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintLeft_toLeftOf="parent"
+ app:layout_constraintRight_toRightOf="parent"
+ app:layout_constraintTop_toTopOf="parent" />
+
+</androidx.constraintlayout.widget.ConstraintLayout>
\ No newline at end of file
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 000000000..2ffbf24b6
--- /dev/null
+++ b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
+ <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
+ <background android:drawable="@color/ic_launcher_background"/>
+</adaptive-icon>
\ No newline at end of file
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file mode 100644
index 000000000..5d823a09d
Binary files /dev/null and b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
new file mode 100644
index 000000000..b9bc95d77
Binary files /dev/null and b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png differ
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
new file mode 100644
index 000000000..f01ac87ab
Binary files /dev/null and b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file mode 100644
index 000000000..43cab99e5
Binary files /dev/null and b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
new file mode 100644
index 000000000..dea602a1d
Binary files /dev/null and b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png differ
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
new file mode 100644
index 000000000..63cdc4318
Binary files /dev/null and b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file mode 100644
index 000000000..0a2069ddb
Binary files /dev/null and b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
new file mode 100644
index 000000000..fec89f8c4
Binary files /dev/null and b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png differ
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
new file mode 100644
index 000000000..b34536a17
Binary files /dev/null and b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file mode 100644
index 000000000..988ad0607
Binary files /dev/null and b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
new file mode 100644
index 000000000..4da28ff39
Binary files /dev/null and b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png differ
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
new file mode 100644
index 000000000..46fb4ec10
Binary files /dev/null and b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file mode 100644
index 000000000..a9ff8283a
Binary files /dev/null and b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
new file mode 100644
index 000000000..8091a377f
Binary files /dev/null and b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
new file mode 100644
index 000000000..a4871d235
Binary files /dev/null and b/src/desktop/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/values-night/themes.xml b/src/desktop/src-tauri/gen/android/app/src/main/res/values-night/themes.xml
new file mode 100644
index 000000000..4dbc0f704
--- /dev/null
+++ b/src/desktop/src-tauri/gen/android/app/src/main/res/values-night/themes.xml
@@ -0,0 +1,12 @@
+<resources xmlns:tools="http://schemas.android.com/tools">
+ <!-- Base application theme. -->
+ <style name="Theme.alook_desktop" parent="Theme.MaterialComponents.DayNight.NoActionBar">
+ </style>
+ <!-- Splash screen theme (dark) -->
+ <style name="Theme.alook_desktop.Splash" parent="Theme.SplashScreen">
+ <item name="windowSplashScreenBackground">#22201E</item>
+ <item name="windowSplashScreenAnimatedIcon">@drawable/splash_icon</item>
+ <item name="windowSplashScreenAnimationDuration">300</item>
+ <item name="postSplashScreenTheme">@style/Theme.alook_desktop</item>
+ </style>
+</resources>
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/values/colors.xml b/src/desktop/src-tauri/gen/android/app/src/main/res/values/colors.xml
new file mode 100644
index 000000000..c8524cd96
--- /dev/null
+++ b/src/desktop/src-tauri/gen/android/app/src/main/res/values/colors.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <color name="black">#FF000000</color>
+ <color name="white">#FFFFFFFF</color>
+</resources>
\ No newline at end of file
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/values/ic_launcher_background.xml b/src/desktop/src-tauri/gen/android/app/src/main/res/values/ic_launcher_background.xml
new file mode 100644
index 000000000..ea9c223a6
--- /dev/null
+++ b/src/desktop/src-tauri/gen/android/app/src/main/res/values/ic_launcher_background.xml
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources>
+ <color name="ic_launcher_background">#fff</color>
+</resources>
\ No newline at end of file
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/values/strings.xml b/src/desktop/src-tauri/gen/android/app/src/main/res/values/strings.xml
new file mode 100644
index 000000000..b791f452a
--- /dev/null
+++ b/src/desktop/src-tauri/gen/android/app/src/main/res/values/strings.xml
@@ -0,0 +1,4 @@
+<resources>
+ <string name="app_name">Alook</string>
+ <string name="main_activity_title">Alook</string>
+</resources>
\ No newline at end of file
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/values/themes.xml b/src/desktop/src-tauri/gen/android/app/src/main/res/values/themes.xml
new file mode 100644
index 000000000..931a4cc89
--- /dev/null
+++ b/src/desktop/src-tauri/gen/android/app/src/main/res/values/themes.xml
@@ -0,0 +1,12 @@
+<resources xmlns:tools="http://schemas.android.com/tools">
+ <!-- Base application theme. -->
+ <style name="Theme.alook_desktop" parent="Theme.MaterialComponents.DayNight.NoActionBar">
+ </style>
+ <!-- Splash screen theme -->
+ <style name="Theme.alook_desktop.Splash" parent="Theme.SplashScreen">
+ <item name="windowSplashScreenBackground">#ECE8DE</item>
+ <item name="windowSplashScreenAnimatedIcon">@drawable/splash_icon</item>
+ <item name="windowSplashScreenAnimationDuration">300</item>
+ <item name="postSplashScreenTheme">@style/Theme.alook_desktop</item>
+ </style>
+</resources>
diff --git a/src/desktop/src-tauri/gen/android/app/src/main/res/xml/file_paths.xml b/src/desktop/src-tauri/gen/android/app/src/main/res/xml/file_paths.xml
new file mode 100644
index 000000000..782d63b99
--- /dev/null
+++ b/src/desktop/src-tauri/gen/android/app/src/main/res/xml/file_paths.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<paths xmlns:android="http://schemas.android.com/apk/res/android">
+ <external-path name="my_images" path="." />
+ <cache-path name="my_cache_images" path="." />
+</paths>
diff --git a/src/desktop/src-tauri/gen/android/build.gradle.kts b/src/desktop/src-tauri/gen/android/build.gradle.kts
new file mode 100644
index 000000000..607240bc8
--- /dev/null
+++ b/src/desktop/src-tauri/gen/android/build.gradle.kts
@@ -0,0 +1,22 @@
+buildscript {
+ repositories {
+ google()
+ mavenCentral()
+ }
+ dependencies {
+ classpath("com.android.tools.build:gradle:8.11.0")
+ classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.25")
+ }
+}
+
+allprojects {
+ repositories {
+ google()
+ mavenCentral()
+ }
+}
+
+tasks.register("clean").configure {
+ delete("build")
+}
+
diff --git a/src/desktop/src-tauri/gen/android/gradle.properties b/src/desktop/src-tauri/gen/android/gradle.properties
new file mode 100644
index 000000000..2a7ec6959
--- /dev/null
+++ b/src/desktop/src-tauri/gen/android/gradle.properties
@@ -0,0 +1,24 @@
+# Project-wide Gradle settings.
+# IDE (e.g. Android Studio) users:
+# Gradle settings configured through the IDE *will override*
+# any settings specified in this file.
+# For more details on how to configure your build environment visit
+# http://www.gradle.org/docs/current/userguide/build_environment.html
+# Specifies the JVM arguments used for the daemon process.
+# The setting is particularly useful for tweaking memory settings.
+org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
+# When configured, Gradle will run in incubating parallel mode.
+# This option should only be used with decoupled projects. More details, visit
+# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
+# org.gradle.parallel=true
+# AndroidX package structure to make it clearer which packages are bundled with the
+# Android operating system, and which are packaged with your app"s APK
+# https://developer.android.com/topic/libraries/support-library/androidx-rn
+android.useAndroidX=true
+# Kotlin code style for this project: "official" or "obsolete":
+kotlin.code.style=official
+# Enables namespacing of each library's R class so that its R class includes only the
+# resources declared in the library itself and none from the library's dependencies,
+# thereby reducing the size of the R class for that library
+android.nonTransitiveRClass=true
+android.nonFinalResIds=false
\ No newline at end of file
diff --git a/src/desktop/src-tauri/gen/apple/.gitignore b/src/desktop/src-tauri/gen/apple/.gitignore
new file mode 100644
index 000000000..6726e2f89
--- /dev/null
+++ b/src/desktop/src-tauri/gen/apple/.gitignore
@@ -0,0 +1,3 @@
+xcuserdata/
+build/
+Externals/
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 000000000..0bbdaffe3
Binary files /dev/null and b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 000000000..5b0d6129c
Binary files /dev/null and b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 000000000..5b0d6129c
Binary files /dev/null and b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 000000000..04ae39491
Binary files /dev/null and b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 000000000..c1383402f
Binary files /dev/null and b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 000000000..be289036c
Binary files /dev/null and b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 000000000..be289036c
Binary files /dev/null and b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 000000000..21505da11
Binary files /dev/null and b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 000000000..5b0d6129c
Binary files /dev/null and b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 000000000..d397f162f
Binary files /dev/null and b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 000000000..d397f162f
Binary files /dev/null and b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 000000000..a31ae230e
Binary files /dev/null and b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 000000000..c43c5484d
Binary files /dev/null and b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 000000000..a31ae230e
Binary files /dev/null and b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 000000000..9ecefe0b3
Binary files /dev/null and b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 000000000..e4e350d43
Binary files /dev/null and b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 000000000..def757cd7
Binary files /dev/null and b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected]
new file mode 100644
index 000000000..fc317de47
Binary files /dev/null and b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] differ
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/Contents.json b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/Contents.json
new file mode 100644
index 000000000..90eea7ec7
--- /dev/null
+++ b/src/desktop/src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/Contents.json
@@ -0,0 +1,116 @@
+{
+ "images" : [
+ {
+ "size" : "20x20",
+ "idiom" : "iphone",
+ "filename" : "[email protected]",
+ "scale" : "2x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "iphone",
+ "filename" : "[email protected]",
+ "scale" : "3x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "[email protected]",
+ "scale" : "2x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "iphone",
+ "filename" : "[email protected]",
+ "scale" : "3x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "[email protected]",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "iphone",
+ "filename" : "[email protected]",
+ "scale" : "3x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "[email protected]",
+ "scale" : "2x"
+ },
+ {
+ "size" : "60x60",
+ "idiom" : "iphone",
+ "filename" : "[email protected]",
+ "scale" : "3x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "ipad",
+ "filename" : "[email protected]",
+ "scale" : "1x"
+ },
+ {
+ "size" : "20x20",
+ "idiom" : "ipad",
+ "filename" : "[email protected]",
+ "scale" : "2x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "[email protected]",
+ "scale" : "1x"
+ },
+ {
+ "size" : "29x29",
+ "idiom" : "ipad",
+ "filename" : "[email protected]",
+ "scale" : "2x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "[email protected]",
+ "scale" : "1x"
+ },
+ {
+ "size" : "40x40",
+ "idiom" : "ipad",
+ "filename" : "[email protected]",
+ "scale" : "2x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "[email protected]",
+ "scale" : "1x"
+ },
+ {
+ "size" : "76x76",
+ "idiom" : "ipad",
+ "filename" : "[email protected]",
+ "scale" : "2x"
+ },
+ {
+ "size" : "83.5x83.5",
+ "idiom" : "ipad",
+ "filename" : "[email protected]",
+ "scale" : "2x"
+ },
+ {
+ "size" : "1024x1024",
+ "idiom" : "ios-marketing",
+ "filename" : "[email protected]",
+ "scale" : "1x"
+ }
+ ],
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/Contents.json b/src/desktop/src-tauri/gen/apple/Assets.xcassets/Contents.json
new file mode 100644
index 000000000..da4a164c9
--- /dev/null
+++ b/src/desktop/src-tauri/gen/apple/Assets.xcassets/Contents.json
@@ -0,0 +1,6 @@
+{
+ "info" : {
+ "version" : 1,
+ "author" : "xcode"
+ }
+}
\ No newline at end of file
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/SplashBackground.colorset/Contents.json b/src/desktop/src-tauri/gen/apple/Assets.xcassets/SplashBackground.colorset/Contents.json
new file mode 100644
index 000000000..791301738
--- /dev/null
+++ b/src/desktop/src-tauri/gen/apple/Assets.xcassets/SplashBackground.colorset/Contents.json
@@ -0,0 +1,38 @@
+{
+ "colors": [
+ {
+ "color": {
+ "color-space": "srgb",
+ "components": {
+ "red": "0.929",
+ "green": "0.910",
+ "blue": "0.871",
+ "alpha": "1.000"
+ }
+ },
+ "idiom": "universal"
+ },
+ {
+ "appearances": [
+ {
+ "appearance": "luminosity",
+ "value": "dark"
+ }
+ ],
+ "color": {
+ "color-space": "srgb",
+ "components": {
+ "red": "0.133",
+ "green": "0.125",
+ "blue": "0.118",
+ "alpha": "1.000"
+ }
+ },
+ "idiom": "universal"
+ }
+ ],
+ "info": {
+ "author": "xcode",
+ "version": 1
+ }
+}
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/SplashIcon.imageset/Contents.json b/src/desktop/src-tauri/gen/apple/Assets.xcassets/SplashIcon.imageset/Contents.json
new file mode 100644
index 000000000..f6d17ebb5
--- /dev/null
+++ b/src/desktop/src-tauri/gen/apple/Assets.xcassets/SplashIcon.imageset/Contents.json
@@ -0,0 +1,23 @@
+{
+ "images": [
+ {
+ "filename": "[email protected]",
+ "idiom": "universal",
+ "scale": "1x"
+ },
+ {
+ "filename": "[email protected]",
+ "idiom": "universal",
+ "scale": "2x"
+ },
+ {
+ "filename": "[email protected]",
+ "idiom": "universal",
+ "scale": "3x"
+ }
+ ],
+ "info": {
+ "author": "xcode",
+ "version": 1
+ }
+}
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/SplashIcon.imageset/[email protected] b/src/desktop/src-tauri/gen/apple/Assets.xcassets/SplashIcon.imageset/[email protected]
new file mode 100644
index 000000000..5a868cc17
Binary files /dev/null and b/src/desktop/src-tauri/gen/apple/Assets.xcassets/SplashIcon.imageset/[email protected] differ
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/SplashIcon.imageset/[email protected] b/src/desktop/src-tauri/gen/apple/Assets.xcassets/SplashIcon.imageset/[email protected]
new file mode 100644
index 000000000..2c1d9d352
Binary files /dev/null and b/src/desktop/src-tauri/gen/apple/Assets.xcassets/SplashIcon.imageset/[email protected] differ
diff --git a/src/desktop/src-tauri/gen/apple/Assets.xcassets/SplashIcon.imageset/[email protected] b/src/desktop/src-tauri/gen/apple/Assets.xcassets/SplashIcon.imageset/[email protected]
new file mode 100644
index 000000000..58c686a56
Binary files /dev/null and b/src/desktop/src-tauri/gen/apple/Assets.xcassets/SplashIcon.imageset/[email protected] differ
diff --git a/src/desktop/src-tauri/gen/apple/ExportOptions.plist b/src/desktop/src-tauri/gen/apple/ExportOptions.plist
new file mode 100644
index 000000000..0428a171b
--- /dev/null
+++ b/src/desktop/src-tauri/gen/apple/ExportOptions.plist
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>method</key>
+ <string>debugging</string>
+</dict>
+</plist>
diff --git a/src/desktop/src-tauri/gen/apple/LaunchScreen.storyboard b/src/desktop/src-tauri/gen/apple/LaunchScreen.storyboard
new file mode 100644
index 000000000..f992f2ce7
--- /dev/null
+++ b/src/desktop/src-tauri/gen/apple/LaunchScreen.storyboard
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="17150" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="Y6W-OH-hqX">
+ <dependencies>
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17122"/>
+ <capability name="Named colors" minToolsVersion="9.0"/>
+ <capability name="Safe area layout guides" minToolsVersion="9.0"/>
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+ </dependencies>
+ <scenes>
+ <!--View Controller-->
+ <scene sceneID="s0d-6b-0kx">
+ <objects>
+ <viewController id="Y6W-OH-hqX" sceneMemberID="viewController">
+ <view key="view" contentMode="scaleToFill" id="5EZ-qb-Rvc">
+ <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <subviews>
+ <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" image="SplashIcon" translatesAutoresizingMaskIntoConstraints="NO" id="splash-img">
+ <rect key="frame" x="167" y="408" width="80" height="80"/>
+ <constraints>
+ <constraint firstAttribute="width" constant="80" id="w-constraint"/>
+ <constraint firstAttribute="height" constant="80" id="h-constraint"/>
+ </constraints>
+ </imageView>
+ </subviews>
+ <viewLayoutGuide key="safeArea" id="vDu-zF-Fre"/>
+ <color key="backgroundColor" name="SplashBackground"/>
+ <constraints>
+ <constraint firstItem="splash-img" firstAttribute="centerX" secondItem="5EZ-qb-Rvc" secondAttribute="centerX" id="cx"/>
+ <constraint firstItem="splash-img" firstAttribute="centerY" secondItem="5EZ-qb-Rvc" secondAttribute="centerY" id="cy"/>
+ </constraints>
+ </view>
+ </viewController>
+ <placeholder placeholderIdentifier="IBFirstResponder" id="Ief-a0-LHa" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
+ </objects>
+ </scene>
+ </scenes>
+ <resources>
+ <image name="SplashIcon" width="80" height="80"/>
+ <namedColor name="SplashBackground"/>
+ </resources>
+</document>
diff --git a/src/desktop/src-tauri/gen/apple/Podfile b/src/desktop/src-tauri/gen/apple/Podfile
new file mode 100644
index 000000000..335696cb6
--- /dev/null
+++ b/src/desktop/src-tauri/gen/apple/Podfile
@@ -0,0 +1,21 @@
+# Uncomment the next line to define a global platform for your project
+
+target 'alook-desktop_iOS' do
+platform :ios, '14.0'
+ # Pods for alook-desktop_iOS
+end
+
+target 'alook-desktop_macOS' do
+platform :osx, '11.0'
+ # Pods for alook-desktop_macOS
+end
+
+# Delete the deployment target for iOS and macOS, causing it to be inherited from the Podfile
+post_install do |installer|
+ installer.pods_project.targets.each do |target|
+ target.build_configurations.each do |config|
+ config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
+ config.build_settings.delete 'MACOSX_DEPLOYMENT_TARGET'
+ end
+ end
+end
diff --git a/src/desktop/src-tauri/gen/apple/Sources/alook-desktop/bindings/bindings.h b/src/desktop/src-tauri/gen/apple/Sources/alook-desktop/bindings/bindings.h
new file mode 100644
index 000000000..51522007b
--- /dev/null
+++ b/src/desktop/src-tauri/gen/apple/Sources/alook-desktop/bindings/bindings.h
@@ -0,0 +1,8 @@
+#pragma once
+
+namespace ffi {
+ extern "C" {
+ void start_app();
+ }
+}
+
diff --git a/src/desktop/src-tauri/gen/apple/Sources/alook-desktop/main.mm b/src/desktop/src-tauri/gen/apple/Sources/alook-desktop/main.mm
new file mode 100644
index 000000000..beec889c9
--- /dev/null
+++ b/src/desktop/src-tauri/gen/apple/Sources/alook-desktop/main.mm
@@ -0,0 +1,44 @@
+#include "bindings/bindings.h"
+#import <UIKit/UIKit.h>
+#import <WebKit/WebKit.h>
+#import <objc/runtime.h>
+
+// Constrain WKWebView frame to safe area so viewport height matches visible area
+@implementation UIViewController (AlookSafeArea)
+
++ (void)load {
+ static dispatch_once_t onceToken;
+ dispatch_once(&onceToken, ^{
+ Method original = class_getInstanceMethod(self, @selector(viewDidLayoutSubviews));
+ Method swizzled = class_getInstanceMethod(self, @selector(alook_viewDidLayoutSubviews));
+ method_exchangeImplementations(original, swizzled);
+ });
+}
+
+- (void)alook_viewDidLayoutSubviews {
+ [self alook_viewDidLayoutSubviews];
+ UIEdgeInsets insets = self.view.safeAreaInsets;
+ for (UIView *subview in self.view.subviews) {
+ if ([subview isKindOfClass:[WKWebView class]]) {
+ CGRect bounds = self.view.bounds;
+ subview.frame = CGRectMake(
+ insets.left,
+ insets.top,
+ bounds.size.width - insets.left - insets.right,
+ bounds.size.height - insets.top - insets.bottom
+ );
+ // Set background color matching theme
+ BOOL isDark = (self.traitCollection.userInterfaceStyle == UIUserInterfaceStyleDark);
+ self.view.backgroundColor = isDark
+ ? [UIColor colorWithRed:0.133 green:0.125 blue:0.118 alpha:1.0]
+ : [UIColor colorWithRed:0.929 green:0.910 blue:0.871 alpha:1.0];
+ }
+ }
+}
+
+@end
+
+int main(int argc, char * argv[]) {
+ ffi::start_app();
+ return 0;
+}
diff --git a/src/desktop/src-tauri/gen/apple/alook-desktop_iOS/Info.plist b/src/desktop/src-tauri/gen/apple/alook-desktop_iOS/Info.plist
new file mode 100644
index 000000000..844db1e07
--- /dev/null
+++ b/src/desktop/src-tauri/gen/apple/alook-desktop_iOS/Info.plist
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>CFBundleDevelopmentRegion</key>
+ <string>$(DEVELOPMENT_LANGUAGE)</string>
+ <key>CFBundleExecutable</key>
+ <string>$(EXECUTABLE_NAME)</string>
+ <key>CFBundleIdentifier</key>
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
+ <key>CFBundleInfoDictionaryVersion</key>
+ <string>6.0</string>
+ <key>CFBundleName</key>
+ <string>$(PRODUCT_NAME)</string>
+ <key>CFBundlePackageType</key>
+ <string>APPL</string>
+ <key>CFBundleShortVersionString</key>
+ <string>0.0.141</string>
+ <key>CFBundleVersion</key>
+ <string>0.0.141</string>
+ <key>LSRequiresIPhoneOS</key>
+ <true/>
+ <key>UILaunchStoryboardName</key>
+ <string>LaunchScreen</string>
+ <key>UIRequiredDeviceCapabilities</key>
+ <array>
+ <string>arm64</string>
+ <string>metal</string>
+ </array>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ </array>
+ <key>UISupportedInterfaceOrientations~ipad</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ </array>
+ <key>CFBundleURLTypes</key>
+ <array>
+ <dict>
+ <key>CFBundleURLSchemes</key>
+ <array>
+ <string>alook</string>
+ </array>
+ <key>CFBundleURLName</key>
+ <string>alook</string>
+ </dict>
+ </array>
+</dict>
+</plist>
\ No newline at end of file
diff --git a/src/desktop/src-tauri/gen/apple/alook-desktop_iOS/alook-desktop_iOS.entitlements b/src/desktop/src-tauri/gen/apple/alook-desktop_iOS/alook-desktop_iOS.entitlements
new file mode 100644
index 000000000..21e2f8d83
--- /dev/null
+++ b/src/desktop/src-tauri/gen/apple/alook-desktop_iOS/alook-desktop_iOS.entitlements
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict/>
+</plist>
\ No newline at end of file
diff --git a/src/desktop/src-tauri/gen/apple/project.yml b/src/desktop/src-tauri/gen/apple/project.yml
new file mode 100644
index 000000000..d49c5324e
--- /dev/null
+++ b/src/desktop/src-tauri/gen/apple/project.yml
@@ -0,0 +1,88 @@
+name: alook-desktop
+options:
+ bundleIdPrefix: ai.alook.desktop
+ deploymentTarget:
+ iOS: 14.0
+fileGroups: [../../src]
+configs:
+ debug: debug
+ release: release
+settingGroups:
+ app:
+ base:
+ PRODUCT_NAME: Alook
+ PRODUCT_BUNDLE_IDENTIFIER: ai.alook.desktop
+targetTemplates:
+ app:
+ type: application
+ sources:
+ - path: Sources
+ scheme:
+ environmentVariables:
+ RUST_BACKTRACE: full
+ RUST_LOG: info
+ settings:
+ groups: [app]
+targets:
+ alook-desktop_iOS:
+ type: application
+ platform: iOS
+ sources:
+ - path: Sources
+ - path: Assets.xcassets
+ - path: Externals
+ - path: alook-desktop_iOS
+ - path: assets
+ buildPhase: resources
+ type: folder
+ - path: LaunchScreen.storyboard
+ info:
+ path: alook-desktop_iOS/Info.plist
+ properties:
+ LSRequiresIPhoneOS: true
+ UILaunchStoryboardName: LaunchScreen
+ UIRequiredDeviceCapabilities: [arm64, metal]
+ UISupportedInterfaceOrientations:
+ - UIInterfaceOrientationPortrait
+ - UIInterfaceOrientationLandscapeLeft
+ - UIInterfaceOrientationLandscapeRight
+ UISupportedInterfaceOrientations~ipad:
+ - UIInterfaceOrientationPortrait
+ - UIInterfaceOrientationPortraitUpsideDown
+ - UIInterfaceOrientationLandscapeLeft
+ - UIInterfaceOrientationLandscapeRight
+ CFBundleShortVersionString: 0.0.141
+ CFBundleVersion: "0.0.141"
+ entitlements:
+ path: alook-desktop_iOS/alook-desktop_iOS.entitlements
+ scheme:
+ environmentVariables:
+ RUST_BACKTRACE: full
+ RUST_LOG: info
+ settings:
+ base:
+ ENABLE_BITCODE: false
+ ARCHS: [arm64]
+ VALID_ARCHS: arm64
+ LIBRARY_SEARCH_PATHS[arch=x86_64]: $(inherited) $(PROJECT_DIR)/Externals/x86_64/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(DEVELOPER_DIR)/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/$(PLATFORM_NAME) $(DEVELOPER_DIR)/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/$(PLATFORM_NAME)
+ LIBRARY_SEARCH_PATHS[arch=arm64]: $(inherited) $(PROJECT_DIR)/Externals/arm64/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(DEVELOPER_DIR)/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/$(PLATFORM_NAME) $(DEVELOPER_DIR)/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift-5.0/$(PLATFORM_NAME)
+ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES: true
+ EXCLUDED_ARCHS[sdk=iphoneos*]: x86_64
+ groups: [app]
+ dependencies:
+ - framework: libapp.a
+ embed: false
+ - sdk: CoreGraphics.framework
+ - sdk: Metal.framework
+ - sdk: MetalKit.framework
+ - sdk: QuartzCore.framework
+ - sdk: Security.framework
+ - sdk: UIKit.framework
+ - sdk: WebKit.framework
+ preBuildScripts:
+ - script: pnpm tauri ios xcode-script -v --platform ${PLATFORM_DISPLAY_NAME:?} --sdk-root ${SDKROOT:?} --framework-search-paths "${FRAMEWORK_SEARCH_PATHS:?}" --header-search-paths "${HEADER_SEARCH_PATHS:?}" --gcc-preprocessor-definitions "${GCC_PREPROCESSOR_DEFINITIONS:-}" --configuration ${CONFIGURATION:?} ${FORCE_COLOR} ${ARCHS:?}
+ name: Build Rust Code
+ basedOnDependencyAnalysis: false
+ outputFiles:
+ - $(SRCROOT)/Externals/x86_64/${CONFIGURATION}/libapp.a
+ - $(SRCROOT)/Externals/arm64/${CONFIGURATION}/libapp.a
\ No newline at end of file
diff --git a/src/desktop/src-tauri/icons/128x128.png b/src/desktop/src-tauri/icons/128x128.png
index 72ffeedc4..b82a38ec1 100644
Binary files a/src/desktop/src-tauri/icons/128x128.png and b/src/desktop/src-tauri/icons/128x128.png differ
diff --git a/src/desktop/src-tauri/icons/[email protected] b/src/desktop/src-tauri/icons/[email protected]
index 0c41ba0e8..ea21c7633 100644
Binary files a/src/desktop/src-tauri/icons/[email protected] and b/src/desktop/src-tauri/icons/[email protected] differ
diff --git a/src/desktop/src-tauri/icons/32x32.png b/src/desktop/src-tauri/icons/32x32.png
index 87b73a337..750a39855 100644
Binary files a/src/desktop/src-tauri/icons/32x32.png and b/src/desktop/src-tauri/icons/32x32.png differ
diff --git a/src/desktop/src-tauri/icons/64x64.png b/src/desktop/src-tauri/icons/64x64.png
new file mode 100644
index 000000000..3186443be
Binary files /dev/null and b/src/desktop/src-tauri/icons/64x64.png differ
diff --git a/src/desktop/src-tauri/icons/Square107x107Logo.png b/src/desktop/src-tauri/icons/Square107x107Logo.png
new file mode 100644
index 000000000..be3d52749
Binary files /dev/null and b/src/desktop/src-tauri/icons/Square107x107Logo.png differ
diff --git a/src/desktop/src-tauri/icons/Square142x142Logo.png b/src/desktop/src-tauri/icons/Square142x142Logo.png
new file mode 100644
index 000000000..1d3346fb2
Binary files /dev/null and b/src/desktop/src-tauri/icons/Square142x142Logo.png differ
diff --git a/src/desktop/src-tauri/icons/Square150x150Logo.png b/src/desktop/src-tauri/icons/Square150x150Logo.png
new file mode 100644
index 000000000..3ab390c1d
Binary files /dev/null and b/src/desktop/src-tauri/icons/Square150x150Logo.png differ
diff --git a/src/desktop/src-tauri/icons/Square284x284Logo.png b/src/desktop/src-tauri/icons/Square284x284Logo.png
new file mode 100644
index 000000000..f6301a6f8
Binary files /dev/null and b/src/desktop/src-tauri/icons/Square284x284Logo.png differ
diff --git a/src/desktop/src-tauri/icons/Square30x30Logo.png b/src/desktop/src-tauri/icons/Square30x30Logo.png
new file mode 100644
index 000000000..4c23a837c
Binary files /dev/null and b/src/desktop/src-tauri/icons/Square30x30Logo.png differ
diff --git a/src/desktop/src-tauri/icons/Square310x310Logo.png b/src/desktop/src-tauri/icons/Square310x310Logo.png
new file mode 100644
index 000000000..7f97fc424
Binary files /dev/null and b/src/desktop/src-tauri/icons/Square310x310Logo.png differ
diff --git a/src/desktop/src-tauri/icons/Square44x44Logo.png b/src/desktop/src-tauri/icons/Square44x44Logo.png
new file mode 100644
index 000000000..7f09a4e02
Binary files /dev/null and b/src/desktop/src-tauri/icons/Square44x44Logo.png differ
diff --git a/src/desktop/src-tauri/icons/Square71x71Logo.png b/src/desktop/src-tauri/icons/Square71x71Logo.png
new file mode 100644
index 000000000..b2afdf947
Binary files /dev/null and b/src/desktop/src-tauri/icons/Square71x71Logo.png differ
diff --git a/src/desktop/src-tauri/icons/Square89x89Logo.png b/src/desktop/src-tauri/icons/Square89x89Logo.png
new file mode 100644
index 000000000..1e5015b5e
Binary files /dev/null and b/src/desktop/src-tauri/icons/Square89x89Logo.png differ
diff --git a/src/desktop/src-tauri/icons/StoreLogo.png b/src/desktop/src-tauri/icons/StoreLogo.png
new file mode 100644
index 000000000..44cf41eda
Binary files /dev/null and b/src/desktop/src-tauri/icons/StoreLogo.png differ
diff --git a/src/desktop/src-tauri/icons/icon.icns b/src/desktop/src-tauri/icons/icon.icns
index d4afd933a..1a3e9a193 100644
Binary files a/src/desktop/src-tauri/icons/icon.icns and b/src/desktop/src-tauri/icons/icon.icns differ
diff --git a/src/desktop/src-tauri/icons/icon.ico b/src/desktop/src-tauri/icons/icon.ico
index 63cd941d6..bef60ff5c 100644
Binary files a/src/desktop/src-tauri/icons/icon.ico and b/src/desktop/src-tauri/icons/icon.ico differ
diff --git a/src/desktop/src-tauri/icons/icon.png b/src/desktop/src-tauri/icons/icon.png
index b3aad9806..c30728675 100644
Binary files a/src/desktop/src-tauri/icons/icon.png and b/src/desktop/src-tauri/icons/icon.png differ
diff --git a/src/desktop/src-tauri/icons/ios/[email protected] b/src/desktop/src-tauri/icons/ios/[email protected]
new file mode 100644
index 000000000..0bbdaffe3
Binary files /dev/null and b/src/desktop/src-tauri/icons/ios/[email protected] differ
diff --git a/src/desktop/src-tauri/icons/ios/[email protected] b/src/desktop/src-tauri/icons/ios/[email protected]
new file mode 100644
index 000000000..5b0d6129c
Binary files /dev/null and b/src/desktop/src-tauri/icons/ios/[email protected] differ
diff --git a/src/desktop/src-tauri/icons/ios/[email protected] b/src/desktop/src-tauri/icons/ios/[email protected]
new file mode 100644
index 000000000..5b0d6129c
Binary files /dev/null and b/src/desktop/src-tauri/icons/ios/[email protected] differ
diff --git a/src/desktop/src-tauri/icons/ios/[email protected] b/src/desktop/src-tauri/icons/ios/[email protected]
new file mode 100644
index 000000000..04ae39491
Binary files /dev/null and b/src/desktop/src-tauri/icons/ios/[email protected] differ
diff --git a/src/desktop/src-tauri/icons/ios/[email protected] b/src/desktop/src-tauri/icons/ios/[email protected]
new file mode 100644
index 000000000..c1383402f
Binary files /dev/null and b/src/desktop/src-tauri/icons/ios/[email protected] differ
diff --git a/src/desktop/src-tauri/icons/ios/[email protected] b/src/desktop/src-tauri/icons/ios/[email protected]
new file mode 100644
index 000000000..be289036c
Binary files /dev/null and b/src/desktop/src-tauri/icons/ios/[email protected] differ
diff --git a/src/desktop/src-tauri/icons/ios/[email protected] b/src/desktop/src-tauri/icons/ios/[email protected]
new file mode 100644
index 000000000..be289036c
Binary files /dev/null and b/src/desktop/src-tauri/icons/ios/[email protected] differ
diff --git a/src/desktop/src-tauri/icons/ios/[email protected] b/src/desktop/src-tauri/icons/ios/[email protected]
new file mode 100644
index 000000000..21505da11
Binary files /dev/null and b/src/desktop/src-tauri/icons/ios/[email protected] differ
diff --git a/src/desktop/src-tauri/icons/ios/[email protected] b/src/desktop/src-tauri/icons/ios/[email protected]
new file mode 100644
index 000000000..5b0d6129c
Binary files /dev/null and b/src/desktop/src-tauri/icons/ios/[email protected] differ
diff --git a/src/desktop/src-tauri/icons/ios/[email protected] b/src/desktop/src-tauri/icons/ios/[email protected]
new file mode 100644
index 000000000..d397f162f
Binary files /dev/null and b/src/desktop/src-tauri/icons/ios/[email protected] differ
diff --git a/src/desktop/src-tauri/icons/ios/[email protected] b/src/desktop/src-tauri/icons/ios/[email protected]
new file mode 100644
index 000000000..d397f162f
Binary files /dev/null and b/src/desktop/src-tauri/icons/ios/[email protected] differ
diff --git a/src/desktop/src-tauri/icons/ios/[email protected] b/src/desktop/src-tauri/icons/ios/[email protected]
new file mode 100644
index 000000000..a31ae230e
Binary files /dev/null and b/src/desktop/src-tauri/icons/ios/[email protected] differ
diff --git a/src/desktop/src-tauri/icons/ios/[email protected] b/src/desktop/src-tauri/icons/ios/[email protected]
new file mode 100644
index 000000000..c43c5484d
Binary files /dev/null and b/src/desktop/src-tauri/icons/ios/[email protected] differ
diff --git a/src/desktop/src-tauri/icons/ios/[email protected] b/src/desktop/src-tauri/icons/ios/[email protected]
new file mode 100644
index 000000000..a31ae230e
Binary files /dev/null and b/src/desktop/src-tauri/icons/ios/[email protected] differ
diff --git a/src/desktop/src-tauri/icons/ios/[email protected] b/src/desktop/src-tauri/icons/ios/[email protected]
new file mode 100644
index 000000000..9ecefe0b3
Binary files /dev/null and b/src/desktop/src-tauri/icons/ios/[email protected] differ
diff --git a/src/desktop/src-tauri/icons/ios/[email protected] b/src/desktop/src-tauri/icons/ios/[email protected]
new file mode 100644
index 000000000..e4e350d43
Binary files /dev/null and b/src/desktop/src-tauri/icons/ios/[email protected] differ
diff --git a/src/desktop/src-tauri/icons/ios/[email protected] b/src/desktop/src-tauri/icons/ios/[email protected]
new file mode 100644
index 000000000..def757cd7
Binary files /dev/null and b/src/desktop/src-tauri/icons/ios/[email protected] differ
diff --git a/src/desktop/src-tauri/icons/ios/[email protected] b/src/desktop/src-tauri/icons/ios/[email protected]
new file mode 100644
index 000000000..fc317de47
Binary files /dev/null and b/src/desktop/src-tauri/icons/ios/[email protected] differ
diff --git a/src/desktop/src-tauri/plugins/tauri-plugin-push/Cargo.toml b/src/desktop/src-tauri/plugins/tauri-plugin-push/Cargo.toml
index a4a98fd2f..436aa95fb 100644
--- a/src/desktop/src-tauri/plugins/tauri-plugin-push/Cargo.toml
+++ b/src/desktop/src-tauri/plugins/tauri-plugin-push/Cargo.toml
@@ -3,6 +3,7 @@ name = "tauri-plugin-push"
version = "0.1.0"
edition = "2021"
description = "Tauri plugin for push notifications via FCM (Android) and APNs (iOS)"
+links = "tauri-plugin-push"
[dependencies]
tauri = "2"
diff --git a/src/desktop/src-tauri/plugins/tauri-plugin-push/permissions/autogenerated/commands/get_token.toml b/src/desktop/src-tauri/plugins/tauri-plugin-push/permissions/autogenerated/commands/get_token.toml
new file mode 100644
index 000000000..a8ca0a440
--- /dev/null
+++ b/src/desktop/src-tauri/plugins/tauri-plugin-push/permissions/autogenerated/commands/get_token.toml
@@ -0,0 +1,13 @@
+# Automatically generated - DO NOT EDIT!
+
+"$schema" = "../../schemas/schema.json"
+
+[[permission]]
+identifier = "allow-get-token"
+description = "Enables the get_token command without any pre-configured scope."
+commands.allow = ["get_token"]
+
+[[permission]]
+identifier = "deny-get-token"
+description = "Denies the get_token command without any pre-configured scope."
+commands.deny = ["get_token"]
diff --git a/src/desktop/src-tauri/plugins/tauri-plugin-push/permissions/autogenerated/commands/on_notification.toml b/src/desktop/src-tauri/plugins/tauri-plugin-push/permissions/autogenerated/commands/on_notification.toml
new file mode 100644
index 000000000..793fbb51d
--- /dev/null
+++ b/src/desktop/src-tauri/plugins/tauri-plugin-push/permissions/autogenerated/commands/on_notification.toml
@@ -0,0 +1,13 @@
+# Automatically generated - DO NOT EDIT!
+
+"$schema" = "../../schemas/schema.json"
+
+[[permission]]
+identifier = "allow-on-notification"
+description = "Enables the on_notification command without any pre-configured scope."
+commands.allow = ["on_notification"]
+
+[[permission]]
+identifier = "deny-on-notification"
+description = "Denies the on_notification command without any pre-configured scope."
+commands.deny = ["on_notification"]
diff --git a/src/desktop/src-tauri/plugins/tauri-plugin-push/permissions/autogenerated/reference.md b/src/desktop/src-tauri/plugins/tauri-plugin-push/permissions/autogenerated/reference.md
new file mode 100644
index 000000000..c6200ca7b
--- /dev/null
+++ b/src/desktop/src-tauri/plugins/tauri-plugin-push/permissions/autogenerated/reference.md
@@ -0,0 +1,61 @@
+## Permission Table
+
+<table>
+<tr>
+<th>Identifier</th>
+<th>Description</th>
+</tr>
+
+
+<tr>
+<td>
+
+`push:allow-get-token`
+
+</td>
+<td>
+
+Enables the get_token command without any pre-configured scope.
+
+</td>
+</tr>
+
+<tr>
+<td>
+
+`push:deny-get-token`
+
+</td>
+<td>
+
+Denies the get_token command without any pre-configured scope.
+
+</td>
+</tr>
+
+<tr>
+<td>
+
+`push:allow-on-notification`
+
+</td>
+<td>
+
+Enables the on_notification command without any pre-configured scope.
+
+</td>
+</tr>
+
+<tr>
+<td>
+
+`push:deny-on-notification`
+
+</td>
+<td>
+
+Denies the on_notification command without any pre-configured scope.
+
+</td>
+</tr>
+</table>
diff --git a/src/desktop/src-tauri/plugins/tauri-plugin-push/permissions/schemas/schema.json b/src/desktop/src-tauri/plugins/tauri-plugin-push/permissions/schemas/schema.json
new file mode 100644
index 000000000..cc0eb57c2
--- /dev/null
+++ b/src/desktop/src-tauri/plugins/tauri-plugin-push/permissions/schemas/schema.json
@@ -0,0 +1,324 @@
+{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "title": "PermissionFile",
+ "description": "Permission file that can define a default permission, a set of permissions or a list of inlined permissions.",
+ "type": "object",
+ "properties": {
+ "default": {
+ "description": "The default permission set for the plugin",
+ "anyOf": [
+ {
+ "$ref": "#/definitions/DefaultPermission"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "set": {
+ "description": "A list of permissions sets defined",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PermissionSet"
+ }
+ },
+ "permission": {
+ "description": "A list of inlined permissions",
+ "default": [],
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Permission"
+ }
+ }
+ },
+ "definitions": {
+ "DefaultPermission": {
+ "description": "The default permission set of the plugin.\n\nWorks similarly to a permission with the \"default\" identifier.",
+ "type": "object",
+ "required": [
+ "permissions"
+ ],
+ "properties": {
+ "version": {
+ "description": "The version of the permission.",
+ "type": [
+ "integer",
+ "null"
+ ],
+ "format": "uint64",
+ "minimum": 1.0
+ },
+ "description": {
+ "description": "Human-readable description of what the permission does. Tauri convention is to use `<h4>` headings in markdown content for Tauri documentation generation purposes.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "permissions": {
+ "description": "All permissions this set contains.",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "PermissionSet": {
+ "description": "A set of direct permissions grouped together under a new name.",
+ "type": "object",
+ "required": [
+ "description",
+ "identifier",
+ "permissions"
+ ],
+ "properties": {
+ "identifier": {
+ "description": "A unique identifier for the permission.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Human-readable description of what the permission does.",
+ "type": "string"
+ },
+ "permissions": {
+ "description": "All permissions this set contains.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/PermissionKind"
+ }
+ }
+ }
+ },
+ "Permission": {
+ "description": "Descriptions of explicit privileges of commands.\n\nIt can enable commands to be accessible in the frontend of the application.\n\nIf the scope is defined it can be used to fine grain control the access of individual or multiple commands.",
+ "type": "object",
+ "required": [
+ "identifier"
+ ],
+ "properties": {
+ "version": {
+ "description": "The version of the permission.",
+ "type": [
+ "integer",
+ "null"
+ ],
+ "format": "uint64",
+ "minimum": 1.0
+ },
+ "identifier": {
+ "description": "A unique identifier for the permission.",
+ "type": "string"
+ },
+ "description": {
+ "description": "Human-readable description of what the permission does. Tauri internal convention is to use `<h4>` headings in markdown content for Tauri documentation generation purposes.",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "commands": {
+ "description": "Allowed or denied commands when using this permission.",
+ "default": {
+ "allow": [],
+ "deny": []
+ },
+ "allOf": [
+ {
+ "$ref": "#/definitions/Commands"
+ }
+ ]
+ },
+ "scope": {
+ "description": "Allowed or denied scoped when using this permission.",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Scopes"
+ }
+ ]
+ },
+ "platforms": {
+ "description": "Target platforms this permission applies. By default all platforms are affected by this permission.",
+ "type": [
+ "array",
+ "null"
+ ],
+ "items": {
+ "$ref": "#/definitions/Target"
+ }
+ }
+ }
+ },
+ "Commands": {
+ "description": "Allowed and denied commands inside a permission.\n\nIf two commands clash inside of `allow` and `deny`, it should be denied by default.",
+ "type": "object",
+ "properties": {
+ "allow": {
+ "description": "Allowed command.",
+ "default": [],
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "deny": {
+ "description": "Denied command, which takes priority.",
+ "default": [],
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "Scopes": {
+ "description": "An argument for fine grained behavior control of Tauri commands.\n\nIt can be of any serde serializable type and is used to allow or prevent certain actions inside a Tauri command. The configured scope is passed to the command and will be enforced by the command implementation.\n\n## Example\n\n```json { \"allow\": [{ \"path\": \"$HOME/**\" }], \"deny\": [{ \"path\": \"$HOME/secret.txt\" }] } ```",
+ "type": "object",
+ "properties": {
+ "allow": {
+ "description": "Data that defines what is allowed by the scope.",
+ "type": [
+ "array",
+ "null"
+ ],
+ "items": {
+ "$ref": "#/definitions/Value"
+ }
+ },
+ "deny": {
+ "description": "Data that defines what is denied by the scope. This should be prioritized by validation logic.",
+ "type": [
+ "array",
+ "null"
+ ],
+ "items": {
+ "$ref": "#/definitions/Value"
+ }
+ }
+ }
+ },
+ "Value": {
+ "description": "All supported ACL values.",
+ "anyOf": [
+ {
+ "description": "Represents a null JSON value.",
+ "type": "null"
+ },
+ {
+ "description": "Represents a [`bool`].",
+ "type": "boolean"
+ },
+ {
+ "description": "Represents a valid ACL [`Number`].",
+ "allOf": [
+ {
+ "$ref": "#/definitions/Number"
+ }
+ ]
+ },
+ {
+ "description": "Represents a [`String`].",
+ "type": "string"
+ },
+ {
+ "description": "Represents a list of other [`Value`]s.",
+ "type": "array",
+ "items": {
+ "$ref": "#/definitions/Value"
+ }
+ },
+ {
+ "description": "Represents a map of [`String`] keys to [`Value`]s.",
+ "type": "object",
+ "additionalProperties": {
+ "$ref": "#/definitions/Value"
+ }
+ }
+ ]
+ },
+ "Number": {
+ "description": "A valid ACL number.",
+ "anyOf": [
+ {
+ "description": "Represents an [`i64`].",
+ "type": "integer",
+ "format": "int64"
+ },
+ {
+ "description": "Represents a [`f64`].",
+ "type": "number",
+ "format": "double"
+ }
+ ]
+ },
+ "Target": {
+ "description": "Platform target.",
+ "oneOf": [
+ {
+ "description": "MacOS.",
+ "type": "string",
+ "enum": [
+ "macOS"
+ ]
+ },
+ {
+ "description": "Windows.",
+ "type": "string",
+ "enum": [
+ "windows"
+ ]
+ },
+ {
+ "description": "Linux.",
+ "type": "string",
+ "enum": [
+ "linux"
+ ]
+ },
+ {
+ "description": "Android.",
+ "type": "string",
+ "enum": [
+ "android"
+ ]
+ },
+ {
+ "description": "iOS.",
+ "type": "string",
+ "enum": [
+ "iOS"
+ ]
+ }
+ ]
+ },
+ "PermissionKind": {
+ "type": "string",
+ "oneOf": [
+ {
+ "description": "Enables the get_token command without any pre-configured scope.",
+ "type": "string",
+ "const": "allow-get-token",
+ "markdownDescription": "Enables the get_token command without any pre-configured scope."
+ },
+ {
+ "description": "Denies the get_token command without any pre-configured scope.",
+ "type": "string",
+ "const": "deny-get-token",
+ "markdownDescription": "Denies the get_token command without any pre-configured scope."
+ },
+ {
+ "description": "Enables the on_notification command without any pre-configured scope.",
+ "type": "string",
+ "const": "allow-on-notification",
+ "markdownDescription": "Enables the on_notification command without any pre-configured scope."
+ },
+ {
+ "description": "Denies the on_notification command without any pre-configured scope.",
+ "type": "string",
+ "const": "deny-on-notification",
+ "markdownDescription": "Denies the on_notification command without any pre-configured scope."
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file