CI / lint (push) Successful in 26s
CI / security (push) Successful in 13s
CI / test (push) Successful in 31s
CI / build (push) Successful in 6s
CI / e2e (push) Failing after 33s
Desktop Build / build-windows (push) Has been cancelled
Desktop Build / build-linux (push) Has been cancelled
- #![windows_subsystem = "windows"]: no console window on Windows release builds - CREATE_NO_WINDOW (0x08000000): Python backend subprocess hidden on Windows - Native menu bar: Fichier (N/Fermer/Quitter) + Edition (Undo/Redo/Cut/Copy/Paste/SelectAll) + Aide (About) - Auto-update: tauri-plugin-updater checks Gitea releases endpoint - tauri.conf.json: updater plugin config with passive install mode - ROADMAP: Phase 3 marked as complete (11/11 subtasks done)
93 lines
2.6 KiB
JSON
93 lines
2.6 KiB
JSON
{
|
|
"$schema": "https://raw.githubusercontent.com/nicedoc/obsigate/main/desktop/tauri.conf.schema.json",
|
|
"productName": "ObsiGate",
|
|
"version": "2.0.0",
|
|
"identifier": "com.obsigate.desktop",
|
|
"build": {
|
|
"frontendDist": "../frontend",
|
|
"devUrl": "http://localhost:17890",
|
|
"beforeDevCommand": "cd .. && python -m uvicorn backend.main:app --host 127.0.0.1 --port 17890 --log-level info",
|
|
"beforeBuildCommand": "echo 'Frontend already built — using static files'"
|
|
},
|
|
"app": {
|
|
"withGlobalTauri": true,
|
|
"windows": [
|
|
{
|
|
"title": "ObsiGate",
|
|
"width": 1200,
|
|
"height": 800,
|
|
"minWidth": 800,
|
|
"minHeight": 600,
|
|
"resizable": true,
|
|
"fullscreen": false,
|
|
"center": true,
|
|
"decorations": true,
|
|
"transparent": false,
|
|
"label": "main"
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": "default-src 'self' http://127.0.0.1:*; script-src 'self' 'unsafe-inline' 'unsafe-eval' http://127.0.0.1:* https://cdn.jsdelivr.net https://cdnjs.cloudflare.com https://unpkg.com https://esm.sh; style-src 'self' 'unsafe-inline' http://127.0.0.1:* https://cdnjs.cloudflare.com https://fonts.googleapis.com; font-src 'self' http://127.0.0.1:* https://fonts.gstatic.com; img-src 'self' data: blob: http://127.0.0.1:* https:; connect-src 'self' http://127.0.0.1:* ws://127.0.0.1:*;"
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/[email protected]",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
],
|
|
"resources": [
|
|
"python-embed/**/*",
|
|
"backend/**/*",
|
|
"frontend/**/*"
|
|
],
|
|
"fileAssociations": [
|
|
{
|
|
"ext": ["md", "markdown", "txt"],
|
|
"name": "ObsiGate Markdown",
|
|
"description": "Fichier Markdown ObsiGate",
|
|
"role": "Editor"
|
|
}
|
|
],
|
|
"windows": {
|
|
"nsis": {
|
|
"installMode": "currentUser",
|
|
"installerIcon": "icons/icon.ico",
|
|
"startMenuFolder": "ObsiGate"
|
|
}
|
|
},
|
|
"linux": {
|
|
"deb": {
|
|
"depends": ["libwebkit2gtk-4.1-0", "libgtk-3-0", "libayatana-appindicator3-1"]
|
|
},
|
|
"appimage": {
|
|
"bundleMediaFramework": true
|
|
}
|
|
},
|
|
"macOS": {
|
|
"frameworks": [],
|
|
"minimumSystemVersion": ""
|
|
}
|
|
},
|
|
"plugins": {
|
|
"shell": {
|
|
"open": true
|
|
},
|
|
"single-instance": null,
|
|
"store": null,
|
|
"updater": {
|
|
"endpoints": [
|
|
"https://git.dracodev.net/api/v1/repos/Projets/ObsiGate/releases/latest"
|
|
],
|
|
"pubkey": "OBSIGATE_UPDATE_PUBKEY_PLACEHOLDER",
|
|
"windows": {
|
|
"installMode": "passive"
|
|
}
|
|
}
|
|
}
|
|
}
|