rename src-tauri -> src

This commit is contained in:
loki5512344 2026-06-15 21:16:48 +02:00
parent b7b70fe22d
commit 500da04ce7
55 changed files with 11 additions and 5277 deletions

2
.gitignore vendored
View file

@ -2,7 +2,7 @@ node_modules/
dist/ dist/
target/ target/
.tauri/ .tauri/
src-tauri/target/ src/target/
*.lock *.lock
!Cargo.lock !Cargo.lock
.DS_Store .DS_Store

View file

@ -1,3 +1,10 @@
[workspace] [workspace]
members = ["src-tauri"] members = ["src"]
resolver = "2" resolver = "2"
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
strip = true
panic = "abort"

View file

@ -1,3 +0,0 @@
fn main() {
println!("cargo:rerun-if-changed=build.rs");
}

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
{}

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 387 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 850 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 98 B

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 120 B

View file

@ -1,39 +0,0 @@
{
"$schema": "https://schema.tauri.app/config/2",
"productName": "LoFlum",
"version": "0.1.0",
"identifier": "dev.loflum.app",
"build": {
"beforeDevCommand": "bun run dev",
"beforeBuildCommand": "bun run build",
"devUrl": "http://localhost:5173",
"frontendDist": "../dist"
},
"app": {
"windows": [
{
"title": "LoFlum",
"width": 1280,
"height": 800,
"minWidth": 900,
"minHeight": 600,
"decorations": true,
"transparent": false
}
],
"security": {
"csp": null
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
]
}
}

View file

@ -6,11 +6,12 @@ license = "GPL-3.0-only"
[lib] [lib]
name = "loflum_lib" name = "loflum_lib"
path = "lib.rs"
crate-type = ["staticlib", "cdylib", "rlib"] crate-type = ["staticlib", "cdylib", "rlib"]
[[bin]] [[bin]]
name = "loflum" name = "loflum"
path = "src/main.rs" path = "main.rs"
[dependencies] [dependencies]
eframe = { version = "0.28", features = ["default"] } eframe = { version = "0.28", features = ["default"] }
@ -34,9 +35,3 @@ chrono = "0.4"
futures-lite = "2" futures-lite = "2"
image = "0.25" image = "0.25"
[profile.release]
opt-level = "z"
lto = true
codegen-units = 1
strip = true
panic = "abort"