Questions tagged [tauri]
Tauri is a toolkit that helps developers make applications for the major platforms -- using HTML, CSS, and JavaScript. The core is built with Rust and leverages the local Webview2 / WebKit instance.
tauri
400
questions
0
votes
0
answers
27
views
Listen to global keyboard and mouse events Tauri app(Mac os)
`In a tauri app(MacOS primarily) want to listen global keypress and mouse events.
I tried using rdev(https://github.com/Narsil/rdev.git) and here's the code but it doesn't seem to work. Nothing is ...
-1
votes
0
answers
23
views
FFmpeg and FFprobe binary for Android arm64 problem in Tauri [closed]
I wanted to use FFmpeg and FFprobe binary with my Tauri app, but problem is I can't find/or I am not sure if it is the right binary; due to this when running my Tauri app in Android studio everything ...
0
votes
0
answers
28
views
Errors decoding a binary image file using blob & window.btoa in tauri with Vue3
Demo:
components/imgDecode.vue:
<script setup>
import { nextTick, ref } from "vue";
import markdownIt from "markdown-it";
import { invoke, convertFileSrc } from '@tauri-apps/...
1
vote
1
answer
98
views
How to preserve file modification times when zipping and unzipping in Rust?
I'm developing a game save manager using Tauri and Rust. The tool compresses and decompresses game saves using the zip crate. However, users have reported that the tool disrupts the order of save ...
0
votes
0
answers
40
views
How can I unit test a Tauri app with a sqlite database?
I’m creating my first Tauri app based on Vite. It uses the plugin tauri-plugin-sql for a sqlite database.
I want to create now unit tests for my methods that interacts with a temporary test sqlite ...
-1
votes
0
answers
24
views
Tauri/Angular App for MacOS - After adding Signing, running bash script shuts down whole app
My app basically runs a bash script on a click of a button. That bash script creates some folders and zips in the selected directory.
This is all working quite fine when I run it locally or after ...
0
votes
2
answers
47
views
Indexed db, localStorage and sessionStorage data stores at which path in Tauri
I have created a Windows desktop Application using Tauri and ReactJs, I am storing user data in the DB index using Dexie, but I am unable to find the data storage location (Where these data are being ...
0
votes
0
answers
12
views
How to enable "find in page" in a Tauri app?
I am making a tauri app which displays large HTML documents (university coursework).
It would be really useful if I could enable the default browser "Find in page" functionality, but I haven'...
0
votes
0
answers
25
views
IpcResponse Tauri
I am very new to Rust and tauri
My objective with this code is to fetch a list of gamas from a db and pass that list to tauri
// Prevents additional console window on Windows in release, DO NOT REMOVE!...
0
votes
0
answers
43
views
The method `async_kind` exists for reference `but its trait bounds were not satisfied
I am using Tauri with Rust and JS.
Error
The error has changed to this
error: future cannot be sent between threads safely
--> src/main.rs:16:1
|
16 | #[tauri::command(rename_all = "...
0
votes
1
answer
47
views
How would I build my tauri app using tauri_cli::run command?
As the title say, I'm trying to build my tauri app using a cargo build command.
My goal was to make a mono binary using all my crates, one of them being a tauri app.
They previously all had their own ...
0
votes
0
answers
19
views
communicate btw two apps on different pc over lan in tauri
I have created Desktop application for Windows using the taur, now I want to sync data across the multiple applications running over different PCs, which are connected through LAN. so each application ...
0
votes
1
answer
61
views
How to I call async tauri commands from leptos UI that return some value?
The documentation and example code showcase the usage when the command does not return a value. They rely on leptos::spawn_local to call the invoke function of tauri.
In my case, I want to return a ...
1
vote
1
answer
83
views
Tauri.conf.json Changed icons. productName, and title and now get errors when trying to start up Tauri application
I am very new to Tauri so I'm not sure why I'm getting this problem. All I did was try and change the icons into my own icon that I made (and I made sure that the icons I made where the sizes of the ...
0
votes
0
answers
80
views
Cannot await for a function in an async function of Tauri::command
I cant await for a function if i use a Tauri function.
I am really new to RUST and dont know much about futures and stuff, My program worked well in the terminal but now i just want to make a good UI ...