From 1e96649593cacb866835c684ef4a2f53f2896513 Mon Sep 17 00:00:00 2001 From: Travis Shears Date: Sat, 13 Jul 2024 14:55:56 +0200 Subject: [PATCH] Update run script to accept filename --- run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/run.sh b/run.sh index a0bd93c..0710000 100755 --- a/run.sh +++ b/run.sh @@ -1,4 +1,6 @@ #!/bin/sh +filename="${1%.*}" +rom_filename="${filename}.rom" -../uxn/bin/uxnasm 99_bottles.tal 99_bottles.rom && ../uxn/bin/uxncli 99_bottles.rom \ No newline at end of file +../uxn/bin/uxnasm $1 $rom_filename && ../uxn/bin/uxncli $rom_filename