feat(plugins/community/splatoon): add stat.ink integration

This commit is contained in:
lowlighter
2022-11-21 19:03:33 -05:00
parent 7c342bf915
commit 24029ffa89
9 changed files with 73 additions and 7 deletions

View File

@@ -21,12 +21,13 @@ const allowed = {
files:["profile.json", "profile.json.swap", "cache", "export"],
net:["api.imink.app", "accounts.nintendo.com", "api.accounts.nintendo.com", "api-lp1.znc.srv.nintendo.net", "api.lp1.av5ja.srv.nintendo.net"]
}
const script = import.meta.resolve("./s3si/index.ts")
const args = [
"run", "--no-prompt", "--cached-only", "--no-remote",
`--allow-read="${allowed.files}"`,
`--allow-write="${allowed.files}"`,
`--allow-net="${allowed.net}"`,
"s3si/index.ts",
script,
'--exporter=none'
]
try {