Compare commits
No commits in common. "d94d7fef6e27554c553f3fb7cb60f37c5697ff22" and "578b4bb16ddec5bbc9910cb717bd55675a56020d" have entirely different histories.
d94d7fef6e
...
578b4bb16d
4 changed files with 2 additions and 92 deletions
64
src-tauri/.vscode/launch.json
vendored
64
src-tauri/.vscode/launch.json
vendored
|
@ -1,64 +0,0 @@
|
||||||
{
|
|
||||||
// Use IntelliSense to learn about possible attributes.
|
|
||||||
// Hover to view descriptions of existing attributes.
|
|
||||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
||||||
"version": "0.2.0",
|
|
||||||
"configurations": [
|
|
||||||
{
|
|
||||||
"type": "lldb",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "Debug unit tests in library 'openvcs_lib'",
|
|
||||||
"cargo": {
|
|
||||||
"args": [
|
|
||||||
"test",
|
|
||||||
"--no-run",
|
|
||||||
"--lib",
|
|
||||||
"--package=openvcs"
|
|
||||||
],
|
|
||||||
"filter": {
|
|
||||||
"name": "openvcs_lib",
|
|
||||||
"kind": "lib"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"args": [],
|
|
||||||
"cwd": "${workspaceFolder}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "lldb",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "Debug executable 'openvcs'",
|
|
||||||
"cargo": {
|
|
||||||
"args": [
|
|
||||||
"build",
|
|
||||||
"--bin=openvcs",
|
|
||||||
"--package=openvcs"
|
|
||||||
],
|
|
||||||
"filter": {
|
|
||||||
"name": "openvcs",
|
|
||||||
"kind": "bin"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"args": [],
|
|
||||||
"cwd": "${workspaceFolder}"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "lldb",
|
|
||||||
"request": "launch",
|
|
||||||
"name": "Debug unit tests in executable 'openvcs'",
|
|
||||||
"cargo": {
|
|
||||||
"args": [
|
|
||||||
"test",
|
|
||||||
"--no-run",
|
|
||||||
"--bin=openvcs",
|
|
||||||
"--package=openvcs"
|
|
||||||
],
|
|
||||||
"filter": {
|
|
||||||
"name": "openvcs",
|
|
||||||
"kind": "bin"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"args": [],
|
|
||||||
"cwd": "${workspaceFolder}"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
|
@ -8,14 +8,6 @@ edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
||||||
[profile.release]
|
|
||||||
opt-level = "z" # optimize for size
|
|
||||||
lto = true # link-time optimizations
|
|
||||||
codegen-units = 1 # single codegen unit for better inlining
|
|
||||||
panic = "abort" # no unwind tables
|
|
||||||
debug = false # drop debug info
|
|
||||||
strip = "symbols" # remove symbol table (cargo ≥1.62)
|
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
# The `_lib` suffix may seem redundant but it is necessary
|
# The `_lib` suffix may seem redundant but it is necessary
|
||||||
# to make the lib name unique and wouldn't conflict with the bin name.
|
# to make the lib name unique and wouldn't conflict with the bin name.
|
||||||
|
@ -24,7 +16,7 @@ name = "openvcs_lib"
|
||||||
crate-type = ["staticlib", "cdylib", "rlib"]
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
||||||
|
|
||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
tauri-build = { version = "2", default-features = false, features = [] }
|
tauri-build = { version = "2", features = [] }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tauri = { version = "2", features = [] }
|
tauri = { version = "2", features = [] }
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
set -euo pipefail
|
|
||||||
|
|
||||||
# Disable WebKit’s DMA-BUF path to avoid GBM/Wayland errors
|
|
||||||
export WEBKIT_DISABLE_DMABUF_RENDERER=1
|
|
||||||
|
|
||||||
# (Optional) force Wayland or X11 if you ever need it:
|
|
||||||
# export GDK_BACKEND=wayland
|
|
||||||
# export GDK_BACKEND=x11
|
|
||||||
|
|
||||||
# Launch your app
|
|
||||||
exec cargo run "$@"
|
|
||||||
|
|
|
@ -21,12 +21,7 @@
|
||||||
},
|
},
|
||||||
"bundle": {
|
"bundle": {
|
||||||
"active": true,
|
"active": true,
|
||||||
"targets": [
|
"targets": "all",
|
||||||
"rpm",
|
|
||||||
"app",
|
|
||||||
"deb",
|
|
||||||
"msi"
|
|
||||||
],
|
|
||||||
"icon": [
|
"icon": [
|
||||||
"icons/32x32.png",
|
"icons/32x32.png",
|
||||||
"icons/128x128.png",
|
"icons/128x128.png",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue