481 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
2
votes
0
answers
64
views
How to get a window below 200x200px in tauri
I am using this tauri.conf.json:
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "aaa",
"version": "0.1.0",
&...
0
votes
0
answers
53
views
Regarding the menu theme created with Tauri v2
Even if I run setTheme("light") in my browser and view the Tauri menu,
it remains in the dark theme. The system theme is dark.
Is there a way to change the menu theme?
import { setTheme } ...
Best practices
1
vote
0
replies
63
views
How should I pass user secrets from my frontend to my backend with Tauri?
I'm currently working on an app that stores secrets in an encrypted vault, and the key is derived from a user password. How can I securely prompt the user for their password? Is the IPC with invoke ...
Advice
1
vote
2
replies
96
views
Tauri or Electron js
I’m starting a new project to build an ERP POS application using the MERN stack. I’m confused about whether I should use Electron.js or Tauri to turn it into a desktop/web app. Which option is better ...
-1
votes
0
answers
33
views
Returning general json data in a tauri specta app [duplicate]
I'm working on a tauri application, Fluster. I'm trying to add a method to parse general tabular data using polars, and then return that data as a vec of hashmaps.
I'm currently running into this ...
2
votes
1
answer
111
views
File Provider extension cannot access App Group container despite identical entitlement
I have a Tauri/Rust application with a native Swift File Provider extension. Both are configured to use the same App Group, but the extension cannot access the shared continer at all - it can't even ...
0
votes
1
answer
90
views
When launching an application on tauri, a console opens
When launching an app on Windows Tauri v2, the console window opens, but the app itself immediately closes, and the app itself disappears into the background. The same thing happens when refreshing ...
2
votes
1
answer
132
views
How can I run a C file inside a Tauri app?
I have made a C file which displays certain data using the printf command
I want to make a Tauri app to display this data. For now, I am still trying to get the data from the Tauri app. How could I do ...
6
votes
1
answer
134
views
Why are these expressions interchageable: `State<Mutex<User>>` and `State<'_, Mutex<User>>`?
I am learning how to use state management in Tauri. I am following these resources:
Official docs - State Management
State Management
Getting Started With Rust And Tauri
This is the code I am ...
2
votes
0
answers
113
views
#[tauri::command] macro generates "defined multiple times" error when using lib.rs
I’m trying to create a Tauri app by moving some commands into lib.rs.
lib.rs
#[tauri::command]
pub async fn get_file_path_in_rust(file_path: String) {
println!("The Path Received: {}", ...
2
votes
1
answer
96
views
Tauri + expectrl PTY: interactive CLI freezes when waiting for input (read thread holds mutex) — how to do concurrent read/write safely?
Background
Tauri v2 desktop app (macOS, Apple Silicon) with React + xterm.js frontend.
Rust backend spawns local CLI "agents" (Codex / Gemini) in a PTY using expectrl 0.7.1, forwards output to the ...
1
vote
1
answer
356
views
Tauri window opens fine on macOS but hangs with blank window on Windows (no logs after #2)
I’m developing a desktop app with Rust + Tauri (v2.5) + SvelteKit.
On macOS my command for opening a new settings window works perfectly. On Windows however, the app freezes when building the window: ...
1
vote
0
answers
53
views
Unexpected crash on Tauri related to objective c and c++ bridge
Basically, I am puzzled by this crash I am getting.
For context, I am running a Tauri app for a multi platform desktop app (windows and mac). My windows part works perfectly using winsocks, however I ...
0
votes
0
answers
97
views
tauri clipboard-manager.write_text not allowed
this React code
import { message } from "@tauri-apps/plugin-dialog";
import { writeText } from "@tauri-apps/plugin-clipboard-manager";
async function copy() {
try {
...
0
votes
1
answer
194
views
How to correctly configure directory access permissions for the dialog plugin's file picker in a Tauri2.0 project
Here's my capabilities/default.json file. This is a demo, but I still can't figure it out after reading the official documentation:
{
"$schema": "../gen/schemas/desktop-schema.json&...