Use the 16x16 icon for the Win32 icon
This commit is contained in:
parent
572383370f
commit
ff104135de
1 changed files with 2 additions and 2 deletions
4
wscript
4
wscript
|
@ -346,7 +346,7 @@ def build (bld):
|
||||||
infile = task.inputs[0].abspath (task.env)
|
infile = task.inputs[0].abspath (task.env)
|
||||||
outfile = task.outputs[0].abspath (task.env)
|
outfile = task.outputs[0].abspath (task.env)
|
||||||
command = bld.env['CONVERT'] + ' -background transparent \
|
command = bld.env['CONVERT'] + ' -background transparent \
|
||||||
-geometry 32x32 -extent 32x32 ' + \
|
-geometry 16x16 -extent 16x16 ' + \
|
||||||
infile + ' ' + outfile
|
infile + ' ' + outfile
|
||||||
if Utils.exec_command (command):
|
if Utils.exec_command (command):
|
||||||
return 1
|
return 1
|
||||||
|
@ -358,7 +358,7 @@ def build (bld):
|
||||||
if bld.env['WINRC']:
|
if bld.env['WINRC']:
|
||||||
obj = bld.new_task_gen ('copy',
|
obj = bld.new_task_gen ('copy',
|
||||||
fun = image_to_win32ico,
|
fun = image_to_win32ico,
|
||||||
source = 'icons/scalable/midori.svg',
|
source = 'icons/16x16/midori.png',
|
||||||
target = 'data/midori.ico',
|
target = 'data/midori.ico',
|
||||||
before = 'cc')
|
before = 'cc')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue