new icons, doc, fixed duplicate name of lib/bin

Niko 2 years ago
parent 852b7a9015
commit 4d028667ca
  1. 23
      ng-app-native/README.md
  2. 1
      ng-app-native/src-tauri/Cargo.toml
  3. BIN
      ng-app-native/src-tauri/app-icon.png
  4. BIN
      ng-app-native/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
  5. BIN
      ng-app-native/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
  6. BIN
      ng-app-native/src-tauri/gen/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
  7. BIN
      ng-app-native/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
  8. BIN
      ng-app-native/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
  9. BIN
      ng-app-native/src-tauri/gen/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
  10. BIN
      ng-app-native/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
  11. BIN
      ng-app-native/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
  12. BIN
      ng-app-native/src-tauri/gen/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
  13. BIN
      ng-app-native/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
  14. BIN
      ng-app-native/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
  15. BIN
      ng-app-native/src-tauri/gen/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
  16. BIN
      ng-app-native/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
  17. BIN
      ng-app-native/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
  18. BIN
      ng-app-native/src-tauri/gen/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
  19. BIN
      ng-app-native/src-tauri/icons/128x128.png
  20. BIN
      ng-app-native/src-tauri/icons/128x128@2x.png
  21. BIN
      ng-app-native/src-tauri/icons/32x32.png
  22. BIN
      ng-app-native/src-tauri/icons/Square107x107Logo.png
  23. BIN
      ng-app-native/src-tauri/icons/Square142x142Logo.png
  24. BIN
      ng-app-native/src-tauri/icons/Square150x150Logo.png
  25. BIN
      ng-app-native/src-tauri/icons/Square284x284Logo.png
  26. BIN
      ng-app-native/src-tauri/icons/Square30x30Logo.png
  27. BIN
      ng-app-native/src-tauri/icons/Square310x310Logo.png
  28. BIN
      ng-app-native/src-tauri/icons/Square44x44Logo.png
  29. BIN
      ng-app-native/src-tauri/icons/Square71x71Logo.png
  30. BIN
      ng-app-native/src-tauri/icons/Square89x89Logo.png
  31. BIN
      ng-app-native/src-tauri/icons/StoreLogo.png
  32. BIN
      ng-app-native/src-tauri/icons/android/mipmap-hdpi/ic_launcher.png
  33. BIN
      ng-app-native/src-tauri/icons/android/mipmap-hdpi/ic_launcher_foreground.png
  34. BIN
      ng-app-native/src-tauri/icons/android/mipmap-hdpi/ic_launcher_round.png
  35. BIN
      ng-app-native/src-tauri/icons/android/mipmap-mdpi/ic_launcher.png
  36. BIN
      ng-app-native/src-tauri/icons/android/mipmap-mdpi/ic_launcher_foreground.png
  37. BIN
      ng-app-native/src-tauri/icons/android/mipmap-mdpi/ic_launcher_round.png
  38. BIN
      ng-app-native/src-tauri/icons/android/mipmap-xhdpi/ic_launcher.png
  39. BIN
      ng-app-native/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_foreground.png
  40. BIN
      ng-app-native/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_round.png
  41. BIN
      ng-app-native/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher.png
  42. BIN
      ng-app-native/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_foreground.png
  43. BIN
      ng-app-native/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_round.png
  44. BIN
      ng-app-native/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher.png
  45. BIN
      ng-app-native/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_foreground.png
  46. BIN
      ng-app-native/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_round.png
  47. BIN
      ng-app-native/src-tauri/icons/icon.icns
  48. BIN
      ng-app-native/src-tauri/icons/icon.ico
  49. BIN
      ng-app-native/src-tauri/icons/icon.png
  50. BIN
      ng-app-native/src-tauri/icons/ios/AppIcon-20x20@1x.png
  51. BIN
      ng-app-native/src-tauri/icons/ios/AppIcon-20x20@2x-1.png
  52. BIN
      ng-app-native/src-tauri/icons/ios/AppIcon-20x20@2x.png
  53. BIN
      ng-app-native/src-tauri/icons/ios/AppIcon-20x20@3x.png
  54. BIN
      ng-app-native/src-tauri/icons/ios/AppIcon-29x29@1x.png
  55. BIN
      ng-app-native/src-tauri/icons/ios/AppIcon-29x29@2x-1.png
  56. BIN
      ng-app-native/src-tauri/icons/ios/AppIcon-29x29@2x.png
  57. BIN
      ng-app-native/src-tauri/icons/ios/AppIcon-29x29@3x.png
  58. BIN
      ng-app-native/src-tauri/icons/ios/AppIcon-40x40@1x.png
  59. BIN
      ng-app-native/src-tauri/icons/ios/AppIcon-40x40@2x-1.png
  60. BIN
      ng-app-native/src-tauri/icons/ios/AppIcon-40x40@2x.png
  61. BIN
      ng-app-native/src-tauri/icons/ios/AppIcon-40x40@3x.png
  62. BIN
      ng-app-native/src-tauri/icons/ios/AppIcon-512@2x.png
  63. BIN
      ng-app-native/src-tauri/icons/ios/AppIcon-60x60@2x.png
  64. BIN
      ng-app-native/src-tauri/icons/ios/AppIcon-60x60@3x.png
  65. BIN
      ng-app-native/src-tauri/icons/ios/AppIcon-76x76@1x.png
  66. BIN
      ng-app-native/src-tauri/icons/ios/AppIcon-76x76@2x.png
  67. BIN
      ng-app-native/src-tauri/icons/ios/AppIcon-83.5x83.5@2x.png
  68. 2
      ng-app-native/src-tauri/src/main.rs
  69. 2
      ng-app-native/src-tauri/src/mobile.rs
  70. 5
      ng-app-native/src-tauri/tauri.conf.json

