website

#astro#js#html#css

git clone https://git.pyrossh.dev/website

木 Personal website of pyrossh. Built with astrojs, shiki, vite.


f2d78e5 — pyrossh 2025-08-23T14:38:56+05:30
fix issues

Generated files not shown: bun.lock, src-tauri/Cargo.lock

Files changed (72) hide show
  1. package.json +6 -5
  2. src-tauri/Cargo.toml +2 -2
  3. src-tauri/gen/android/app/.gitignore +1 -1
  4. src-tauri/gen/android/app/build.gradle.kts +8 -7
  5. src-tauri/gen/android/app/src/main/AndroidManifest.xml +1 -1
  6. src-tauri/gen/android/app/src/main/java/com/pyrossh/tauri_app/MainActivity.kt +11 -0
  7. src-tauri/gen/android/app/src/main/java/dev/pyrossh/app/MainActivity.kt +0 -3
  8. src-tauri/gen/android/app/src/main/res/values-night/themes.xml +1 -1
  9. src-tauri/gen/android/app/src/main/res/values/strings.xml +2 -2
  10. src-tauri/gen/android/app/src/main/res/values/themes.xml +1 -1
  11. src-tauri/gen/android/build.gradle.kts +1 -1
  12. src-tauri/gen/android/buildSrc/build.gradle.kts +1 -1
  13. src-tauri/gen/android/buildSrc/src/main/java/{dev/pyrossh/app → com/pyrossh/tauri_app}/kotlin/BuildTask.kt +1 -1
  14. src-tauri/gen/android/buildSrc/src/main/java/{dev/pyrossh/app → com/pyrossh/tauri_app}/kotlin/RustPlugin.kt +0 -0
  15. src-tauri/gen/android/gradle/wrapper/gradle-wrapper.properties +1 -1
  16. src-tauri/gen/apple/.gitignore +3 -0
  17. src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  18. src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  19. src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  20. src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  21. src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  22. src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  23. src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  24. src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  25. src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  26. src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  27. src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  28. src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  29. src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  30. src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  31. src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  32. src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  33. src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  34. src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] +0 -0
  35. src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/Contents.json +116 -0
  36. src-tauri/gen/apple/Assets.xcassets/Contents.json +6 -0
  37. src-tauri/gen/apple/ExportOptions.plist +8 -0
  38. src-tauri/gen/apple/LaunchScreen.storyboard +30 -0
  39. src-tauri/gen/apple/Podfile +21 -0
  40. src-tauri/gen/apple/Sources/tauri-app/bindings/bindings.h +8 -0
  41. src-tauri/gen/apple/Sources/tauri-app/main.mm +6 -0
  42. src-tauri/gen/apple/project.yml +88 -0
  43. src-tauri/gen/apple/tauri-app.xcodeproj/project.pbxproj +458 -0
  44. src-tauri/gen/apple/tauri-app.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  45. src-tauri/gen/apple/tauri-app.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +10 -0
  46. src-tauri/gen/apple/tauri-app.xcodeproj/xcshareddata/xcschemes/tauri-app_iOS.xcscheme +131 -0
  47. src-tauri/gen/apple/tauri-app_iOS/Info.plist +44 -0
  48. src-tauri/gen/apple/tauri-app_iOS/tauri-app_iOS.entitlements +5 -0
  49. src-tauri/icons/ios/[email protected] +0 -0
  50. src-tauri/icons/ios/[email protected] +0 -0
  51. src-tauri/icons/ios/[email protected] +0 -0
  52. src-tauri/icons/ios/[email protected] +0 -0
  53. src-tauri/icons/ios/[email protected] +0 -0
  54. src-tauri/icons/ios/[email protected] +0 -0
  55. src-tauri/icons/ios/[email protected] +0 -0
  56. src-tauri/icons/ios/[email protected] +0 -0
  57. src-tauri/icons/ios/[email protected] +0 -0
  58. src-tauri/icons/ios/[email protected] +0 -0
  59. src-tauri/icons/ios/[email protected] +0 -0
  60. src-tauri/icons/ios/[email protected] +0 -0
  61. src-tauri/icons/ios/[email protected] +0 -0
  62. src-tauri/icons/ios/[email protected] +0 -0
  63. src-tauri/icons/ios/[email protected] +0 -0
  64. src-tauri/icons/ios/[email protected] +0 -0
  65. src-tauri/icons/ios/[email protected] +0 -0
  66. src-tauri/icons/ios/[email protected] +0 -0
  67. src-tauri/src/main.rs +1 -1
  68. src-tauri/tauri.conf.json +6 -4
  69. src/components/Footer.astro +11 -1
  70. src/components/Header.astro +4 -4
  71. src/layouts/Base.astro +1 -4
  72. src/layouts/Base.css +1 -5
package.json CHANGED
@@ -1,15 +1,16 @@
1
1
  {
2
- "name": "website",
2
+ "name": "tauri-app",
3
+ "private": true,
3
4
  "type": "module",
4
5
  "version": "0.0.1",
5
6
  "scripts": {
6
7
  "tauri": "tauri",
7
8
  "dev": "astro dev",
8
9
  "build": "astro build",
9
- "dev:android": "tauri android dev",
10
+ "dev:android": "tauri android dev -v",
10
- "dev:ios": "tauri ios dev",
11
11
  "build:android": "tauri android build --aab",
12
- "sign:android": "bundletool build-apks --bundle=src-tauri/gen/android/app/build/outputs/bundle/universalRelease/app-universal-release.aab --output=./app-universal-release.apks --mode=universal --ks=../config/keystore.jks --ks-key-alias=*** --ks-pass=pass:*** --key-pass=pass:***"
12
+ "build:android:sign": "bundletool build-apks --bundle=src-tauri/gen/android/app/build/outputs/bundle/universalRelease/app-universal-release.aab --output=./app-universal-release.apks --mode=universal --ks=../config/pyrossh_keystore.jks --ks-key-alias=pyrossh --ks-pass=pass:Test@123 --key-pass=pass:Test@123",
13
+ "dev:ios": "tauri ios dev"
13
14
  },
14
15
  "dependencies": {
15
16
  "@appzic/astro-reset-css": "^1.2.0",
@@ -22,7 +23,7 @@
22
23
  },
23
24
  "devDependencies": {
24
25
  "@playwright/test": "^1.52.0",
25
- "@tauri-apps/cli": "^2",
26
+ "@tauri-apps/cli": "^2.8.1",
26
27
  "@types/node": "^22.15.3"
27
28
  }
28
29
  }
src-tauri/Cargo.toml CHANGED
@@ -1,5 +1,5 @@
1
1
  [package]
2
- name = "app"
2
+ name = "tauri-app"
3
3
  version = "0.1.0"
4
4
  description = "A Tauri App"
5
5
  authors = ["you"]
@@ -11,7 +11,7 @@ edition = "2021"
11
11
  # The `_lib` suffix may seem redundant but it is necessary
12
12
  # to make the lib name unique and wouldn't conflict with the bin name.
13
13
  # This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
14
- name = "app_lib"
14
+ name = "tauri_app_lib"
15
15
  crate-type = ["staticlib", "cdylib", "rlib"]
16
16
 
17
17
  [build-dependencies]
src-tauri/gen/android/app/.gitignore CHANGED
@@ -1,4 +1,4 @@
1
- /src/main/java/dev/pyrossh/app/generated
1
+ /src/main/java/com/pyrossh/tauri_app/generated
2
2
  /src/main/jniLibs/**/*.so
3
3
  /src/main/assets/tauri.conf.json
4
4
  /tauri.build.gradle.kts
src-tauri/gen/android/app/build.gradle.kts CHANGED
@@ -14,13 +14,13 @@ val tauriProperties = Properties().apply {
14
14
  }
15
15
 
