chore: scaffold tauri transcription app
This commit is contained in:
commit
3b05cb22a0
18 files changed
+8054
No files matched your search
Generated
+5118
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,20 @@
|
||||
[package]
|
||||
name = "transcript-desktop"
|
||||
version = "0.1.0"
|
||||
description = "Offline-first desktop transcription app for Windows and Linux"
|
||||
authors = ["Transcript contributors"]
|
||||
edition = "2021"
|
||||
|
||||
[lib]
|
||||
name = "transcript_desktop_lib"
|
||||
crate-type = ["staticlib", "cdylib", "rlib"]
|
||||
|
||||
[build-dependencies]
|
||||
tauri-build = { version = "2", features = [] }
|
||||
|
||||
[dependencies]
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
tauri = { version = "2", features = ["tray-icon", "image-png"] }
|
||||
tauri-plugin-opener = "2"
|
||||
thiserror = "2"
|
||||
@@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
tauri_build::build();
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"$schema": "../gen/schemas/desktop-schema.json",
|
||||
"identifier": "default",
|
||||
"description": "Permissões padrão do aplicativo Transcript.",
|
||||
"windows": ["main"],
|
||||
"permissions": ["core:default", "opener:default"]
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
#[cfg_attr(mobile, tauri::mobile_entry_point)]
|
||||
pub fn run() {
|
||||
tauri::Builder::default()
|
||||
.plugin(tauri_plugin_opener::init())
|
||||
.run(tauri::generate_context!())
|
||||
.expect("erro ao executar o aplicativo Tauri");
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
transcript_desktop_lib::run();
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"$schema": "https://schema.tauri.app/config/2",
|
||||
"productName": "Transcript",
|
||||
"version": "0.1.0",
|
||||
"identifier": "com.transcript.desktop",
|
||||
"build": {
|
||||
"beforeDevCommand": "npm run dev",
|
||||
"devUrl": "http://127.0.0.1:1420",
|
||||
"beforeBuildCommand": "npm run build",
|
||||
"frontendDist": "../dist"
|
||||
},
|
||||
"app": {
|
||||
"windows": [
|
||||
{
|
||||
"title": "Transcript",
|
||||
"label": "main",
|
||||
"width": 600,
|
||||
"height": 560,
|
||||
"minWidth": 360,
|
||||
"minHeight": 420,
|
||||
"resizable": true,
|
||||
"alwaysOnTop": true,
|
||||
"visible": true
|
||||
}
|
||||
],
|
||||
"security": {
|
||||
"csp": null
|
||||
}
|
||||
},
|
||||
"bundle": {
|
||||
"active": true,
|
||||
"targets": "all",
|
||||
"externalBin": []
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user