CompiledExecutable class

A compiled executable, optionally backed by a hidden application bundle.

Constructors

CompiledExecutable(String pathToExe, {bool hasBundle = false, bool isPacked = false})
Creates a compilation result.

Properties

hasBundle → bool
Whether the executable needs a hidden bundle beside it.
final
hashCode → int
The hash code for this object.
no setterinherited
isPacked → bool
Whether this executable contains a compressed bundle extracted at runtime.
final
pathToBundle → String?
The bundle beside this executable, or null for standalone executables.
no setter
pathToExe → String
The public executable (a native launcher when hasBundle is true).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

install(String destination, {bool overwrite = false}) → CompiledExecutable
Moves the executable and its entire bundle to destination.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
report({LineAction output = print}) → void
Reports the final locations of the executable and every bundled file.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

bundlePath(String executable) → String
The hidden bundle location for an executable.