znote 1.0.0

A lightweight desktop editor for Typst with live preview, built with Tauri
{
  "$schema": "https://schema.tauri.app/config/2",
  "productName": "znote",
  "version": "1.0.0",
  "identifier": "com.zalanalytics.znote",
  "build": {
    "beforeDevCommand": "pnpm dev --port 1420 --strictPort",
    "devUrl": "http://localhost:1420",
    "beforeBuildCommand": "pnpm build",
    "frontendDist": "dist"
  },
  "app": {
    "windows": [
      {
        "title": "znote",
        "width": 1280,
        "height": 800,
        "minWidth": 800,
        "minHeight": 500
      }
    ],
    "security": {
      "csp": {
        "default-src": "'self'",
        "style-src": "'self' 'unsafe-inline'",
        "img-src": "'self' data: blob: asset: http://asset.localhost",
        "font-src": "'self' asset: http://asset.localhost",
        "connect-src": "'self' ipc: http://ipc.localhost"
      },
      "assetProtocol": {
        "enable": true,
        "scope": ["$APPDATA/themes/**", "$APPDATA/looks/**"]
      },
      "dangerousDisableAssetCspModification": [
        "style-src"
      ]
    }
  },
  "bundle": {
    "active": true,
    "targets": [
      "nsis"
    ],
    "fileAssociations": [
      {
        "ext": ["znote"],
        "name": "znote file",
        "description": "znote file",
        "role": "Editor"
      }
    ],
    "icon": [
      "icons/32x32.png",
      "icons/128x128.png",
      "icons/128x128@2x.png",
      "icons/icon.icns",
      "icons/icon.ico"
    ]
  }
}