diff options
Diffstat (limited to 'meson/test cases/windows/12 resources with custom targets/res/gen-res.py')
-rwxr-xr-x | meson/test cases/windows/12 resources with custom targets/res/gen-res.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meson/test cases/windows/12 resources with custom targets/res/gen-res.py b/meson/test cases/windows/12 resources with custom targets/res/gen-res.py new file mode 100755 index 000000000..e5ef6b108 --- /dev/null +++ b/meson/test cases/windows/12 resources with custom targets/res/gen-res.py @@ -0,0 +1,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])) |