Skip to content

Instantly share code, notes, and snippets.

@chris-cadev
Created August 26, 2023 03:07
Show Gist options
  • Save chris-cadev/86119a9ec2a5e52f597889bbc8a21bfa to your computer and use it in GitHub Desktop.
Save chris-cadev/86119a9ec2a5e52f597889bbc8a21bfa to your computer and use it in GitHub Desktop.
{
"$schema": "../node_modules/@tauri-apps/cli/schema.json",
"build": {
"beforeBuildCommand": "npm run build",
"beforeDevCommand": "npm run dev",
"devPath": "http://localhost:5173",
"distDir": "../build"
},
"package": {
"productName": "mission-11-enroller",
"version": "0.1.0"
},
"tauri": {
"allowlist": {
"all": false,
"shell": {
"all": true,
"execute": true,
"open": true,
"scope": [
{
"name": "../bin/esptool",
"sidecar": true,
"args": [
"-p",
{
"validator": "\\S+"
},
"-b",
{
"validator": "\\S+"
},
"read_flash",
"0",
"0x400000",
{
"validator": "\\S+"
}
]
},
{
"name": "../bin/platformio/penv/Scripts/platformio",
"sidecar": true,
"args": [
"run",
"-e",
"esp32doit-devkit-v1",
"-d",
"$RESOURCE/lib/be-door",
"--target",
"upload"
]
}
],
"sidecar": true
},
"notification": {
"all": true
},
"window": {
"close": true
},
"path": {
"all": true
},
"fs": {
"all": true,
"copyFile": true,
"createDir": true,
"exists": true,
"readDir": true,
"readFile": true,
"removeDir": true,
"removeFile": true,
"renameFile": true,
"scope": [
"$DATA/*",
"$CONFIG/*"
],
"writeFile": true
}
},
"bundle": {
"active": true,
"category": "Productivity",
"copyright": "ArkusNexus",
"deb": {
"depends": []
},
"externalBin": [
"../bin/esptool",
"../bin/platformio/penv/Scripts/platformio"
],
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"identifier": "com.mission-11.enroller",
"longDescription": "",
"macOS": {
"entitlements": null,
"exceptionDomain": "",
"frameworks": [],
"providerShortName": null,
"signingIdentity": null
},
"resources": [
"lib/be-door",
"lib/platformio"
],
"shortDescription": "",
"targets": "all",
"windows": {
"certificateThumbprint": null,
"digestAlgorithm": "sha256",
"timestampUrl": ""
}
},
"security": {
"csp": null
},
"updater": {
"active": false
},
"windows": [
{
"fullscreen": false,
"height": 850,
"resizable": false,
"title": "Enroll - Mission 11",
"width": 1000,
"center": true
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment