class EL_INSTALLER_CONSTANTS

(source code)

Description

Installer constants

note
	description: "Installer constants"

	author: "Finnian Reilly"
	copyright: "Copyright (c) 2001-2017 Finnian Reilly"
	contact: "finnian at eiffel hyphen loop dot com"

	license: "MIT license (See: en.wikipedia.org/wiki/MIT_License)"
	date: "2020-09-13 11:35:06 GMT (Sunday 13th September 2020)"
	revision: "9"

deferred class
	EL_INSTALLER_CONSTANTS

inherit
	EL_MODULE_EXECUTABLE

feature {NONE} -- Constants

	Package_dir: EL_DIR_PATH
		once
			if Executable.is_work_bench then
				Result := "build/$ISE_PLATFORM/package"; Result.expand
					-- Eg. "build/win64/package"
			else
				-- This is assumed to be the directory 'package/bin' unpacked by installer to a temporary directory
				Result := Executable.parent_dir.parent
			end
		end

end