| OLD | NEW |
| (Empty) |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 """Generates a mini_installer with a higher version than an existing one.""" | |
| 6 | |
| 7 import argparse | |
| 8 import subprocess | |
| 9 import sys | |
| 10 | |
| 11 | |
| 12 def main(): | |
| 13 parser = argparse.ArgumentParser() | |
| 14 parser.add_argument('--out', help='Path to the generated mini_installer.') | |
| 15 args = parser.parse_args() | |
| 16 assert args.out | |
| 17 | |
| 18 return subprocess.call([ | |
| 19 'alternate_version_generator.exe', | |
| 20 '--force', | |
| 21 '--out=' + args.out, | |
| 22 ]) | |
| 23 | |
| 24 | |
| 25 if '__main__' == __name__: | |
| 26 sys.exit(main()) | |
| OLD | NEW |