Files
vsix-hpl-toolbox/package.json
2026-05-27 18:20:37 +08:00

138 lines
4.2 KiB
JSON

{
"name": "hpl-toolbox",
"displayName": "HPL Toolbox",
"description": "Bundled tools: PLEC Upload, AppLovin Demo Upload, Base64 Asset Scanner, MRAID Checker, Daily Update. Local HTML Host.",
"version": "0.1.5",
"publisher": "hesukastro",
"license": "UNLICENSED",
"repository": {
"type": "git",
"url": "https://gitea.hesukastro.com/hesukastro/vsix-hpl-toolbox.git"
},
"engines": {
"vscode": "^1.85.0"
},
"categories": ["Other"],
"icon": "media/hpl.png",
"main": "./out/extension.js",
"activationEvents": [],
"contributes": {
"commands": [
{
"command": "hplToolbox.openPlecUpload",
"title": "HPL Toolbox: Open PLEC Upload"
},
{
"command": "hplToolbox.openApplovinUpload",
"title": "HPL Toolbox: Open AppLovin Demo Upload"
},
{
"command": "hplToolbox.openBase64Scanner",
"title": "HPL Toolbox: Open Base64 Scanner"
},
{
"command": "hplToolbox.openMraidChecker",
"title": "HPL Toolbox: Open MRAID Checker"
},
{
"command": "hplToolbox.openDailyUpdate",
"title": "HPL Toolbox: Open Daily Update"
},
{
"command": "hplToolbox.openSendToMobile",
"title": "HPL Toolbox: Open Send To Mobile"
},
{
"command": "hplToolbox.openPlayworksConverter",
"title": "HPL Toolbox: Open Playworks Converter"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "hplToolbox",
"title": "HPL Toolbox",
"icon": "media/hpl.png"
}
]
},
"views": {
"hplToolbox": [
{
"type": "webview",
"id": "hplToolbox.launcher",
"name": "Tools"
}
]
},
"configuration": [
{
"title": "HPL Toolbox — PLEC Upload",
"properties": {
"hplToolbox.plec.uploadUrl": {
"type": "string",
"default": "http://167.99.227.249/src/upload_HTML_Experimental.php",
"description": "Endpoint URL for the PLEC HTML upload script."
},
"hplToolbox.plec.originUrl": {
"type": "string",
"default": "http://167.99.227.249",
"description": "Origin/Referer header sent with upload requests."
},
"hplToolbox.plec.previewBase": {
"type": "string",
"default": "https://playable.applovindemo.com/phaser/",
"description": "Preview server base URL used to check if a filename already exists."
},
"hplToolbox.plec.skipExistsCheck": {
"type": "boolean",
"default": false,
"description": "Skip the pre-check that verifies the filename does not already exist on the preview server."
}
}
},
{
"title": "HPL Toolbox — AppLovin Upload",
"properties": {
"hplToolbox.applovin.cookie": {
"type": "string",
"default": "",
"description": "Value of the __Host-APPLOVINID cookie for p.applov.in (log in at https://p.applov.in/playablePreview?create=1&qr=1 and copy the cookie from DevTools)."
},
"hplToolbox.applovin.delayMs": {
"type": "number",
"default": 5000,
"minimum": 0,
"description": "Delay (in milliseconds) between consecutive file uploads, to avoid AppLovin rate limiting / 403 responses."
},
"hplToolbox.applovin.randomizeUserAgent": {
"type": "boolean",
"default": true,
"description": "Randomize the User-Agent header on every request to p.applov.in to reduce bot detection."
}
}
},
{
"title": "HPL Toolbox — Send To Mobile",
"properties": {
"hplToolbox.sendToMobile.port": {
"type": "number",
"default": 0,
"description": "Port for the temporary LAN HTTP server. 0 (default) = OS-assigned ephemeral port."
}
}
}
]
},
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"vscode:prepublish": "npm run compile"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/vscode": "^1.85.0",
"typescript": "^5.4.0"
}
}