@ -6,7 +6,9 @@ The apps are using an embedded WebView that renders the Svelte app.
## Install ## Install
```
cargo install tauri-cli --version "^2.0.0-alpha" cargo install tauri-cli --version "^2.0.0-alpha"
```
## Recommended IDE Setup ## Recommended IDE Setup
@ -17,9 +19,30 @@ cargo install tauri-cli --version "^2.0.0-alpha"
Install [all prerequisites](https://next--tauri.netlify.app/next/guides/getting-started/prerequisites/) for your dev platform. Install [all prerequisites](https://next--tauri.netlify.app/next/guides/getting-started/prerequisites/) for your dev platform.
``` ```
pnpm install
cargo tauri dev cargo tauri dev
``` ```
to build the production app installer :
### MacOs
```
cargo tauri build
```
### Linux (Ubuntu 22.04)
```
cargo tauri build --target x86_64-unknown-linux-gnu
```
### Windows (7)
```
cargo tauri build --target x86_64-pc-windows-msvc
```
## Android ## Android
- [Install Android Studio](https://developer.android.com/studio) - [Install Android Studio](https://developer.android.com/studio)

@ -8,6 +8,7 @@ repository = "https://git.nextgraph.org/NextGraph/nextgraph-rs"
edition = "2021" edition = "2021"
[lib] [lib]
name = "nativelib"
crate-type = ["staticlib", "cdylib", "rlib"] crate-type = ["staticlib", "cdylib", "rlib"]
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.7 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.0 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.7 KiB

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 7.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.2 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 37 KiB

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 882 B

After

Width:  |  Height:  |  Size: 818 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

@ -5,7 +5,7 @@
)] )]
fn main() { fn main() {
ng_app_native::AppBuilder::new().run(); nativelib::AppBuilder::new().run();
// tauri::Builder::default() // tauri::Builder::default()
// .invoke_handler(tauri::generate_handler![greet]) // .invoke_handler(tauri::generate_handler![greet])
// .run(tauri::generate_context!()) // .run(tauri::generate_context!())

@ -1,4 +1,4 @@
#[tauri::mobile_entry_point] #[tauri::mobile_entry_point]
fn main() { fn main() {
super::AppBuilder::new().run(); crate::AppBuilder::new().run();
} }

@ -25,6 +25,11 @@
"targets": "all", "targets": "all",
"iOS": { "iOS": {
"developmentTeam": "test" "developmentTeam": "test"
},
"windows": {
"webviewInstallMode": {
"type": "embedBootstrapper"
}
} }
}, },
"security": { "security": {

Loading…
Cancel
Save