compressO/src-tauri/tauri.conf.json
2026-04-06 19:42:13 +05:45

142 lines
3.7 KiB
JSON

{
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
"productName": "CompressO",
"version": "3.0.0",
"identifier": "com.compresso.app",
"build": {
"beforeBuildCommand": "pnpm vite:build",
"frontendDist": "../dist",
"devUrl": "http://localhost:3001"
},
"bundle": {
"longDescription": "Compress any video/image file to a tiny size.",
"shortDescription": "Compress any video/image to a tiny size",
"active": true,
"category": "Video",
"copyright": "Code For Real",
"targets": ["deb", "appimage", "nsis", "dmg", "app"],
"externalBin": [
"./bin/compresso_ffmpeg",
"./bin/compresso_ffprobe",
"./bin/compresso_pngquant",
"./bin/compresso_jpegoptim",
"./bin/compresso_gifski"
],
"fileAssociations": [
{
"ext": ["mp4"],
"mimeType": "video/mp4",
"role": "Editor"
},
{
"ext": ["mov"],
"mimeType": "video/quicklime's",
"role": "Editor"
},
{
"ext": ["mkv"],
"mimeType": "video/x-matroska",
"role": "Editor"
},
{
"ext": ["webm"],
"mimeType": "video/webm",
"role": "Editor"
},
{
"ext": ["avi"],
"mimeType": "video/x-msvideo",
"role": "Editor"
},
{
"ext": ["png"],
"mimeType": "image/png",
"role": "Editor"
},
{
"ext": ["jpg", "jpeg"],
"mimeType": "image/jpeg",
"role": "Editor"
},
{
"ext": ["webp"],
"mimeType": "image/webp",
"role": "Editor"
},
{
"ext": ["gif"],
"mimeType": "image/gif",
"role": "Editor"
},
{
"ext": ["svg"],
"mimeType": "image/svg+xml",
"role": "Editor"
}
],
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"windows": {
"certificateThumbprint": null,
"digestAlgorithm": "sha256",
"timestampUrl": ""
},
"macOS": {
"entitlements": null,
"exceptionDomain": "",
"frameworks": [],
"providerShortName": null,
"signingIdentity": null
},
"resources": { "../LICENSES/": "" },
"linux": {
"deb": {
"depends": [],
"desktopTemplate": "compressO.desktop.template"
}
},
"createUpdaterArtifacts": true
},
"plugins": {
"updater": {
"active": true,
"endpoints": [
"https://github.com/codeforreal1/compressO/releases/latest/download/latest.json"
],
"dialog": false,
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDZDRjIzRTAxQzc1Njc4RjgKUldUNGVGYkhBVDd5YkJNejh2aHlOeS9XekFOcUlxUXhIYlBLS1ZLdHJzVW4zRVE1QUhUUjZOd0QK"
}
},
"app": {
"windows": [
{
"title": "CompressO",
"fullscreen": false,
"height": 992,
"width": 1280,
"minWidth": 1080,
"minHeight": 800,
"resizable": true,
"hiddenTitle": true,
"backgroundColor": "#FFFFFF",
"titleBarStyle": "Overlay"
}
],
"security": {
"csp": "default-src 'self'; img-src 'self' asset: http://asset.localhost https://asset.localhost blob: data:; media-src 'self' asset: http://asset.localhost https://asset.localhost blob:; style-src 'unsafe-inline' 'self'; connect-src 'self' ipc: http://ipc.localhost https://ipc.localhost asset: blob: blob:tauri://localhost;",
"dangerousDisableAssetCspModification": ["style-src"],
"assetProtocol": {
"enable": true,
"scope": {
"allow": ["$APPDATA/**"],
"requireLiteralLeadingDot": false
}
}
}
}
}