diff options
-rwxr-xr-x | src/upd8.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upd8.js b/src/upd8.js index 70297c6c..38a2e87d 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -2610,7 +2610,7 @@ async function main() { logInfo`Written!`; } -if (isMain(import.meta.url)) { +if (isMain(import.meta.url) || path.basename(process.argv[1]) === 'hsmusic') { main() .catch((error) => { if (error instanceof AggregateError) { |