rea-agents
Preparing search index...
application/MacHopper
MacHopperInstallHost
Interface MacHopperInstallHost
External effects used by the bounded macOS Hopper installer.
interface
MacHopperInstallHost
{
appBundle
(
mountPath
:
string
)
:
Promise
<
string
|
undefined
>
;
cleanup
(
path
:
string
)
:
Promise
<
void
>
;
createMountDirectory
(
path
:
string
)
:
Promise
<
void
>
;
createTemporaryDirectory
()
:
Promise
<
string
>
;
destination
()
:
string
;
destinationExists
(
path
:
string
)
:
Promise
<
boolean
>
;
download
(
url
:
string
)
:
Promise
<
{
bytes
:
Uint8Array
;
ok
:
boolean
}
>
;
installBundle
(
source
:
string
,
destination
:
string
,
stage
:
string
,
replaceExisting
:
boolean
,
)
:
Promise
<
boolean
>
;
launcherReady
(
path
:
string
)
:
Promise
<
boolean
>
;
mount
(
packagePath
:
string
,
mountPath
:
string
)
:
Promise
<
boolean
>
;
openApplication
(
path
:
string
)
:
Promise
<
void
>
;
unmount
(
mountPath
:
string
)
:
Promise
<
void
>
;
validBundle
(
appPath
:
string
)
:
Promise
<
boolean
>
;
writePackage
(
path
:
string
,
bytes
:
Uint8Array
)
:
Promise
<
void
>
;
}
Index
Methods
app
Bundle
cleanup
create
Mount
Directory
create
Temporary
Directory
destination
destination
Exists
download
install
Bundle
launcher
Ready
mount
open
Application
unmount
valid
Bundle
write
Package
Methods
app
Bundle
appBundle
(
mountPath
:
string
)
:
Promise
<
string
|
undefined
>
Parameters
mountPath
:
string
Returns
Promise
<
string
|
undefined
>
cleanup
cleanup
(
path
:
string
)
:
Promise
<
void
>
Parameters
path
:
string
Returns
Promise
<
void
>
create
Mount
Directory
createMountDirectory
(
path
:
string
)
:
Promise
<
void
>
Parameters
path
:
string
Returns
Promise
<
void
>
create
Temporary
Directory
createTemporaryDirectory
()
:
Promise
<
string
>
Returns
Promise
<
string
>
destination
destination
()
:
string
Returns
string
destination
Exists
destinationExists
(
path
:
string
)
:
Promise
<
boolean
>
Parameters
path
:
string
Returns
Promise
<
boolean
>
download
download
(
url
:
string
)
:
Promise
<
{
bytes
:
Uint8Array
;
ok
:
boolean
}
>
Parameters
url
:
string
Returns
Promise
<
{
bytes
:
Uint8Array
;
ok
:
boolean
}
>
install
Bundle
installBundle
(
source
:
string
,
destination
:
string
,
stage
:
string
,
replaceExisting
:
boolean
,
)
:
Promise
<
boolean
>
Parameters
source
:
string
destination
:
string
stage
:
string
replaceExisting
:
boolean
Returns
Promise
<
boolean
>
launcher
Ready
launcherReady
(
path
:
string
)
:
Promise
<
boolean
>
Parameters
path
:
string
Returns
Promise
<
boolean
>
mount
mount
(
packagePath
:
string
,
mountPath
:
string
)
:
Promise
<
boolean
>
Parameters
packagePath
:
string
mountPath
:
string
Returns
Promise
<
boolean
>
open
Application
openApplication
(
path
:
string
)
:
Promise
<
void
>
Parameters
path
:
string
Returns
Promise
<
void
>
unmount
unmount
(
mountPath
:
string
)
:
Promise
<
void
>
Parameters
mountPath
:
string
Returns
Promise
<
void
>
valid
Bundle
validBundle
(
appPath
:
string
)
:
Promise
<
boolean
>
Parameters
appPath
:
string
Returns
Promise
<
boolean
>
write
Package
writePackage
(
path
:
string
,
bytes
:
Uint8Array
)
:
Promise
<
void
>
Parameters
path
:
string
bytes
:
Uint8Array
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Methods
app
Bundle
cleanup
create
Mount
Directory
create
Temporary
Directory
destination
destination
Exists
download
install
Bundle
launcher
Ready
mount
open
Application
unmount
valid
Bundle
write
Package
rea-agents
Loading...
External effects used by the bounded macOS Hopper installer.