Files
imager/src-tauri/tauri.conf.json
SuperKali 3389e7fbd2 Add Tauri auto-update functionality with in-app download
- Add tauri-plugin-updater and tauri-plugin-process dependencies
- Configure updater endpoint for GitHub Releases
- Rewrite UpdateModal with download progress and changelog display
- Add update-related i18n translations (15 languages)
- Configure createUpdaterArtifacts for .sig file generation
- Update workflow to use correct bundle types for each platform
2025-12-19 14:58:16 +01:00

97 lines
2.3 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Armbian Imager",
"version": "1.0.0",
"identifier": "com.armbian.imager",
"build": {
"beforeBuildCommand": "npm run build",
"beforeDevCommand": "npm run dev",
"devUrl": "http://localhost:5173",
"frontendDist": "../dist"
},
"app": {
"windows": [
{
"label": "main",
"title": "Armbian Imager",
"width": 1100,
"height": 700,
"resizable": true,
"minWidth": 1050,
"minHeight": 575,
"center": true
}
],
"security": {
"csp": null,
"assetProtocol": {
"enable": true,
"scope": ["**"]
}
},
"macOSPrivateApi": true
},
"bundle": {
"active": true,
"targets": "all",
"createUpdaterArtifacts": true,
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico",
"icons/icon.png"
],
"category": "Utility",
"shortDescription": "Flash Armbian OS images",
"longDescription": "Armbian Imager is a utility for flashing Armbian OS images to SD cards and USB drives for single board computers.",
"macOS": {
"entitlements": "./entitlements.plist",
"minimumSystemVersion": "10.15",
"dmg": {
"background": "./dmg-background.png",
"windowSize": {
"width": 540,
"height": 380
},
"appPosition": {
"x": 140,
"y": 170
},
"applicationFolderPosition": {
"x": 400,
"y": 170
}
}
},
"windows": {
"certificateThumbprint": null,
"digestAlgorithm": "sha256",
"timestampUrl": "",
"nsis": {
"installerIcon": "./icons/icon.ico"
}
},
"linux": {
"appimage": {
"bundleMediaFramework": false
}
}
},
"plugins": {
"shell": {
"open": true
},
"updater": {
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEYxQzgxMEQ3QUI1RjRDQ0UKUldUT1RGK3IxeERJOGJnSzNrVG1EZ2JVcVRGYllCdFBQNDFVa0l0WjF5NFNndk9YVzhlMDIrS04K",
"endpoints": [
"https://github.com/armbian/imager/releases/latest/download/latest.json"
],
"windows": {
"installMode": "passive"
}
}
}
}