Allow flashing applets without parameters
This commit is contained in:
parent
88c978e898
commit
2a785ebb16
1 changed files with 6 additions and 1 deletions
|
@ -2,4 +2,9 @@ CALL %~dp0setup.cmd
|
|||
CALL %~dp0compile.cmd
|
||||
|
||||
:: "-f" forces overwriting old versions of the package
|
||||
gp --install %~dp0..\%PACKAGE%\javacard\%PACKAGE%.cap --params %PARAMS% -f
|
||||
|
||||
IF [%PARAMS%]==[] (
|
||||
gp -f --install %~dp0..\%PACKAGE%\javacard\%PACKAGE%.cap
|
||||
) ELSE (
|
||||
gp -f --install %~dp0..\%PACKAGE%\javacard\%PACKAGE%.cap --params %PARAMS%
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue