mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2024-12-21 09:33:59 +03:00
b2c072cf0b
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
19 lines
335 B
Python
19 lines
335 B
Python
#!/usr/bin/python3
|
|
|
|
import sys
|
|
import subprocess
|
|
|
|
windres = sys.argv[1]
|
|
icondir = sys.argv[2]
|
|
manifestdir = sys.argv[3]
|
|
rcfile = sys.argv[4]
|
|
objfile = sys.argv[5]
|
|
|
|
subprocess.check_call([
|
|
windres,
|
|
"-DICONDIR=\\\"" + icondir + "\\\"",
|
|
"-DMANIFESTDIR=\\\"" + manifestdir + "\\\"",
|
|
"-i", rcfile,
|
|
"-o", objfile,
|
|
])
|