16
16
  android {
17
- compileSdk = 34
17
+ compileSdk = 36
18
- namespace = "dev.pyrossh.app"
18
+ namespace = "com.pyrossh.tauri_app"
19
19
  defaultConfig {
20
20
  manifestPlaceholders["usesCleartextTraffic"] = "false"
21
- applicationId = "dev.pyrossh.app"
21
+ applicationId = "com.pyrossh.tauri_app"
22
22
  minSdk = 24
23
- targetSdk = 34
23
+ targetSdk = 36
24
24
  versionCode = tauriProperties.getProperty("tauri.android.versionCode", "1").toInt()
25
25
  versionName = tauriProperties.getProperty("tauri.android.versionName", "1.0")
26
26
  }
@@ -58,9 +58,10 @@ rust {
58
58
  }
59
59
 
60
60
  dependencies {
61
- implementation("androidx.webkit:webkit:1.6.1")
61
+ implementation("androidx.webkit:webkit:1.14.0")
62
- implementation("androidx.appcompat:appcompat:1.6.1")
62
+ implementation("androidx.appcompat:appcompat:1.7.1")
63
+ implementation("androidx.activity:activity-ktx:1.10.1")
63
- implementation("com.google.android.material:material:1.8.0")
64
+ implementation("com.google.android.material:material:1.12.0")
64
65
  testImplementation("junit:junit:4.13.2")
65
66
  androidTestImplementation("androidx.test.ext:junit:1.1.4")
66
67
  androidTestImplementation("androidx.test.espresso:espresso-core:3.5.0")
src-tauri/gen/android/app/src/main/AndroidManifest.xml CHANGED
@@ -8,7 +8,7 @@
8
8
  <application
9
9
  android:icon="@mipmap/ic_launcher"
10
10
  android:label="@string/app_name"
11
- android:theme="@style/Theme.app"
11
+ android:theme="@style/Theme.tauri_app"
12
12
  android:usesCleartextTraffic="${usesCleartextTraffic}">
13
13
  <activity
14
14
  android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|smallestScreenSize|screenLayout|uiMode"
src-tauri/gen/android/app/src/main/java/com/pyrossh/tauri_app/MainActivity.kt ADDED
@@ -0,0 +1,11 @@
1
+ package com.pyrossh.tauri_app
2
+
3
+ import android.os.Bundle
4
+ import androidx.activity.enableEdgeToEdge
5
+
6
+ class MainActivity : TauriActivity() {
7
+ override fun onCreate(savedInstanceState: Bundle?) {
8
+ enableEdgeToEdge()
9
+ super.onCreate(savedInstanceState)
10
+ }
11
+ }
src-tauri/gen/android/app/src/main/java/dev/pyrossh/app/MainActivity.kt DELETED
@@ -1,3 +0,0 @@
1
- package dev.pyrossh.app
2
-
3
- class MainActivity : TauriActivity()
src-tauri/gen/android/app/src/main/res/values-night/themes.xml CHANGED
@@ -1,6 +1,6 @@
1
1
  <resources xmlns:tools="http://schemas.android.com/tools">
2
2
  <!-- Base application theme. -->
3
- <style name="Theme.app" parent="Theme.MaterialComponents.DayNight.NoActionBar">
3
+ <style name="Theme.tauri_app" parent="Theme.MaterialComponents.DayNight.NoActionBar">
4
4
  <!-- Customize your theme here. -->
5
5
  </style>
6
6
  </resources>
src-tauri/gen/android/app/src/main/res/values/strings.xml CHANGED
@@ -1,4 +1,4 @@
1
1
  <resources>
2
- <string name="app_name">app</string>
2
+ <string name="app_name">tauri-app</string>
3
- <string name="main_activity_title">app</string>
3
+ <string name="main_activity_title">tauri-app</string>
4
4
  </resources>
src-tauri/gen/android/app/src/main/res/values/themes.xml CHANGED
@@ -1,6 +1,6 @@
1
1
  <resources xmlns:tools="http://schemas.android.com/tools">
2
2
  <!-- Base application theme. -->
3
- <style name="Theme.app" parent="Theme.MaterialComponents.DayNight.NoActionBar">
3
+ <style name="Theme.tauri_app" parent="Theme.MaterialComponents.DayNight.NoActionBar">
4
4
  <!-- Customize your theme here. -->
5
5
  </style>
6
6
  </resources>
src-tauri/gen/android/build.gradle.kts CHANGED
@@ -4,7 +4,7 @@ buildscript {
4
4
  mavenCentral()
5
5
  }
6
6
  dependencies {
7
- classpath("com.android.tools.build:gradle:8.5.1")
7
+ classpath("com.android.tools.build:gradle:8.11.0")
8
8
  classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.25")
9
9
  }
10
10
  }
src-tauri/gen/android/buildSrc/build.gradle.kts CHANGED
@@ -18,6 +18,6 @@ repositories {
18
18
 
19
19
  dependencies {
20
20
  compileOnly(gradleApi())
21
- implementation("com.android.tools.build:gradle:8.5.1")
21
+ implementation("com.android.tools.build:gradle:8.11.0")
22
22
  }
23
23
 
src-tauri/gen/android/buildSrc/src/main/java/{dev/pyrossh/app → com/pyrossh/tauri_app}/kotlin/BuildTask.kt RENAMED
@@ -16,7 +16,7 @@ open class BuildTask : DefaultTask() {
16
16
 
17
17
  @TaskAction
18
18
  fun assemble() {
19
- val executable = """/opt/homebrew/bin/bun""";
19
+ val executable = """bun""";
20
20
  try {
21
21
  runTauriCli(executable)
22
22
  } catch (e: Exception) {
src-tauri/gen/android/buildSrc/src/main/java/{dev/pyrossh/app → com/pyrossh/tauri_app}/kotlin/RustPlugin.kt RENAMED
File without changes
src-tauri/gen/android/gradle/wrapper/gradle-wrapper.properties CHANGED
@@ -1,6 +1,6 @@
1
1
  #Tue May 10 19:22:52 CST 2022
2
2
  distributionBase=GRADLE_USER_HOME
3
- distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
3
+ distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
4
4
  distributionPath=wrapper/dists
5
5
  zipStorePath=wrapper/dists
6
6
  zipStoreBase=GRADLE_USER_HOME
src-tauri/gen/apple/.gitignore ADDED
@@ -0,0 +1,3 @@
1
+ xcuserdata/
2
+ build/
3
+ Externals/
src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/[email protected] ADDED
Binary file
src-tauri/gen/apple/Assets.xcassets/AppIcon.appiconset/Contents.json ADDED
@@ -0,0 +1,116 @@
1
+ {
2
+ "images" : [
3
+ {
4
+ "size" : "20x20",
5
+ "idiom" : "iphone",
6
+ "filename" : "[email protected]",
7
+ "scale" : "2x"
8
+ },
9
+ {
10
+ "size" : "20x20",
11
+ "idiom" : "iphone",
12
+ "filename" : "[email protected]",
13
+ "scale" : "3x"
14
+ },
15
+ {
16
+ "size" : "29x29",
17
+ "idiom" : "iphone",
18
+ "filename" : "[email protected]",
19
+ "scale" : "2x"
20
+ },
21
+ {
22
+ "size" : "29x29",
23
+ "idiom" : "iphone",
24
+ "filename" : "[email protected]",
25
+ "scale" : "3x"
26
+ },
27
+ {
28
+ "size" : "40x40",
29
+ "idiom" : "iphone",
30
+ "filename" : "[email protected]",
31
+ "scale" : "2x"
32
+ },
33
+ {
34
+ "size" : "40x40",
35
+ "idiom" : "iphone",
36
+ "filename" : "[email protected]",
37
+ "scale" : "3x"
38
+ },
39
+ {
40
+ "size" : "60x60",
41
+ "idiom" : "iphone",
42
+ "filename" : "[email protected]",
43
+ "scale" : "2x"
44
+ },
45
+ {
46
+ "size" : "60x60",
47
+ "idiom" : "iphone",
48
+ "filename" : "[email protected]",
49
+ "scale" : "3x"
50
+ },
51
+ {
52
+ "size" : "20x20",
53
+ "idiom" : "ipad",
54
+ "filename" : "[email protected]",
55
+ "scale" : "1x"
56
+ },
57
+ {
58
+ "size" : "20x20",
59
+ "idiom" : "ipad",
60
+ "filename" : "[email protected]",
61
+ "scale" : "2x"
62
+ },
63
+ {
64
+ "size" : "29x29",
65
+ "idiom" : "ipad",
66
+ "filename" : "[email protected]",
67
+ "scale" : "1x"
68
+ },
69
+ {
70
+ "size" : "29x29",
71
+ "idiom" : "ipad",
72
+ "filename" : "[email protected]",
73
+ "scale" : "2x"
74
+ },
75
+ {
76
+ "size" : "40x40",
77
+ "idiom" : "ipad",
78
+ "filename" : "[email protected]",
79
+ "scale" : "1x"
80
+ },
81
+ {
82
+ "size" : "40x40",
83
+ "idiom" : "ipad",
84
+ "filename" : "[email protected]",
85
+ "scale" : "2x"
86
+ },
87
+ {
88
+ "size" : "76x76",
89
+ "idiom" : "ipad",
90
+ "filename" : "[email protected]",
91
+ "scale" : "1x"
92
+ },
93
+ {
94
+ "size" : "76x76",
95
+ "idiom" : "ipad",
96
+ "filename" : "[email protected]",
97
+ "scale" : "2x"
98
+ },
99
+ {
100
+ "size" : "83.5x83.5",
101
+ "idiom" : "ipad",
102
+ "filename" : "[email protected]",
103
+ "scale" : "2x"
104
+ },
105
+ {
106
+ "size" : "1024x1024",
107
+ "idiom" : "ios-marketing",
108
+ "filename" : "[email protected]",
109
+ "scale" : "1x"
110
+ }
111
+ ],
112
+ "info" : {
113
+ "version" : 1,
114
+ "author" : "xcode"
115
+ }
116
+ }
src-tauri/gen/apple/Assets.xcassets/Contents.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "info" : {
3
+ "version" : 1,
4
+ "author" : "xcode"
5
+ }
6
+ }
src-tauri/gen/apple/ExportOptions.plist ADDED
@@ -0,0 +1,8 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>method</key>
6
+ <string>debugging</string>
7
+ </dict>
8
+ </plist>
src-tauri/gen/apple/LaunchScreen.storyboard ADDED
@@ -0,0 +1,30 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <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">
3
+ <dependencies>
4
+ <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17122"/>
5
+ <capability name="Safe area layout guides" minToolsVersion="9.0"/>
6
+ <capability name="System colors in document resources" minToolsVersion="11.0"/>
7
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
8
+ </dependencies>
9
+ <scenes>
10
+ <!--View Controller-->
11
+ <scene sceneID="s0d-6b-0kx">
12
+ <objects>
13
+ <viewController id="Y6W-OH-hqX" sceneMemberID="viewController">
14
+ <view key="view" contentMode="scaleToFill" id="5EZ-qb-Rvc">
15
+ <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
16
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
17
+ <viewLayoutGuide key="safeArea" id="vDu-zF-Fre"/>
18
+ <color key="backgroundColor" systemColor="systemBackgroundColor"/>
19
+ </view>
20
+ </viewController>
21
+ <placeholder placeholderIdentifier="IBFirstResponder" id="Ief-a0-LHa" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
22
+ </objects>
23
+ </scene>
24
+ </scenes>
25
+ <resources>
26
+ <systemColor name="systemBackgroundColor">
27
+ <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
28
+ </systemColor>
29
+ </resources>
30
+ </document>
src-tauri/gen/apple/Podfile ADDED
@@ -0,0 +1,21 @@
1
+ # Uncomment the next line to define a global platform for your project
2
+
3
+ target 'tauri-app_iOS' do
4
+ platform :ios, '14.0'
5
+ # Pods for tauri-app_iOS
6
+ end
7
+
8
+ target 'tauri-app_macOS' do
9
+ platform :osx, '11.0'
10
+ # Pods for tauri-app_macOS
11
+ end
12
+
13
+ # Delete the deployment target for iOS and macOS, causing it to be inherited from the Podfile
14
+ post_install do |installer|
15
+ installer.pods_project.targets.each do |target|
16
+ target.build_configurations.each do |config|
17
+ config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
18
+ config.build_settings.delete 'MACOSX_DEPLOYMENT_TARGET'
19
+ end
20
+ end
21
+ end
src-tauri/gen/apple/Sources/tauri-app/bindings/bindings.h ADDED
@@ -0,0 +1,8 @@
1
+ #pragma once
2
+
3
+ namespace ffi {
4
+ extern "C" {
5
+ void start_app();
6
+ }
7
+ }
8
+
src-tauri/gen/apple/Sources/tauri-app/main.mm ADDED
@@ -0,0 +1,6 @@
1
+ #include "bindings/bindings.h"
2
+
3
+ int main(int argc, char * argv[]) {
4
+ ffi::start_app();
5
+ return 0;
6
+ }
src-tauri/gen/apple/project.yml ADDED
@@ -0,0 +1,88 @@
1
+ name: tauri-app
2
+ options:
3
+ bundleIdPrefix: com.pyrossh.tauri-app
4
+ deploymentTarget:
5
+ iOS: 14.0
6
+ fileGroups: [../../src]
7
+ configs:
8
+ debug: debug
9
+ release: release
10
+ settingGroups:
11
+ app:
12
+ base:
13
+ PRODUCT_NAME: tauri-app
14
+ PRODUCT_BUNDLE_IDENTIFIER: com.pyrossh.tauri-app
15
+ targetTemplates:
16
+ app:
17
+ type: application
18
+ sources:
19
+ - path: Sources
20
+ scheme:
21
+ environmentVariables:
22
+ RUST_BACKTRACE: full
23
+ RUST_LOG: info
24
+ settings:
25
+ groups: [app]
26
+ targets:
27
+ tauri-app_iOS:
28
+ type: application
29
+ platform: iOS
30
+ sources:
31
+ - path: Sources
32
+ - path: Assets.xcassets
33
+ - path: Externals
34
+ - path: tauri-app_iOS
35
+ - path: assets
36
+ buildPhase: resources
37
+ type: folder
38
+ - path: LaunchScreen.storyboard
39
+ info:
40
+ path: tauri-app_iOS/Info.plist
41
+ properties:
42
+ LSRequiresIPhoneOS: true
43
+ UILaunchStoryboardName: LaunchScreen
44
+ UIRequiredDeviceCapabilities: [arm64, metal]
45
+ UISupportedInterfaceOrientations:
46
+ - UIInterfaceOrientationPortrait
47
+ - UIInterfaceOrientationLandscapeLeft
48
+ - UIInterfaceOrientationLandscapeRight
49
+ UISupportedInterfaceOrientations~ipad:
50
+ - UIInterfaceOrientationPortrait
51
+ - UIInterfaceOrientationPortraitUpsideDown
52
+ - UIInterfaceOrientationLandscapeLeft
53
+ - UIInterfaceOrientationLandscapeRight
54
+ CFBundleShortVersionString: 0.1.0
55
+ CFBundleVersion: "0.1.0"
56
+ entitlements:
57
+ path: tauri-app_iOS/tauri-app_iOS.entitlements
58
+ scheme:
59
+ environmentVariables:
60
+ RUST_BACKTRACE: full
61
+ RUST_LOG: info
62
+ settings:
63
+ base:
64
+ ENABLE_BITCODE: false
65
+ ARCHS: [arm64]
66
+ VALID_ARCHS: arm64
67
+ LIBRARY_SEARCH_PATHS[arch=x86_64]: $(inherited) $(PROJECT_DIR)/Externals/x86_64/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)
68
+ LIBRARY_SEARCH_PATHS[arch=arm64]: $(inherited) $(PROJECT_DIR)/Externals/arm64/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)
69
+ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES: true
70
+ EXCLUDED_ARCHS[sdk=iphoneos*]: x86_64
71
+ groups: [app]
72
+ dependencies:
73
+ - framework: libapp.a
74
+ embed: false
75
+ - sdk: CoreGraphics.framework
76
+ - sdk: Metal.framework
77
+ - sdk: MetalKit.framework
78
+ - sdk: QuartzCore.framework
79
+ - sdk: Security.framework
80
+ - sdk: UIKit.framework
81
+ - sdk: WebKit.framework
82
+ preBuildScripts:
83
+ - script: bun 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:?}
84
+ name: Build Rust Code
85
+ basedOnDependencyAnalysis: false
86
+ outputFiles:
87
+ - $(SRCROOT)/Externals/x86_64/${CONFIGURATION}/libapp.a
88
+ - $(SRCROOT)/Externals/arm64/${CONFIGURATION}/libapp.a
src-tauri/gen/apple/tauri-app.xcodeproj/project.pbxproj ADDED
@@ -0,0 +1,458 @@
1
+ // !$*UTF8*$!
2
+ {
3
+ archiveVersion = 1;
4
+ classes = {
5
+ };
6
+ objectVersion = 77;
7
+ objects = {
8
+
9
+ /* Begin PBXBuildFile section */
10
+ 094A1ECD90ECD007825D95B3 /* Security.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 84E625C1ABDB2D39CB77BF29 /* Security.framework */; };
11
+ 1524BBF419A24C289873FCE0 /* Metal.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CA1A066F7EDD869BC014BB9C /* Metal.framework */; };
12
+ 5DCFDCE0989E0655641185BE /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BA38F7BF7C28E04DBA849965 /* LaunchScreen.storyboard */; };
13
+ 5DDC8F8949AE56AB4B683F62 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 5384EE0C649F19A31B462538 /* QuartzCore.framework */; };
14
+ 6495EEEF2DFC12CB82351B2B /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C42C09CE350D0304EDF85C59 /* UIKit.framework */; };
15
+ 7425A66C523CC66EFF87A16E /* libapp.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 46600E42EDBD4E2F9CFFB94E /* libapp.a */; };
16
+ 74C25A7912AFE30DBE96B590 /* assets in Resources */ = {isa = PBXBuildFile; fileRef = 234C7D371C7B526F7E893B15 /* assets */; };
17
+ 7A50F9841502955D69915755 /* MetalKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B8DBF813DB5FCB214283D94D /* MetalKit.framework */; };
18
+ 7E5D9DF6134425B5314935DE /* main.mm in Sources */ = {isa = PBXBuildFile; fileRef = 75C0A66A4769E0B428DFFE16 /* main.mm */; };
19
+ 824033B5A7F94F13A4C63E6E /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = CF0F15D9837DA9743995496A /* WebKit.framework */; };
20
+ 8A272DD02B0D36ACBCE73E26 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = CFDCAF660F4CA93110C8FB02 /* Assets.xcassets */; };
21
+ CA00951E60FA3594F396EEEC /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AC56A11F310BBFF30CCFEB63 /* CoreGraphics.framework */; };
22
+ /* End PBXBuildFile section */
23
+
24
+ /* Begin PBXFileReference section */
25
+ 234C7D371C7B526F7E893B15 /* assets */ = {isa = PBXFileReference; lastKnownFileType = folder; path = assets; sourceTree = SOURCE_ROOT; };
26
+ 415CE9B61EE711FB11882F1B /* bindings.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = bindings.h; sourceTree = "<group>"; };
27
+ 46600E42EDBD4E2F9CFFB94E /* libapp.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; path = libapp.a; sourceTree = "<group>"; };
28
+ 5384EE0C649F19A31B462538 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; };
29
+ 6B62CCFCDED0CBE851A51E4F /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
30
+ 75C0A66A4769E0B428DFFE16 /* main.mm */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.cpp.objcpp; path = main.mm; sourceTree = "<group>"; };
31
+ 7A62F8DA3ACF6DA66CB9785D /* tauri-app_iOS.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "tauri-app_iOS.entitlements"; sourceTree = "<group>"; };
32
+ 84E625C1ABDB2D39CB77BF29 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; };
33
+ 9B11C2C873FB5A7B97B0605A /* tauri-app_iOS.app */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.application; path = "tauri-app_iOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
34
+ AC56A11F310BBFF30CCFEB63 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; };
35
+ B8DBF813DB5FCB214283D94D /* MetalKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MetalKit.framework; path = System/Library/Frameworks/MetalKit.framework; sourceTree = SDKROOT; };
36
+ BA38F7BF7C28E04DBA849965 /* LaunchScreen.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = LaunchScreen.storyboard; sourceTree = "<group>"; };
37
+ C42C09CE350D0304EDF85C59 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; };
38
+ CA1A066F7EDD869BC014BB9C /* Metal.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Metal.framework; path = System/Library/Frameworks/Metal.framework; sourceTree = SDKROOT; };
39
+ CF0F15D9837DA9743995496A /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; };
40
+ CFDCAF660F4CA93110C8FB02 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
41
+ D96C5A0C6EF1CFC067A1C008 /* main.rs */ = {isa = PBXFileReference; path = main.rs; sourceTree = "<group>"; };
42
+ E486419C84C58B66E0FC1383 /* lib.rs */ = {isa = PBXFileReference; path = lib.rs; sourceTree = "<group>"; };
43
+ /* End PBXFileReference section */
44
+
45
+ /* Begin PBXFrameworksBuildPhase section */
46
+ 6EEA0490763EB982F7701E3D /* Frameworks */ = {
47
+ isa = PBXFrameworksBuildPhase;
48
+ buildActionMask = 2147483647;
49
+ files = (
50
+ 7425A66C523CC66EFF87A16E /* libapp.a in Frameworks */,
51
+ CA00951E60FA3594F396EEEC /* CoreGraphics.framework in Frameworks */,
52
+ 1524BBF419A24C289873FCE0 /* Metal.framework in Frameworks */,
53
+ 7A50F9841502955D69915755 /* MetalKit.framework in Frameworks */,
54
+ 5DDC8F8949AE56AB4B683F62 /* QuartzCore.framework in Frameworks */,
55
+ 094A1ECD90ECD007825D95B3 /* Security.framework in Frameworks */,
56
+ 6495EEEF2DFC12CB82351B2B /* UIKit.framework in Frameworks */,
57
+ 824033B5A7F94F13A4C63E6E /* WebKit.framework in Frameworks */,
58
+ );
59
+ runOnlyForDeploymentPostprocessing = 0;
60
+ };
61
+ /* End PBXFrameworksBuildPhase section */
62
+
63
+ /* Begin PBXGroup section */
64
+ 2ECFA35AFF2D5945783C3B8D /* Externals */ = {
65
+ isa = PBXGroup;
66
+ children = (
67
+ );
68
+ path = Externals;
69
+ sourceTree = "<group>";
70
+ };
71
+ 4261FD71066ABB203F1B3741 /* Products */ = {
72
+ isa = PBXGroup;
73
+ children = (
74
+ 9B11C2C873FB5A7B97B0605A /* tauri-app_iOS.app */,
75
+ );
76
+ name = Products;
77
+ sourceTree = "<group>";
78
+ };
79
+ 48DF3F622809E7EBA4ED342A /* src */ = {
80
+ isa = PBXGroup;
81
+ children = (
82
+ E486419C84C58B66E0FC1383 /* lib.rs */,
83
+ D96C5A0C6EF1CFC067A1C008 /* main.rs */,
84
+ );
85
+ name = src;
86
+ path = ../../src;
87
+ sourceTree = "<group>";
88
+ };
89
+ 5FCA5E244F4BE4C93672F978 /* bindings */ = {
90
+ isa = PBXGroup;
91
+ children = (
92
+ 415CE9B61EE711FB11882F1B /* bindings.h */,
93
+ );
94
+ path = bindings;
95
+ sourceTree = "<group>";
96
+ };
97
+ 86E4D2974D6FC803E43026BD /* Frameworks */ = {
98
+ isa = PBXGroup;
99
+ children = (
100
+ AC56A11F310BBFF30CCFEB63 /* CoreGraphics.framework */,
101
+ 46600E42EDBD4E2F9CFFB94E /* libapp.a */,
102
+ CA1A066F7EDD869BC014BB9C /* Metal.framework */,
103
+ B8DBF813DB5FCB214283D94D /* MetalKit.framework */,
104
+ 5384EE0C649F19A31B462538 /* QuartzCore.framework */,
105
+ 84E625C1ABDB2D39CB77BF29 /* Security.framework */,
106
+ C42C09CE350D0304EDF85C59 /* UIKit.framework */,
107
+ CF0F15D9837DA9743995496A /* WebKit.framework */,
108
+ );
109
+ name = Frameworks;
110
+ sourceTree = "<group>";
111
+ };
112
+ 90B7B06659AD5A7A7EE39662 /* Sources */ = {
113
+ isa = PBXGroup;
114
+ children = (
115
+ 9A6A58EE8A3E239B0E7BDD81 /* tauri-app */,
116
+ );
117
+ path = Sources;
118
+ sourceTree = "<group>";
119
+ };
120
+ 9A6A58EE8A3E239B0E7BDD81 /* tauri-app */ = {
121
+ isa = PBXGroup;
122
+ children = (
123
+ 75C0A66A4769E0B428DFFE16 /* main.mm */,
124
+ 5FCA5E244F4BE4C93672F978 /* bindings */,
125
+ );
126
+ path = "tauri-app";
127
+ sourceTree = "<group>";
128
+ };
129
+ A17B869C1C261C5F8DF765C9 /* tauri-app_iOS */ = {
130
+ isa = PBXGroup;
131
+ children = (
132
+ 6B62CCFCDED0CBE851A51E4F /* Info.plist */,
133
+ 7A62F8DA3ACF6DA66CB9785D /* tauri-app_iOS.entitlements */,
134
+ );
135
+ path = "tauri-app_iOS";
136
+ sourceTree = "<group>";
137
+ };
138
+ E8C7C60131D2B902F3255A8F = {
139
+ isa = PBXGroup;
140
+ children = (
141
+ 234C7D371C7B526F7E893B15 /* assets */,
142
+ CFDCAF660F4CA93110C8FB02 /* Assets.xcassets */,
143
+ BA38F7BF7C28E04DBA849965 /* LaunchScreen.storyboard */,
144
+ 2ECFA35AFF2D5945783C3B8D /* Externals */,
145
+ 90B7B06659AD5A7A7EE39662 /* Sources */,
146
+ 48DF3F622809E7EBA4ED342A /* src */,
147
+ A17B869C1C261C5F8DF765C9 /* tauri-app_iOS */,
148
+ 86E4D2974D6FC803E43026BD /* Frameworks */,
149
+ 4261FD71066ABB203F1B3741 /* Products */,
150
+ );
151
+ sourceTree = "<group>";
152
+ };
153
+ /* End PBXGroup section */
154
+
155
+ /* Begin PBXNativeTarget section */
156
+ 067C19C8047A2326EE93616E /* tauri-app_iOS */ = {
157
+ isa = PBXNativeTarget;
158
+ buildConfigurationList = 492FB4942D220065AF299C12 /* Build configuration list for PBXNativeTarget "tauri-app_iOS" */;
159
+ buildPhases = (
160
+ 4CFF21EFA1FFE4D2AB9D6998 /* Build Rust Code */,
161
+ D8D571D7BDCA1ABF2E0CB9D6 /* Sources */,
162
+ A4D85C1726744E26D8F01FD3 /* Resources */,
163
+ 6EEA0490763EB982F7701E3D /* Frameworks */,
164
+ );
165
+ buildRules = (
166
+ );
167
+ dependencies = (
168
+ );
169
+ name = "tauri-app_iOS";
170
+ packageProductDependencies = (
171
+ );
172
+ productName = "tauri-app_iOS";
173
+ productReference = 9B11C2C873FB5A7B97B0605A /* tauri-app_iOS.app */;
174
+ productType = "com.apple.product-type.application";
175
+ };
176
+ /* End PBXNativeTarget section */
177
+
178
+ /* Begin PBXProject section */
179
+ 90D4CFD39CFBBAA5E9883AD5 /* Project object */ = {
180
+ isa = PBXProject;
181
+ attributes = {
182
+ BuildIndependentTargetsInParallel = YES;
183
+ LastUpgradeCheck = 1430;
184
+ };
185
+ buildConfigurationList = 15AD1887792B155C6905ADD6 /* Build configuration list for PBXProject "tauri-app" */;
186
+ compatibilityVersion = "Xcode 14.0";
187
+ developmentRegion = en;
188
+ hasScannedForEncodings = 0;
189
+ knownRegions = (
190
+ Base,
191
+ en,
192
+ );
193
+ mainGroup = E8C7C60131D2B902F3255A8F;
194
+ minimizedProjectReferenceProxies = 1;
195
+ preferredProjectObjectVersion = 77;
196
+ projectDirPath = "";
197
+ projectRoot = "";
198
+ targets = (
199
+ 067C19C8047A2326EE93616E /* tauri-app_iOS */,
200
+ );
201
+ };
202
+ /* End PBXProject section */
203
+
204
+ /* Begin PBXResourcesBuildPhase section */
205
+ A4D85C1726744E26D8F01FD3 /* Resources */ = {
206
+ isa = PBXResourcesBuildPhase;
207
+ buildActionMask = 2147483647;
208
+ files = (
209
+ 8A272DD02B0D36ACBCE73E26 /* Assets.xcassets in Resources */,
210
+ 5DCFDCE0989E0655641185BE /* LaunchScreen.storyboard in Resources */,
211
+ 74C25A7912AFE30DBE96B590 /* assets in Resources */,
212
+ );
213
+ runOnlyForDeploymentPostprocessing = 0;
214
+ };
215
+ /* End PBXResourcesBuildPhase section */
216
+
217
+ /* Begin PBXShellScriptBuildPhase section */
218
+ 4CFF21EFA1FFE4D2AB9D6998 /* Build Rust Code */ = {
219
+ isa = PBXShellScriptBuildPhase;
220
+ alwaysOutOfDate = 1;
221
+ buildActionMask = 2147483647;
222
+ files = (
223
+ );
224
+ inputFileListPaths = (
225
+ );
226
+ inputPaths = (
227
+ );
228
+ name = "Build Rust Code";
229
+ outputFileListPaths = (
230
+ );
231
+ outputPaths = (
232
+ "$(SRCROOT)/Externals/x86_64/${CONFIGURATION}/libapp.a",
233
+ "$(SRCROOT)/Externals/arm64/${CONFIGURATION}/libapp.a",
234
+ );
235
+ runOnlyForDeploymentPostprocessing = 0;
236
+ shellPath = /bin/sh;
237
+ shellScript = "bun 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:?}";
238
+ };
239
+ /* End PBXShellScriptBuildPhase section */
240
+
241
+ /* Begin PBXSourcesBuildPhase section */
242
+ D8D571D7BDCA1ABF2E0CB9D6 /* Sources */ = {
243
+ isa = PBXSourcesBuildPhase;
244
+ buildActionMask = 2147483647;
245
+ files = (
246
+ 7E5D9DF6134425B5314935DE /* main.mm in Sources */,
247
+ );
248
+ runOnlyForDeploymentPostprocessing = 0;
249
+ };
250
+ /* End PBXSourcesBuildPhase section */
251
+
252
+ /* Begin XCBuildConfiguration section */
253
+ 421E0640619ED5B0C0B13B4E /* debug */ = {
254
+ isa = XCBuildConfiguration;
255
+ buildSettings = {
256
+ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
257
+ ARCHS = (
258
+ arm64,
259
+ );
260
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
261
+ CODE_SIGN_ENTITLEMENTS = "tauri-app_iOS/tauri-app_iOS.entitlements";
262
+ CODE_SIGN_IDENTITY = "iPhone Developer";
263
+ ENABLE_BITCODE = NO;
264
+ "EXCLUDED_ARCHS[sdk=iphoneos*]" = x86_64;
265
+ FRAMEWORK_SEARCH_PATHS = (
266
+ "$(inherited)",
267
+ "\".\"",
268
+ );
269
+ INFOPLIST_FILE = "tauri-app_iOS/Info.plist";
270
+ LD_RUNPATH_SEARCH_PATHS = (
271
+ "$(inherited)",
272
+ "@executable_path/Frameworks",
273
+ );
274
+ "LIBRARY_SEARCH_PATHS[arch=arm64]" = "$(inherited) $(PROJECT_DIR)/Externals/arm64/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)";
275
+ "LIBRARY_SEARCH_PATHS[arch=x86_64]" = "$(inherited) $(PROJECT_DIR)/Externals/x86_64/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)";
276
+ PRODUCT_BUNDLE_IDENTIFIER = "com.pyrossh.tauri-app";
277
+ PRODUCT_NAME = "tauri-app";
278
+ SDKROOT = iphoneos;
279
+ TARGETED_DEVICE_FAMILY = "1,2";
280
+ VALID_ARCHS = arm64;
281
+ };
282
+ name = debug;
283
+ };
284
+ 62330632B84ED41E941EFCF6 /* release */ = {
285
+ isa = XCBuildConfiguration;
286
+ buildSettings = {
287
+ ALWAYS_SEARCH_USER_PATHS = NO;
288
+ CLANG_ANALYZER_NONNULL = YES;
289
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
290
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
291
+ CLANG_CXX_LIBRARY = "libc++";
292
+ CLANG_ENABLE_MODULES = YES;
293
+ CLANG_ENABLE_OBJC_ARC = YES;
294
+ CLANG_ENABLE_OBJC_WEAK = YES;
295
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
296
+ CLANG_WARN_BOOL_CONVERSION = YES;
297
+ CLANG_WARN_COMMA = YES;
298
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
299
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
300
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
301
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
302
+ CLANG_WARN_EMPTY_BODY = YES;
303
+ CLANG_WARN_ENUM_CONVERSION = YES;
304
+ CLANG_WARN_INFINITE_RECURSION = YES;
305
+ CLANG_WARN_INT_CONVERSION = YES;
306
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
307
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
308
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
309
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
310
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
311
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
312
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
313
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
314
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
315
+ CLANG_WARN_UNREACHABLE_CODE = YES;
316
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
317
+ COPY_PHASE_STRIP = NO;
318
+ DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
319
+ ENABLE_NS_ASSERTIONS = NO;
320
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
321
+ GCC_C_LANGUAGE_STANDARD = gnu11;
322
+ GCC_NO_COMMON_BLOCKS = YES;
323
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
324
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
325
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
326
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
327
+ GCC_WARN_UNUSED_FUNCTION = YES;
328
+ GCC_WARN_UNUSED_VARIABLE = YES;
329
+ IPHONEOS_DEPLOYMENT_TARGET = 14.0;
330
+ MTL_ENABLE_DEBUG_INFO = NO;
331
+ MTL_FAST_MATH = YES;
332
+ PRODUCT_NAME = "$(TARGET_NAME)";
333
+ SDKROOT = iphoneos;
334
+ SWIFT_COMPILATION_MODE = wholemodule;
335
+ SWIFT_OPTIMIZATION_LEVEL = "-O";
336
+ SWIFT_VERSION = 5.0;
337
+ };
338
+ name = release;
339
+ };
340
+ 62D98D8CE88586901FBBF6C0 /* debug */ = {
341
+ isa = XCBuildConfiguration;
342
+ buildSettings = {
343
+ ALWAYS_SEARCH_USER_PATHS = NO;
344
+ CLANG_ANALYZER_NONNULL = YES;
345
+ CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
346
+ CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
347
+ CLANG_CXX_LIBRARY = "libc++";
348
+ CLANG_ENABLE_MODULES = YES;
349
+ CLANG_ENABLE_OBJC_ARC = YES;
350
+ CLANG_ENABLE_OBJC_WEAK = YES;
351
+ CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
352
+ CLANG_WARN_BOOL_CONVERSION = YES;
353
+ CLANG_WARN_COMMA = YES;
354
+ CLANG_WARN_CONSTANT_CONVERSION = YES;
355
+ CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
356
+ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
357
+ CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
358
+ CLANG_WARN_EMPTY_BODY = YES;
359
+ CLANG_WARN_ENUM_CONVERSION = YES;
360
+ CLANG_WARN_INFINITE_RECURSION = YES;
361
+ CLANG_WARN_INT_CONVERSION = YES;
362
+ CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
363
+ CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
364
+ CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
365
+ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
366
+ CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES;
367
+ CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
368
+ CLANG_WARN_STRICT_PROTOTYPES = YES;
369
+ CLANG_WARN_SUSPICIOUS_MOVE = YES;
370
+ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
371
+ CLANG_WARN_UNREACHABLE_CODE = YES;
372
+ CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
373
+ COPY_PHASE_STRIP = NO;
374
+ DEBUG_INFORMATION_FORMAT = dwarf;
375
+ ENABLE_STRICT_OBJC_MSGSEND = YES;
376
+ ENABLE_TESTABILITY = YES;
377
+ GCC_C_LANGUAGE_STANDARD = gnu11;
378
+ GCC_DYNAMIC_NO_PIC = NO;
379
+ GCC_NO_COMMON_BLOCKS = YES;
380
+ GCC_OPTIMIZATION_LEVEL = 0;
381
+ GCC_PREPROCESSOR_DEFINITIONS = (
382
+ "$(inherited)",
383
+ "DEBUG=1",
384
+ );
385
+ GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
386
+ GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
387
+ GCC_WARN_UNDECLARED_SELECTOR = YES;
388
+ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
389
+ GCC_WARN_UNUSED_FUNCTION = YES;
390
+ GCC_WARN_UNUSED_VARIABLE = YES;
391
+ IPHONEOS_DEPLOYMENT_TARGET = 14.0;
392
+ MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
393
+ MTL_FAST_MATH = YES;
394
+ ONLY_ACTIVE_ARCH = YES;
395
+ PRODUCT_NAME = "$(TARGET_NAME)";
396
+ SDKROOT = iphoneos;
397
+ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
398
+ SWIFT_OPTIMIZATION_LEVEL = "-Onone";
399
+ SWIFT_VERSION = 5.0;
400
+ };
401
+ name = debug;
402
+ };
403
+ D2A4FF1B078298AC78D0EBD3 /* release */ = {
404
+ isa = XCBuildConfiguration;
405
+ buildSettings = {
406
+ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
407
+ ARCHS = (
408
+ arm64,
409
+ );
410
+ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
411
+ CODE_SIGN_ENTITLEMENTS = "tauri-app_iOS/tauri-app_iOS.entitlements";
412
+ CODE_SIGN_IDENTITY = "iPhone Developer";
413
+ ENABLE_BITCODE = NO;
414
+ "EXCLUDED_ARCHS[sdk=iphoneos*]" = x86_64;
415
+ FRAMEWORK_SEARCH_PATHS = (
416
+ "$(inherited)",
417
+ "\".\"",
418
+ );
419
+ INFOPLIST_FILE = "tauri-app_iOS/Info.plist";
420
+ LD_RUNPATH_SEARCH_PATHS = (
421
+ "$(inherited)",
422
+ "@executable_path/Frameworks",
423
+ );
424
+ "LIBRARY_SEARCH_PATHS[arch=arm64]" = "$(inherited) $(PROJECT_DIR)/Externals/arm64/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)";
425
+ "LIBRARY_SEARCH_PATHS[arch=x86_64]" = "$(inherited) $(PROJECT_DIR)/Externals/x86_64/$(CONFIGURATION) $(SDKROOT)/usr/lib/swift $(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME) $(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)";
426
+ PRODUCT_BUNDLE_IDENTIFIER = "com.pyrossh.tauri-app";
427
+ PRODUCT_NAME = "tauri-app";
428
+ SDKROOT = iphoneos;
429
+ TARGETED_DEVICE_FAMILY = "1,2";
430
+ VALID_ARCHS = arm64;
431
+ };
432
+ name = release;
433
+ };
434
+ /* End XCBuildConfiguration section */
435
+
436
+ /* Begin XCConfigurationList section */
437
+ 15AD1887792B155C6905ADD6 /* Build configuration list for PBXProject "tauri-app" */ = {
438
+ isa = XCConfigurationList;
439
+ buildConfigurations = (
440
+ 62D98D8CE88586901FBBF6C0 /* debug */,
441
+ 62330632B84ED41E941EFCF6 /* release */,
442
+ );
443
+ defaultConfigurationIsVisible = 0;
444
+ defaultConfigurationName = debug;
445
+ };
446
+ 492FB4942D220065AF299C12 /* Build configuration list for PBXNativeTarget "tauri-app_iOS" */ = {
447
+ isa = XCConfigurationList;
448
+ buildConfigurations = (
449
+ 421E0640619ED5B0C0B13B4E /* debug */,
450
+ D2A4FF1B078298AC78D0EBD3 /* release */,
451
+ );
452
+ defaultConfigurationIsVisible = 0;
453
+ defaultConfigurationName = debug;
454
+ };
455
+ /* End XCConfigurationList section */
456
+ };
457
+ rootObject = 90D4CFD39CFBBAA5E9883AD5 /* Project object */;
458
+ }
src-tauri/gen/apple/tauri-app.xcodeproj/project.xcworkspace/contents.xcworkspacedata ADDED
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Workspace
3
+ version = "1.0">
4
+ <FileRef
5
+ location = "self:">
6
+ </FileRef>
7
+ </Workspace>
src-tauri/gen/apple/tauri-app.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings ADDED
@@ -0,0 +1,10 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>BuildSystemType</key>
6
+ <string>Original</string>
7
+ <key>DisableBuildSystemDeprecationDiagnostic</key>
8
+ <true/>
9
+ </dict>
10
+ </plist>
src-tauri/gen/apple/tauri-app.xcodeproj/xcshareddata/xcschemes/tauri-app_iOS.xcscheme ADDED
@@ -0,0 +1,131 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <Scheme
3
+ LastUpgradeVersion = "1430"
4
+ version = "1.7">
5
+ <BuildAction
6
+ parallelizeBuildables = "YES"
7
+ buildImplicitDependencies = "YES"
8
+ runPostActionsOnFailure = "NO">
9
+ <BuildActionEntries>
10
+ <BuildActionEntry
11
+ buildForTesting = "YES"
12
+ buildForRunning = "YES"
13
+ buildForProfiling = "YES"
14
+ buildForArchiving = "YES"
15
+ buildForAnalyzing = "YES">
16
+ <BuildableReference
17
+ BuildableIdentifier = "primary"
18
+ BlueprintIdentifier = "067C19C8047A2326EE93616E"
19
+ BuildableName = "tauri-app_iOS.app"
20
+ BlueprintName = "tauri-app_iOS"
21
+ ReferencedContainer = "container:tauri-app.xcodeproj">
22
+ </BuildableReference>
23
+ </BuildActionEntry>
24
+ </BuildActionEntries>
25
+ </BuildAction>
26
+ <TestAction
27
+ buildConfiguration = "debug"
28
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
29
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
30
+ shouldUseLaunchSchemeArgsEnv = "NO"
31
+ onlyGenerateCoverageForSpecifiedTargets = "NO">
32
+ <MacroExpansion>
33
+ <BuildableReference
34
+ BuildableIdentifier = "primary"
35
+ BlueprintIdentifier = "067C19C8047A2326EE93616E"
36
+ BuildableName = "tauri-app_iOS.app"
37
+ BlueprintName = "tauri-app_iOS"
38
+ ReferencedContainer = "container:tauri-app.xcodeproj">
39
+ </BuildableReference>
40
+ </MacroExpansion>
41
+ <Testables>
42
+ </Testables>
43
+ <CommandLineArguments>
44
+ </CommandLineArguments>
45
+ <EnvironmentVariables>
46
+ <EnvironmentVariable
47
+ key = "RUST_BACKTRACE"
48
+ value = "full"
49
+ isEnabled = "YES">
50
+ </EnvironmentVariable>
51
+ <EnvironmentVariable
52
+ key = "RUST_LOG"
53
+ value = "info"
54
+ isEnabled = "YES">
55
+ </EnvironmentVariable>
56
+ </EnvironmentVariables>
57
+ </TestAction>
58
+ <LaunchAction
59
+ buildConfiguration = "debug"
60
+ selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
61
+ selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
62
+ launchStyle = "0"
63
+ useCustomWorkingDirectory = "NO"
64
+ ignoresPersistentStateOnLaunch = "NO"
65
+ debugDocumentVersioning = "YES"
66
+ debugServiceExtension = "internal"
67
+ allowLocationSimulation = "YES">
68
+ <BuildableProductRunnable
69
+ runnableDebuggingMode = "0">
70
+ <BuildableReference
71
+ BuildableIdentifier = "primary"
72
+ BlueprintIdentifier = "067C19C8047A2326EE93616E"
73
+ BuildableName = "tauri-app_iOS.app"
74
+ BlueprintName = "tauri-app_iOS"
75
+ ReferencedContainer = "container:tauri-app.xcodeproj">
76
+ </BuildableReference>
77
+ </BuildableProductRunnable>
78
+ <CommandLineArguments>
79
+ </CommandLineArguments>
80
+ <EnvironmentVariables>
81
+ <EnvironmentVariable
82
+ key = "RUST_BACKTRACE"
83
+ value = "full"
84
+ isEnabled = "YES">
85
+ </EnvironmentVariable>
86
+ <EnvironmentVariable
87
+ key = "RUST_LOG"
88
+ value = "info"
89
+ isEnabled = "YES">
90
+ </EnvironmentVariable>
91
+ </EnvironmentVariables>
92
+ </LaunchAction>
93
+ <ProfileAction
94
+ buildConfiguration = "release"
95
+ shouldUseLaunchSchemeArgsEnv = "NO"
96
+ savedToolIdentifier = ""
97
+ useCustomWorkingDirectory = "NO"
98
+ debugDocumentVersioning = "YES">
99
+ <BuildableProductRunnable
100
+ runnableDebuggingMode = "0">
101
+ <BuildableReference
102
+ BuildableIdentifier = "primary"
103
+ BlueprintIdentifier = "067C19C8047A2326EE93616E"
104
+ BuildableName = "tauri-app_iOS.app"
105
+ BlueprintName = "tauri-app_iOS"
106
+ ReferencedContainer = "container:tauri-app.xcodeproj">
107
+ </BuildableReference>
108
+ </BuildableProductRunnable>
109
+ <CommandLineArguments>
110
+ </CommandLineArguments>
111
+ <EnvironmentVariables>
112
+ <EnvironmentVariable
113
+ key = "RUST_BACKTRACE"
114
+ value = "full"
115
+ isEnabled = "YES">
116
+ </EnvironmentVariable>
117
+ <EnvironmentVariable
118
+ key = "RUST_LOG"
119
+ value = "info"
120
+ isEnabled = "YES">
121
+ </EnvironmentVariable>
122
+ </EnvironmentVariables>
123
+ </ProfileAction>
124
+ <AnalyzeAction
125
+ buildConfiguration = "debug">
126
+ </AnalyzeAction>
127
+ <ArchiveAction
128
+ buildConfiguration = "release"
129
+ revealArchiveInOrganizer = "YES">
130
+ </ArchiveAction>
131
+ </Scheme>
src-tauri/gen/apple/tauri-app_iOS/Info.plist ADDED
@@ -0,0 +1,44 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict>
5
+ <key>CFBundleDevelopmentRegion</key>
6
+ <string>$(DEVELOPMENT_LANGUAGE)</string>
7
+ <key>CFBundleExecutable</key>
8
+ <string>$(EXECUTABLE_NAME)</string>
9
+ <key>CFBundleIdentifier</key>
10
+ <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11
+ <key>CFBundleInfoDictionaryVersion</key>
12
+ <string>6.0</string>
13
+ <key>CFBundleName</key>
14
+ <string>$(PRODUCT_NAME)</string>
15
+ <key>CFBundlePackageType</key>
16
+ <string>APPL</string>
17
+ <key>CFBundleShortVersionString</key>
18
+ <string>0.1.0</string>
19
+ <key>CFBundleVersion</key>
20
+ <string>0.1.0</string>
21
+ <key>LSRequiresIPhoneOS</key>
22
+ <true/>
23
+ <key>UILaunchStoryboardName</key>
24
+ <string>LaunchScreen</string>
25
+ <key>UIRequiredDeviceCapabilities</key>
26
+ <array>
27
+ <string>arm64</string>
28
+ <string>metal</string>
29
+ </array>
30
+ <key>UISupportedInterfaceOrientations</key>
31
+ <array>
32
+ <string>UIInterfaceOrientationPortrait</string>
33
+ <string>UIInterfaceOrientationLandscapeLeft</string>
34
+ <string>UIInterfaceOrientationLandscapeRight</string>
35
+ </array>
36
+ <key>UISupportedInterfaceOrientations~ipad</key>
37
+ <array>
38
+ <string>UIInterfaceOrientationPortrait</string>
39
+ <string>UIInterfaceOrientationPortraitUpsideDown</string>
40
+ <string>UIInterfaceOrientationLandscapeLeft</string>
41
+ <string>UIInterfaceOrientationLandscapeRight</string>
42
+ </array>
43
+ </dict>
44
+ </plist>
src-tauri/gen/apple/tauri-app_iOS/tauri-app_iOS.entitlements ADDED
@@ -0,0 +1,5 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
+ <plist version="1.0">
4
+ <dict/>
5
+ </plist>
src-tauri/icons/ios/[email protected] DELETED
Binary file
src-tauri/icons/ios/[email protected] DELETED
Binary file
src-tauri/icons/ios/[email protected] DELETED
Binary file
src-tauri/icons/ios/[email protected] DELETED
Binary file
src-tauri/icons/ios/[email protected] DELETED
Binary file
src-tauri/icons/ios/[email protected] DELETED
Binary file
src-tauri/icons/ios/[email protected] DELETED
Binary file
src-tauri/icons/ios/[email protected] DELETED
Binary file
src-tauri/icons/ios/[email protected] DELETED
Binary file
src-tauri/icons/ios/[email protected] DELETED
Binary file
src-tauri/icons/ios/[email protected] DELETED
Binary file
src-tauri/icons/ios/[email protected] DELETED
Binary file
src-tauri/icons/ios/[email protected] DELETED
Binary file
src-tauri/icons/ios/[email protected] DELETED
Binary file
src-tauri/icons/ios/[email protected] DELETED
Binary file
src-tauri/icons/ios/[email protected] DELETED
Binary file
src-tauri/icons/ios/[email protected] DELETED
Binary file
src-tauri/icons/ios/[email protected] DELETED
Binary file
src-tauri/src/main.rs CHANGED
@@ -2,5 +2,5 @@
2
2
  #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
