Fix uninstaller zip

This commit is contained in:
topjohnwu 2020-12-26 22:45:05 -08:00
parent f983bfc883
commit 622dd84c9e

View File

@ -520,7 +520,10 @@ def zip_uninstaller(args):
# chromeos
for tool in ['futility', 'kernel_data_key.vbprivk', 'kernel.keyblock']:
source = op.join('tools', tool)
if tool == 'futility':
source = op.join('tools', tool)
else:
source = op.join('tools', 'keys', tool)
target = op.join('chromeos', tool)
zip_with_msg(zipf, source, target)