Update plug-in Armor Break N generation
Update the plug-in Armor Break N generation and fix the terminal crash
Installation and repair instructions (revised on 2026-11-21)
1. What was repaired this time?
The script "crashes" and no error message is visible: install.ps1 If an error occurs, close the window immediately. Now a top-level exception capture is added, and it stops before exiting the interactive console (press the Enter key to exit...). The error message and location can be seen clearly; it does not pause when called by pipeline/automation (or add -NoPause).
The wrong branch directly crashes: if the source directory is missing package.json / index.js, package.json is missing version, $env:TEMP is empty, etc., it will be changed to advance check + friendly prompts, and the exit code will be unified (success 0 / installation error 3 / Doctor exception 4).
"Armor-breaking mode" does not appear after installation (core problem): The original script only copies files to profiles\<profile>\node_modules, but the host only loads the plug-ins listed in dsh.profile.bundles in profiles\<profile>\package.json - if the files are present or not registered, they will not be loaded at all. Now the installation will automatically write:
After writing, read back and verify, and automatically synchronize pnpm-lock.yaml; registration will also be backed up, and -Restore can be rolled back as a whole.
dependencies: "dsh-infinite-gen-n": "file:../../plugins/dsh-infinite-gen-n"
dsh.profile.bundles: append dsh-infinite-gen-n
Now you can install it directly through the terminal command.
please Log in or Register an account Participate in discussions, download exclusive add-ons or unlock level posts.