From f4d6b920aba8815077d58394d8ec06b5e040ef8a Mon Sep 17 00:00:00 2001 From: catto Date: Sun, 17 Nov 2024 16:16:36 +0100 Subject: [PATCH] new shortcuts, search this note feature --- README.md | 21 ++++ index.html | 208 ++++++++++++++++++++------------- src-tauri/Cargo.lock | 2 +- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 2 +- src/main.ts | 240 +++++++++++++++++++++++++++++++++++++- 6 files changed, 390 insertions(+), 85 deletions(-) diff --git a/README.md b/README.md index b381dcf..49e4753 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,24 @@ This template should help get you started developing with Tauri in vanilla HTML, ## Recommended IDE Setup - [VS Code](https://code.visualstudio.com/) + [Tauri](https://marketplace.visualstudio.com/items?itemName=tauri-apps.tauri-vscode) + [rust-analyzer](https://marketplace.visualstudio.com/items?itemName=rust-lang.rust-analyzer) + +# Android Build +https://v2.tauri.app/start/prerequisites/#android + + Use the SDK Manager in Android Studio to install the following: + + Android SDK Platform + Android SDK Platform-Tools + NDK (Side by side) + Android SDK Build-Tools + Android SDK Command-line Tools + + +`export JAVA_HOME=/opt/android-studio/jbr` + +``` +export ANDROID_HOME="$HOME/Android/Sdk" +export NDK_HOME="$ANDROID_HOME/ndk/$(ls -1 $ANDROID_HOME/ndk)" +``` + +`rustup target add aarch64-linux-android armv7-linux-androideabi i686-linux-android x86_64-linux-android` \ No newline at end of file diff --git a/index.html b/index.html index 8e24404..22f82fc 100644 --- a/index.html +++ b/index.html @@ -1,97 +1,143 @@ - + + + + + + Snotes + + + - .logo.typescript:hover { - filter: drop-shadow(0 0 2em #2d79c7); - } - - - - - -
-
- - - - - - - + + -
-
-