mirror of
https://github.com/kunkunsh/kunkun-ext-wol.git
synced 2025-05-24 20:25:01 +00:00
chore: update package metadata and reduce permissions
This commit is contained in:
parent
5cb5228002
commit
cc5c0a039d
@ -1 +1,4 @@
|
|||||||
# Kunkun WakeOnLan Extension
|
# Kunkun WakeOnLan Extension
|
||||||
|
|
||||||
|

|
||||||
|

|
||||||
|
12
package.json
12
package.json
@ -1,9 +1,13 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https://schema.kunkun.sh",
|
"$schema": "https://schema.kunkun.sh",
|
||||||
"name": "kunkun-ext-wol",
|
"name": "kunkun-ext-wol",
|
||||||
"version": "0.0.6",
|
"version": "0.0.7",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/kunkunsh/kunkun-ext-wol"
|
||||||
|
},
|
||||||
"kunkun": {
|
"kunkun": {
|
||||||
"name": "Wake On Lan",
|
"name": "Wake On Lan",
|
||||||
"shortDescription": "Wake On Lan",
|
"shortDescription": "Wake On Lan",
|
||||||
@ -15,12 +19,6 @@
|
|||||||
"allow": [
|
"allow": [
|
||||||
{
|
{
|
||||||
"path": "$EXTENSION/deno-src/index.ts",
|
"path": "$EXTENSION/deno-src/index.ts",
|
||||||
"env": "*",
|
|
||||||
"ffi": "*",
|
|
||||||
"read": "*",
|
|
||||||
"write": "*",
|
|
||||||
"sys": "*",
|
|
||||||
"run": "*",
|
|
||||||
"net": "*"
|
"net": "*"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -30,14 +30,7 @@ async function getRpcAPI() {
|
|||||||
"$EXTENSION/deno-src/index.ts",
|
"$EXTENSION/deno-src/index.ts",
|
||||||
[],
|
[],
|
||||||
{
|
{
|
||||||
allowAllEnv: true,
|
|
||||||
allowAllFfi: true,
|
|
||||||
allowAllRead: true,
|
|
||||||
allowAllWrite: true,
|
|
||||||
allowAllSys: true,
|
|
||||||
allowAllRun: true,
|
|
||||||
allowAllNet: true,
|
allowAllNet: true,
|
||||||
cwd: downloadDir,
|
|
||||||
},
|
},
|
||||||
{}
|
{}
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user