fix: Github actions failed because of missing tauri files

This commit is contained in:
gauvainboiche
2026-08-31 19:32:33 +02:00
parent 5eab4929b3
commit 2c879e4ebc
5 changed files with 36 additions and 10 deletions
-9
View File
@@ -1,9 +0,0 @@
# Generated by Cargo
# will have compiled files and executables
/target/
/target/debug
/target/release/*
/gen/schemas
# Exclude app.exe
!/target/release/app.exe
+11
View File
@@ -0,0 +1,11 @@
{
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "enables the default permissions",
"windows": [
"main"
],
"permissions": [
"core:default"
]
}
+16
View File
@@ -0,0 +1,16 @@
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
tauri::Builder::default()
.setup(|app| {
if cfg!(debug_assertions) {
app.handle().plugin(
tauri_plugin_log::Builder::default()
.level(log::LevelFilter::Info)
.build(),
)?;
}
Ok(())
})
.run(tauri::generate_context!())
.expect("error while running tauri application");
}
+6
View File
@@ -0,0 +1,6 @@
// Prevents additional console window on Windows in release, DO NOT REMOVE!!
#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
fn main() {
app_lib::run();
}