Files
atmosphere/tauri.conf.json
2026-11-20 17:38:26 -05:00

98 lines
2.5 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Atmosphere",
"version": "0.2.0",
"identifier": "app.atmosphere.desktop",
"build": {
"frontendDist": "ui"
},
"app": {
"withGlobalTauri": true,
"windows": [
{
"label": "main",
"title": "Atmosphere",
"width": 1200,
"height": 800,
"minWidth": 900,
"minHeight": 620,
"center": true,
"backgroundColor": "#0f1117",
"dragDropEnabled": false,
"decorations": false,
"shadow": true
}
],
"security": {
"csp": "default-src 'self'; img-src 'self' https: data: atmo: http://atmo.localhost; media-src 'self' atmo: http://atmo.localhost blob:; style-src 'self' 'unsafe-inline'; script-src 'self'; worker-src 'self' blob:; connect-src ipc: http://ipc.localhost atmo: http://atmo.localhost"
}
},
"bundle": {
"active": true,
"targets": [
"nsis",
"msi"
],
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"category": "Music",
"shortDescription": "Save audio and video you have the rights to keep.",
"licenseFile": "installer/RIGHTS.txt",
"windows": {
"nsis": {
"installMode": "both",
"installerIcon": "icons/icon.ico",
"headerImage": "installer/nsis-header.bmp",
"sidebarImage": "installer/nsis-sidebar.bmp",
"displayLanguageSelector": false,
"installerHooks": "installer/hooks.nsh"
},
"wix": {
"bannerPath": "installer/wix-banner.bmp",
"dialogImagePath": "installer/wix-dialog.bmp"
},
"webviewInstallMode": {
"type": "downloadBootstrapper"
}
},
"createUpdaterArtifacts": true,
"fileAssociations": [
{
"ext": [
"mp3",
"flac",
"wav",
"m4a",
"aac",
"ogg",
"oga",
"opus",
"aiff",
"aif",
"wma",
"alac"
],
"name": "Audio file",
"description": "Audio file",
"role": "Viewer"
}
]
},
"plugins": {
"updater": {
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEE0NzUxREY1OTc5QTJGRjQKUldUMEw1cVg5UjExcEk0dUM2WFlyWURKMkpOZnVZcWZ3eDdiazVoZWdlcEJnbEVpVC9ZWmxMU2wK",
"endpoints": [
"https://github.com/pvrzz/atmosphere/releases/latest/download/latest.json"
],
"windows": {
"installMode": "passive"
}
}
}
}