mirror of
https://github.com/jellyfin/jellyfin-vue.git
synced 2024-11-23 05:59:55 +00:00
feat(tauri): optimize Tauri build size (#2275)
Signed-off-by: GitHub <noreply@github.com>
This commit is contained in:
parent
e9e55b27f2
commit
72459d67af
8
.github/workflows/quality_checks.yml
vendored
8
.github/workflows/quality_checks.yml
vendored
@ -184,9 +184,7 @@ jobs:
|
||||
with:
|
||||
compression-level: 0
|
||||
name: jellyfin-vue_linux-amd64
|
||||
path: |
|
||||
packaging/tauri/target/release/bundle/deb/*.deb
|
||||
packaging/tauri/target/release/bundle/appimage_deb
|
||||
path: packaging/tauri/target/release/bundle/appimage_deb
|
||||
|
||||
- name: Upload artifact (MacOS) ⬆️🍎
|
||||
uses: actions/upload-artifact@v4.3.1
|
||||
@ -194,9 +192,7 @@ jobs:
|
||||
with:
|
||||
compression-level: 0
|
||||
name: jellyfin-vue_macOS
|
||||
path: |
|
||||
packaging/tauri/target/release/bundle/macos
|
||||
packaging/tauri/target/release/bundle/dmg/*.dmg
|
||||
path: packaging/tauri/target/release/bundle/macos
|
||||
|
||||
- name: Upload artifact (Windows) ⬆️🪟
|
||||
uses: actions/upload-artifact@v4.3.1
|
||||
|
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
@ -114,9 +114,7 @@ jobs:
|
||||
with:
|
||||
compression-level: 0
|
||||
name: jellyfin-vue_linux-amd64
|
||||
path: |
|
||||
packaging/tauri/target/release/bundle/deb/*.deb
|
||||
packaging/tauri/target/release/bundle/appimage_deb
|
||||
path: packaging/tauri/target/release/bundle/appimage_deb
|
||||
|
||||
- name: Upload artifact (MacOS) ⬆️🍎
|
||||
uses: actions/upload-artifact@v4.3.1
|
||||
@ -124,9 +122,7 @@ jobs:
|
||||
with:
|
||||
compression-level: 0
|
||||
name: jellyfin-vue_macOS
|
||||
path: |
|
||||
packaging/tauri/target/release/bundle/macos
|
||||
packaging/tauri/target/release/bundle/dmg/*.dmg
|
||||
path: packaging/tauri/target/release/bundle/macos
|
||||
|
||||
- name: Upload artifact (Windows) ⬆️🪟
|
||||
uses: actions/upload-artifact@v4.3.1
|
||||
|
8
.github/workflows/unstable.yml
vendored
8
.github/workflows/unstable.yml
vendored
@ -120,9 +120,7 @@ jobs:
|
||||
with:
|
||||
compression-level: 0
|
||||
name: jellyfin-vue_linux-amd64
|
||||
path: |
|
||||
packaging/tauri/target/release/bundle/deb/*.deb
|
||||
packaging/tauri/target/release/bundle/appimage_deb
|
||||
path: packaging/tauri/target/release/bundle/appimage_deb
|
||||
|
||||
- name: Upload artifact (MacOS) ⬆️🍎
|
||||
uses: actions/upload-artifact@v4.3.1
|
||||
@ -130,9 +128,7 @@ jobs:
|
||||
with:
|
||||
compression-level: 0
|
||||
name: jellyfin-vue_macOS
|
||||
path: |
|
||||
packaging/tauri/target/release/bundle/macos
|
||||
packaging/tauri/target/release/bundle/dmg/*.dmg
|
||||
path: packaging/tauri/target/release/bundle/macos
|
||||
|
||||
- name: Upload artifact (Windows) ⬆️🪟
|
||||
uses: actions/upload-artifact@v4.3.1
|
||||
|
@ -22,3 +22,8 @@ tauri = { version = "=1.6.1", features = ["api-all"] }
|
||||
[features]
|
||||
default = ["custom-protocol"]
|
||||
custom-protocol = ["tauri/custom-protocol"]
|
||||
|
||||
[profile.release]
|
||||
strip = true
|
||||
lto = true
|
||||
opt-level = 3
|
||||
|
@ -6,35 +6,23 @@
|
||||
"build": {
|
||||
"distDir": "../../frontend/dist",
|
||||
"devPath": "http://127.0.0.1:3000",
|
||||
"beforeDevCommand": "cd ../../frontend && npm start",
|
||||
"beforeBuildCommand": "cd ../../frontend && npm run build"
|
||||
"beforeDevCommand": "npm start -w @jellyfin-vue/frontend",
|
||||
"beforeBuildCommand": "npm run build -w @jellyfin-vue/frontend"
|
||||
},
|
||||
"tauri": {
|
||||
"bundle": {
|
||||
"active": true,
|
||||
"targets": "all",
|
||||
"targets": ["appimage", "msi", "app"],
|
||||
"identifier": "org.jellyfin.vue.tauri",
|
||||
"appimage": {
|
||||
"bundleMediaFramework": true
|
||||
},
|
||||
"resources": [],
|
||||
"externalBin": [],
|
||||
"copyright": "",
|
||||
"category": "Entertainment",
|
||||
"shortDescription": "",
|
||||
"longDescription": "",
|
||||
"deb": {
|
||||
"depends": []
|
||||
},
|
||||
"macOS": {
|
||||
"frameworks": [],
|
||||
"minimumSystemVersion": "",
|
||||
"exceptionDomain": "",
|
||||
"signingIdentity": null,
|
||||
"entitlements": null
|
||||
},
|
||||
"windows": {
|
||||
"certificateThumbprint": null,
|
||||
"digestAlgorithm": "sha256",
|
||||
"timestampUrl": ""
|
||||
}
|
||||
"longDescription": ""
|
||||
},
|
||||
"updater": {
|
||||
"active": false
|
||||
|
Loading…
Reference in New Issue
Block a user