feat(depot): initial work for depot

This commit is contained in:
2023-12-15 09:15:30 +07:00
parent 591373fd52
commit ba93bdbb91
14 changed files with 902 additions and 489 deletions

View File

@@ -23,7 +23,8 @@
"$HOME/*",
"$PICTURE/*",
"$PUBLIC/*",
"$VIDEO/*"
"$VIDEO/*",
"$RESOURCE/*"
]
},
"http": {
@@ -33,7 +34,10 @@
]
},
"shell": {
"open": true
"open": true,
"scope": [
{ "name": "bin/depot", "sidecar": true, "args": true }
]
},
"updater": {
"endpoints": [
@@ -49,8 +53,8 @@
"deb": {
"depends": []
},
"externalBin": [],
"resources": [],
"externalBin": ["bin/depot"],
"resources": ["resources/config.toml"],
"icon": [
"icons/32x32.png",
"icons/128x128.png",
@@ -88,6 +92,28 @@
"timestampUrl": ""
}
},
"security": {
"assetProtocol": {
"enable": true,
"scope": [
"$APPDATA/*",
"$DATA/*",
"$LOCALDATA/*",
"$DESKTOP/*",
"$DOCUMENT/*",
"$DOWNLOAD/*",
"$HOME/*",
"$PICTURE/*",
"$PUBLIC/*",
"$VIDEO/*",
"$APPCONFIG/*",
"$RESOURCE/*"
]
},
"dangerousDisableAssetCspModification": false,
"dangerousRemoteDomainIpcAccess": [],
"freezePrototype": false
},
"macOSPrivateApi": true
}
}