49
47
[ # base name extension file type desc, icons
50
48
[$ruby_name, CONFIG["EXEEXT"], 'VFT_APP', 'CUI', ruby_icon],
51
49
[$rubyw_name, CONFIG["EXEEXT"], 'VFT_APP', 'GUI', rubyw_icon || ruby_icon],
52
[$so_name, '.dll', 'VFT_DLL', 'DLL', dll_icons],
53
].each do |base, ext, type, desc, icons|
50
[$so_name, '.dll', 'VFT_DLL', 'DLL', dll_icons.join],
51
].each do |base, ext, type, desc, icon|
54
52
open(base + '.rc', "w") { |f|
55
53
f.binmode if /mingw/ =~ RUBY_PLATFORM