myfreeer / chrome-pak-customizer

a simple command-line tool to pack and unpack pak files in chrome or chromium-based browser
MIT License
205 stars 36 forks source link

Bugfix: start at argc 1 (skip executable) #9

Closed Niek closed 3 years ago

Niek commented 3 years ago

The current code starts counting at the executable path (argv position 0). This means that running /path/to/pak -u bla bla results in an error: cannot read pak file -u.

This PR fixes this behaviour by starting to count at position 1.