Skip to content

Commit

Permalink
v0.2.0 (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
emmercm authored Sep 23, 2022
1 parent 7097276 commit cde8a32
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down Expand Up @@ -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
| $$ \ \$$ $$| $$ \| $$ | $$
\$$$$$$ \$$$$$$ \$$$$$$ \$$ \$$
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
6 changes: 3 additions & 3 deletions scripts/asciinema-rec.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/modules/romWriter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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())];
Expand Down

0 comments on commit cde8a32

Please sign in to comment.