make it ignore error on removing icon

This commit is contained in:
merith-tk 2024-11-05 12:01:53 -08:00
parent 5c155aabdf
commit 82ff7a85e4

View file

@ -40,7 +40,7 @@ multimc: build
7z a .build/${PACKNAME}-multimc.zip ./* -r 7z a .build/${PACKNAME}-multimc.zip ./* -r
7z a .build/${PACKNAME}-multimc.zip ./.minecraft -r 7z a .build/${PACKNAME}-multimc.zip ./.minecraft -r
7z d .build/${PACKNAME}-multimc.zip ./.build ./.minecraft/mods ./.minecraft/pack.toml ./.minecraft/index.toml -r 7z d .build/${PACKNAME}-multimc.zip ./.build ./.minecraft/mods ./.minecraft/pack.toml ./.minecraft/index.toml -r
rm ./${ICONNAME}_icon.png -rm ./${ICONNAME}_icon.png
@sed -i 's#$(shell pw detect)#{PACKURL}#g' instance.cfg @sed -i 's#$(shell pw detect)#{PACKURL}#g' instance.cfg
@sed -i 's#${ICONNAME}#{ICONNAME}#g' instance.cfg @sed -i 's#${ICONNAME}#{ICONNAME}#g' instance.cfg