Skip to content

Commit ec05df4

Browse files
committed
chore: clean up DMG artifacts and optimize release build
- Remove generated DMG file and temporary build artifacts - Add release profile optimizations in Cargo.toml: - Enable strip to remove debug symbols - Set opt-level to 'z' for size optimization - Enable LTO (Link Time Optimization) - Set codegen-units to 1 for better optimization
1 parent 4e8c317 commit ec05df4

File tree

6 files changed

+6
-206
lines changed

6 files changed

+6
-206
lines changed

Claudia.dmg

-22.2 MB
Binary file not shown.

dmg_temp/Claudia.app/Contents/Info.plist

Lines changed: 0 additions & 78 deletions
This file was deleted.
-48.8 MB
Binary file not shown.
-160 KB
Binary file not shown.

dmg_temp/Claudia.app/Contents/_CodeSignature/CodeResources

Lines changed: 0 additions & 128 deletions
This file was deleted.

src-tauri/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,9 @@ objc = "0.2"
6262
[features]
6363
# This feature is used for production builds or when a dev server is not specified, DO NOT REMOVE!!
6464
custom-protocol = ["tauri/custom-protocol"]
65+
66+
[profile.release]
67+
strip = true
68+
opt-level = "z"
69+
lto = true
70+
codegen-units = 1

0 commit comments

Comments
 (0)