Allow flashing applets without parameters
This commit is contained in:
parent
88c978e898
commit
2a785ebb16
|
@ -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