From cde8a32131b268684f794e645137b3fcdf0cc553 Mon Sep 17 00:00:00 2001 From: Christian Emmer Date: Thu, 22 Sep 2022 20:42:22 -0700 Subject: [PATCH] v0.2.0 (#74) --- README.md | 4 ++-- package-lock.json | 4 ++-- package.json | 2 +- scripts/asciinema-rec.sh | 6 +++--- src/modules/romWriter.ts | 1 + 5 files changed, 9 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 2ba08618c..49156f66f 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ A video of an example use case: -[![asciicast](https://asciinema.org/a/u1jeLTaSanO3mGzBb5b1jgxCy.svg)](https://asciinema.org/a/u1jeLTaSanO3mGzBb5b1jgxCy) +[![asciicast](https://asciinema.org/a/iTnSVX8VTLSZNcCMFtqy5T9Mo.svg)](https://asciinema.org/a/iTnSVX8VTLSZNcCMFtqy5T9Mo) With a large ROM collection it can be difficult to: @@ -63,7 +63,7 @@ Here is the full `igir --help` message which shows all available options and a n | $$ | $$ __\$$ | $$ | $$__| $$ | $$ | $$| \ | $$ | $$ $$ ROM collection manager | $$ | $$ \$$$$ | $$ | $$$$$$$\ - _| $$_ | $$__| $$ _| $$_ | $$ | $$ v0.1.0 + _| $$_ | $$__| $$ _| $$_ | $$ | $$ v0.2.0 | $$ \ \$$ $$| $$ \| $$ | $$ \$$$$$$ \$$$$$$ \$$$$$$ \$$ \$$ diff --git a/package-lock.json b/package-lock.json index 2fe326aba..76d57d2a9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "igir", - "version": "0.1.0", + "version": "0.2.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "igir", - "version": "0.1.0", + "version": "0.2.0", "license": "GPL-3.0-or-later", "dependencies": { "7zip-min": "^1.4.3", diff --git a/package.json b/package.json index 1c2f097dc..2e71446f0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "igir", - "version": "0.1.0", + "version": "0.2.0", "description": "A ROM collection manager designed to make one game, one rom (1G1R) sets.", "keywords": [ "1g1r", diff --git a/scripts/asciinema-rec.sh b/scripts/asciinema-rec.sh index 85d29693d..c66dc62a1 100755 --- a/scripts/asciinema-rec.sh +++ b/scripts/asciinema-rec.sh @@ -5,7 +5,7 @@ set -euo pipefail if [[ "${1:-}" == "play" ]]; then . demo-magic.sh - TYPE_SPEED=10 + TYPE_SPEED=15 DEMO_PROMPT="$ " DEMO_CMD_COLOR="\033[1;37m" DEMO_COMMENT_COLOR="\033[0;90m" @@ -16,8 +16,8 @@ if [[ "${1:-}" == "play" ]]; then alias npx="npm exec -- ." # BEGIN PLAYBACK - # ts-node ./index.ts copy clean report -d dats/ -i GB/ -o roms/ -D - pei "npx igir@latest copy zip report --dat dats/ --input roms/ --output roms-sorted/ --only-retail" + # ts-node ./index.ts copy clean -d dats/ -i GB/ -o roms/ -D + pei "npx igir@latest copy zip report --dat dats/ --input roms/ --output roms-sorted/ --dir-dat-name --only-retail" # END PLAYBACK exit 0 diff --git a/src/modules/romWriter.ts b/src/modules/romWriter.ts index aa11527c0..7c9f5ce15 100644 --- a/src/modules/romWriter.ts +++ b/src/modules/romWriter.ts @@ -182,6 +182,7 @@ export default class ROMWriter { } // If the zip is already what we're expecting, do nothing + // TODO(cemmer): change this to a condition around the write, let it still delete moved files if (await ROMWriter.testZipContents(outputZipArchive, inputToOutputZipEntries)) { await this.progressBar.logDebug(`${outputZipArchive.getFilePath()}: same file, skipping`); return [new File(outputZipArchive.getFilePath())];