From 431c3b636bcbd9cd46c5dd90ca0f818a4ea50e1f Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 6 Dec 2022 17:04:57 -0400 Subject: nobody saw that --- src/upd8.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit 1.3.0-6-gf8a5