This repository is responsible for maintaining commonly used js scripts and making them installable via @mpv-easy/mpsm. Each script can be used individually or in combination, and will try to avoid functional conflicts caused by multiple scripts.
Add script.json directly to the scripts
{
"name": "green-screen",
"download": "https://github.com/ahaoboy/green-screen/blob/main/green-screen.js",
"description": "Display the green screen, which can be toggled on and off with the 'g' key",
"author": "ahaoboy",
"homepage": "https://github.com/ahaoboy/green-screen"
}
npm run update:full
run ci https://github.com/mpv-easy/mpv-easy-cdn/actions/workflows/update.yml on dev branch
The script file name should be consistent with the script name in meta, in order to avoid problems in some extreme cases. If you encounter problems, please open an issue
https://github.com/mpv-easy/mpv-build
https://mpv-easy.github.io/mpv-build/
set -x MPV_SCRIPT_DIR=/your_mpv_dir/portable_config/scripts ; pnpm run dev
export MPV_SCRIPT_DIR=/your_mpv_dir/portable_config/scripts && pnpm run dev