3
3
 
4
4
  fn main() {
5
- app_lib::run()
5
+ tauri_app_lib::run()
6
6
  }
src-tauri/tauri.conf.json CHANGED
@@ -1,16 +1,18 @@
1
1
  {
2
2
  "$schema": "https://schema.tauri.app/config/2",
3
- "productName": "app",
3
+ "productName": "tauri-app",
4
4
  "version": "0.1.0",
5
- "identifier": "dev.pyrossh.app",
5
+ "identifier": "com.pyrossh.tauri-app",
6
6
  "build": {
7
+ "devUrl": "http://localhost:4321",
8
+ "beforeDevCommand": "bun run dev --host",
7
9
  "frontendDist": "../dist"
8
10
  },
9
11
  "app": {
10
12
  "withGlobalTauri": true,
11
13
  "windows": [
12
14
  {
13
- "title": "app",
15
+ "title": "tauri-app",
14
16
  "width": 800,
15
17
  "height": 600
16
18
  }
@@ -30,4 +32,4 @@
30
32
  "icons/icon.ico"
31
33
  ]
32
34
  }
33
- }
35
+ }
src/components/Footer.astro CHANGED
@@ -17,9 +17,19 @@ const today = new Date();
17
17
  </div>
18
18
  </Wrapper>
19
19
  </footer>
