fix: Deploying version dynamically + adding Tauri project files

This commit is contained in:
gauvainboiche
2026-08-02 18:18:29 +02:00
parent 165935521a
commit 257e187964
12 changed files with 4618 additions and 60 deletions
+9
View File
@@ -0,0 +1,9 @@
# Generated by Cargo
# will have compiled files and executables
/target/
/target/debug
/target/release/*
/gen/schemas
# Exclude app.exe
!/target/release/app.exe
+4480
View File
File diff suppressed because it is too large Load Diff
+25
View File
@@ -0,0 +1,25 @@
[package]
name = "ketapk"
version = "0.16.0"
description = "KétaPK"
authors = ["Gauvain BOICHÉ", "Pr. Georges MION"]
license = "Proprietary"
repository = ""
edition = "2021"
rust-version = "1.77.2"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "app_lib"
crate-type = ["staticlib", "cdylib", "rlib"]
[build-dependencies]
tauri-build = { version = "2.6.3", features = [] }
[dependencies]
serde_json = "1.0"
serde = { version = "1.0", features = ["derive"] }
log = "0.4"
tauri = { version = "2.11.3", features = [] }
tauri-plugin-log = "2"
+3
View File
@@ -0,0 +1,3 @@
fn main() {
tauri_build::build()
}
+34
View File
@@ -0,0 +1,34 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "ketapk",
"version": "0.16.0",
"identifier": "com.ketapk.desktop",
"build": {
"beforeDevCommand": "",
"beforeBuildCommand": "",
"frontendDist": "../frontend"
},
"app": {
"windows": [
{
"title": "KétaPK",
"width": 1280,
"height": 800,
"resizable": true,
"fullscreen": false
}
]
},
"bundle": {
"active": true,
"targets": ["msi"],
"category": "Medical",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
}
}