Class: Releasy::Builders::WindowsStandalone

Inherits:
OcraBuilder show all
Defined in:
lib/releasy/builders/windows_standalone.rb

Overview

Note:

Startup of the executable created by this build takes a couple of seconds longer than running from the other windows builds, as the files are extracted into a temporary directory each time it is run. It is recommended to build with :windows_folder or :windows_installer instead of this, unless you really need to distribute the application as a single file.

Creates a completely standalone Windows executable.

Examples:

Releasy::Project.new do
  name "My App"
  add_build :windows_standalone do
    icon "media/icon.ico"  # Optional
    exclude_encoding       # Optional
    add_package :zip       # Optional
  end
end

Constant Summary collapse

TYPE =
:windows_standalone
DEFAULT_FOLDER_SUFFIX =
"WIN32_EXE"

Constants inherited from OcraBuilder

OcraBuilder::ICON_EXTENSION, OcraBuilder::OCRA_COMMAND

Constants inherited from WindowsBuilder

Releasy::Builders::WindowsBuilder::EXECUTABLE_TYPES

Constants included from Mixins::Log

Mixins::Log::DEFAULT_LOG_LEVEL, Mixins::Log::LOG_LEVELS

Instance Attribute Summary

Attributes inherited from OcraBuilder

#icon, #ocra_parameters

Attributes inherited from WindowsBuilder

#executable_type, #icon

Attributes inherited from Builder

#project, #suffix

Method Summary

Methods inherited from OcraBuilder

#valid_for_platform?

Methods inherited from WindowsBuilder

#effective_executable_type

Methods included from Mixins::CanExcludeEncoding

#exclude_encoding

Methods inherited from Builder

#initialize, #type, #valid_for_platform?

Methods included from Mixins::Log

log_level, log_level=

Methods included from Mixins::HasPackagers

#add_package

Constructor Details

This class inherits a constructor from Releasy::Builders::Builder