aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/windows/12 resources with custom targets/res/gen-res.py
blob: e5ef6b108d9a6afbf8e4c14df282901ac46571ec (plain)
1
2
3
4
5
6
#!/usr/bin/env python3

import sys

with open(sys.argv[1]) as infile, open(sys.argv[2], 'w') as outfile:
    outfile.write(infile.read().format(icon=sys.argv[3]))