lib/command/update.rb in narou-2.8.3.1 vs lib/command/update.rb in narou-2.9.0
- old
+ new
@@ -333,11 +333,10 @@
display_inspector = false
ignore_force = false
ignore_default = false
converted_text_array = []
- use_dakuten_font = false
Helper.print_horizontal_rule
puts "hotentry の変換を開始"
subtitles_size = hotentry.inject(0) { |sum, (_, subtitles)| subtitles.size + sum }
@@ -357,11 +356,10 @@
end
converted_text_array << {
setting: setting,
text: novel_converter.convert_main_for_novel(subtitles, true)
}
- use_dakuten_font |= novel_converter.use_dakuten_font
total_progress += last_num + 1
end
ensure
progressbar.clear
@@ -378,10 +376,9 @@
create_inclusive_directory(txt_output_path)
File.write(txt_output_path, hotentry_text)
# テキストを書籍データに変換
relay_proc = -> {
NovelConverter.convert_txt_to_ebook_file(txt_output_path, {
- use_dakuten_font: use_dakuten_font,
device: device
})
}
if device
cmd_convert.extend(device.get_hook_module)