$main_window.show_all
end
+c = ::Config::CONFIG
+if c['MAJOR'] == '1' && c['MINOR'] == '8' && c['TEENY'] == '4'
+ puts _("Ruby 1.8.4 was detected. This version has a severely broken REXML library. Please downgrade or upgrade ruby to a different version.")
+ exit(1)
+end
+
Thread.abort_on_exception = true
handle_options
if images.size > 0
captions4js = find_captions(xmldir, images).collect { |e| e ? '"' + e.gsub('"', '\"') + '"' : '""' }.join(', ')
thumbnailspage4js = image2thumbnailpage4js.collect { |e| "\"#{e}\"" }.join(', ')
-
+ exifs = images.collect { |i|
+ utf8(`identify -format "%[EXIF:*]" #{fullpath}`.sub(/MakerNote.*\n/, '')),
+ }
for sizeobj in $images_size
html = $html_images.collect { |l| l.clone }
images4js = fullscreen_images[sizeobj['name']].collect { |e| "\"#{e}\"" }.join(', ')
msg 3, _(" all done.")
end
+c = ::Config::CONFIG
+if c['MAJOR'] == '1' && c['MINOR'] == '8' && c['TEENY'] == '4'
+ puts _("Ruby 1.8.4 was detected. This version has a severely broken REXML library. Please downgrade or upgrade ruby to a different version.")
+ exit(1)
+end
+
handle_options
read_config
check_installation