Sha256: c3dd8a5611ee1b7adaaccfca7f558a8077e85119580e140e85951ad86762af73

Contents?: true

Size: 938 Bytes

Versions: 16

Compression:

Stored size: 938 Bytes

Contents

# encoding: utf-8
require 'os'

module Libis
  module Format

    # noinspection RubyConstantNamingConvention
    Config = ::Libis::Tools::Config

    Config[:converter_chain_max_level] = 8

    Config[:java_path] = 'java'
    Config[:soffice_path] = 'soffice'
    Config[:ghostscript_path] = 'gs'
    # Config[:pdfa_path] =
    #     File.absolute_path(
    #         File.join(
    #             File.dirname(__FILE__), '..', '..', '..', 'tools', 'pdf', 'pdfa', 'pdfa'
    #         )
    #     )
    Config[:droid_path] =
        File.absolute_path(
            File.join(
                File.dirname(__FILE__), '..', '..', '..', 'tools', 'droid', OS.windows? ? 'droid.bat' : 'droid.sh'
            )
        )
    Config[:fido_path] =
        File.absolute_path(
            File.join(
                File.dirname(__FILE__), '..', '..', '..', 'tools', 'fido', OS.windows? ? 'fido.bat' : 'fido.sh'
            )
        )

  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
libis-format-0.9.20 lib/libis/format/config.rb
libis-format-0.9.19 lib/libis/format/config.rb
libis-format-0.9.18 lib/libis/format/config.rb
libis-format-0.9.17 lib/libis/format/config.rb
libis-format-0.9.16 lib/libis/format/config.rb
libis-format-0.9.15 lib/libis/format/config.rb
libis-format-0.9.13 lib/libis/format/config.rb
libis-format-0.9.12 lib/libis/format/config.rb
libis-format-0.9.11 lib/libis/format/config.rb
libis-format-0.9.10 lib/libis/format/config.rb
libis-format-0.9.8 lib/libis/format/config.rb
libis-format-0.9.7 lib/libis/format/config.rb
libis-format-0.9.6 lib/libis/format/config.rb
libis-format-0.9.5-java lib/libis/format/config.rb
libis-format-0.9.4 lib/libis/format/config.rb
libis-format-0.9.3 lib/libis/format/config.rb