fix(tauri.js) tauri icon with --icon flag, closes #750 (#774)

This commit is contained in:
Lucas Fernandes Nogueira 2020-07-09 10:26:26 -03:00 committed by GitHub
parent 26635845bf
commit 16d39b3c0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

5
.changes/tauri-icon.md Normal file
View File

@ -0,0 +1,5 @@
---
"tauri.js": patch
---
Fixes the `tauri icon` usage with the `--icon` flag. Previously, only the `-i` flag worked.

View File

@ -21,7 +21,7 @@ const argv = parseArgs(process.argv.slice(2), {
h: 'help',
l: 'log',
c: 'config',
s: 'source',
i: 'icon',
t: 'target'
},
boolean: ['h', 'l']