20
+ <div class="spacer" />
20
21
  <style>
21
22
  footer {
22
- background: var(--color-black);
23
+ background: #131618;
24
+ }
25
+
26
+ .spacer {
27
+ @media (max-width: 768px) {
28
+ background: #131618;
29
+ position: sticky;
30
+ bottom: 0;
31
+ padding-bottom: max(env(safe-area-inset-bottom), 48px);
32
+ }
23
33
  }
24
34
 
25
35
  .container {
src/components/Header.astro CHANGED
@@ -36,12 +36,12 @@ import Sun from "@/assets/icons/sun.svg";
36
36
  </header>
37
37
  <style>
38
38
  header {
39
- position: relative;
40
39
  background: #131618;
41
- width: 100%;
42
- height: 56px;
43
40
  @media (max-width: 768px) {
44
- position: fixed;
41
+ position: sticky;
42
+ top: 0;
43
+ padding-top: max(env(safe-area-inset-top), 20px);
44
+ /* padding-top: env(safe-area-inset-top); */
45
45
  }
46
46
  }
47
47
 
src/layouts/Base.astro CHANGED
@@ -23,10 +23,7 @@ const image = "/favicon.png";
23
23
  <html lang="en">
24
24
  <head>
25
25
  <meta charset="utf-8" />
26
- <meta
27
- name="viewport"
28
- content="width=device-width, initial-scale=1.0, viewport-fit=cover"
26
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
29
- />
30
27
  <meta name="theme-color" content="#131618" />
31
28
  <link rel="icon" type="image/svg+xml" href="/favicon.png" />
32
29
  <link rel="sitemap" href="/sitemap-index.xml" />
src/layouts/Base.css CHANGED
@@ -39,17 +39,13 @@ body {
39
39
  font-size: 14pt;
40
40
  line-height: 1.6;
41
41
  min-height: 100vh;
42
- /* font-family: sans-serif; */
43
- /* font-size: 1rem; */
44
- /* text-align: initial; */
45
-
46
42
  @media (max-width: 720px) {
47
43
  font-size: 13pt;
48
44
  }
49
45
  }
50
46
 
51
47
  main {
48
+ margin-top: 1rem;
52
49
  margin-bottom: 1rem;
53
- padding-top: calc(1em + 56px);
54
50
  padding-bottom: 1em;
55
51
  }