Allows for better per platform default config. Currently the default serves windows/macos fine while it has to be tweaked in order to build for linux make build-tauri now successfully runs where it errored out before. Appimages made with make alone however is incomplete as there are still post processing steps in the github release workflow to bundle additional resources. - split platform specific config out of tauri.conf.json into auxiliary platform specific config files, natively supported by tauri - pull improved defaults out of template-tauri-build-linux-x64.yml into new tauri.linux.conf.json - fix tauri-build-linx-x64.yml to utilize new tauri.linux.conf.json
27 lines
595 B
JSON
27 lines
595 B
JSON
{
|
|
"bundle": {
|
|
"targets": ["deb", "appimage"],
|
|
"resources": [
|
|
"resources/pre-install/**/*"
|
|
],
|
|
"externalBin": [
|
|
"binaries/cortex-server",
|
|
"resources/bin/uv"
|
|
],
|
|
"linux": {
|
|
"appimage": {
|
|
"bundleMediaFramework": false,
|
|
"files": {}
|
|
},
|
|
"deb": {
|
|
"files": {
|
|
"usr/bin/bun": "resources/bin/bun",
|
|
"usr/lib/Jan/binaries": "binaries/deps",
|
|
"usr/lib/Jan/binaries/engines": "binaries/engines",
|
|
"usr/lib/Jan/binaries/libvulkan.so": "binaries/libvulkan.so"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|