Search
Preparing search index...
The search index is not available
tabby-core
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
tabby-core
PlatformService
Class PlatformService
Abstract
Hierarchy
PlatformService
Index
Constructors
constructor
Properties
display
Metrics
Changed
file
Transfer
Started
supports
Window
Controls
theme
Changed
Accessors
display
Metrics
Changed$
file
Transfer
Started$
theme
Changed$
Methods
exec
get
App
Version
get
Config
Path
getOSRelease
get
Theme
get
WinSCPPath
install
Plugin
install
Shell
Integration
is
Process
Running
is
Shell
Integration
Installed
is
Shell
Integration
Supported
list
Fonts
load
Config
open
External
open
Path
pick
Directory
popup
Context
Menu
quit
read
Clipboard
save
Config
set
Clipboard
set
Error
Handler
show
Item
In
Folder
show
Message
Box
start
Download
start
Upload
start
Upload
Directory
start
Upload
From
Drag
Event
uninstall
Plugin
uninstall
Shell
Integration
Constructors
constructor
new
Platform
Service
(
)
:
PlatformService
Returns
PlatformService
Properties
Protected
display
Metrics
Changed
display
Metrics
Changed
:
Subject
<
void
>
= ...
Protected
file
Transfer
Started
file
Transfer
Started
:
Subject
<
FileTransfer
>
= ...
supports
Window
Controls
supports
Window
Controls
:
boolean
= false
Protected
theme
Changed
theme
Changed
:
Subject
<
PlatformTheme
>
= ...
Accessors
display
Metrics
Changed$
get
displayMetricsChanged$
(
)
:
Observable
<
void
>
Returns
Observable
<
void
>
file
Transfer
Started$
get
fileTransferStarted$
(
)
:
Observable
<
FileTransfer
>
Returns
Observable
<
FileTransfer
>
theme
Changed$
get
themeChanged$
(
)
:
Observable
<
PlatformTheme
>
Returns
Observable
<
PlatformTheme
>
Methods
exec
exec
(
app
:
string
, argv
:
string
[]
)
:
Promise
<
void
>
Parameters
app:
string
argv:
string
[]
Returns
Promise
<
void
>
Abstract
get
App
Version
get
App
Version
(
)
:
string
Returns
string
get
Config
Path
get
Config
Path
(
)
:
null
|
string
Returns
null
|
string
Abstract
getOSRelease
getOSRelease
(
)
:
string
Returns
string
get
Theme
get
Theme
(
)
:
PlatformTheme
Returns
PlatformTheme
get
WinSCPPath
get
WinSCPPath
(
)
:
null
|
string
Returns
null
|
string
install
Plugin
install
Plugin
(
name
:
string
, version
:
string
)
:
Promise
<
void
>
Parameters
name:
string
version:
string
Returns
Promise
<
void
>
install
Shell
Integration
install
Shell
Integration
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
is
Process
Running
is
Process
Running
(
name
:
string
)
:
Promise
<
boolean
>
Parameters
name:
string
Returns
Promise
<
boolean
>
is
Shell
Integration
Installed
is
Shell
Integration
Installed
(
)
:
Promise
<
boolean
>
Returns
Promise
<
boolean
>
is
Shell
Integration
Supported
is
Shell
Integration
Supported
(
)
:
boolean
Returns
boolean
Abstract
list
Fonts
list
Fonts
(
)
:
Promise
<
string
[]
>
Returns
Promise
<
string
[]
>
Abstract
load
Config
load
Config
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
Abstract
open
External
open
External
(
url
:
string
)
:
void
Parameters
url:
string
Returns
void
open
Path
open
Path
(
path
:
string
)
:
void
Parameters
path:
string
Returns
void
Abstract
pick
Directory
pick
Directory
(
)
:
Promise
<
string
>
Returns
Promise
<
string
>
Abstract
popup
Context
Menu
popup
Context
Menu
(
menu
:
MenuItemOptions
[]
, event
?:
MouseEvent
)
:
void
Parameters
menu:
MenuItemOptions
[]
Optional
event:
MouseEvent
Returns
void
Abstract
quit
quit
(
)
:
void
Returns
void
Abstract
read
Clipboard
read
Clipboard
(
)
:
string
Returns
string
Abstract
save
Config
save
Config
(
content
:
string
)
:
Promise
<
void
>
Parameters
content:
string
Returns
Promise
<
void
>
Abstract
set
Clipboard
set
Clipboard
(
content
:
ClipboardContent
)
:
void
Parameters
content:
ClipboardContent
Returns
void
Abstract
set
Error
Handler
set
Error
Handler
(
handler
:
(
(
_
:
any
)
=>
void
)
)
:
void
Parameters
handler:
(
(
_
:
any
)
=>
void
)
(
_
:
any
)
:
void
Parameters
_:
any
Returns
void
Returns
void
show
Item
In
Folder
show
Item
In
Folder
(
path
:
string
)
:
void
Parameters
path:
string
Returns
void
Abstract
show
Message
Box
show
Message
Box
(
options
:
MessageBoxOptions
)
:
Promise
<
MessageBoxResult
>
Parameters
options:
MessageBoxOptions
Returns
Promise
<
MessageBoxResult
>
Abstract
start
Download
start
Download
(
name
:
string
, mode
:
number
, size
:
number
)
:
Promise
<
null
|
FileDownload
>
Parameters
name:
string
mode:
number
size:
number
Returns
Promise
<
null
|
FileDownload
>
Abstract
start
Upload
start
Upload
(
options
?:
FileUploadOptions
)
:
Promise
<
FileUpload
[]
>
Parameters
Optional
options:
FileUploadOptions
Returns
Promise
<
FileUpload
[]
>
Abstract
start
Upload
Directory
start
Upload
Directory
(
paths
?:
string
[]
)
:
Promise
<
DirectoryUpload
>
Parameters
Optional
paths:
string
[]
Returns
Promise
<
DirectoryUpload
>
start
Upload
From
Drag
Event
start
Upload
From
Drag
Event
(
event
:
DragEvent
, multiple
?:
boolean
)
:
Promise
<
DirectoryUpload
>
Parameters
event:
DragEvent
multiple:
boolean
= false
Returns
Promise
<
DirectoryUpload
>
uninstall
Plugin
uninstall
Plugin
(
name
:
string
)
:
Promise
<
void
>
Parameters
name:
string
Returns
Promise
<
void
>
uninstall
Shell
Integration
uninstall
Shell
Integration
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Exports
Platform
Service
constructor
display
Metrics
Changed
file
Transfer
Started
supports
Window
Controls
theme
Changed
display
Metrics
Changed$
file
Transfer
Started$
theme
Changed$
exec
get
App
Version
get
Config
Path
getOSRelease
get
Theme
get
WinSCPPath
install
Plugin
install
Shell
Integration
is
Process
Running
is
Shell
Integration
Installed
is
Shell
Integration
Supported
list
Fonts
load
Config
open
External
open
Path
pick
Directory
popup
Context
Menu
quit
read
Clipboard
save
Config
set
Clipboard
set
Error
Handler
show
Item
In
Folder
show
Message
Box
start
Download
start
Upload
start
Upload
Directory
start
Upload
From
Drag
Event
uninstall
Plugin
uninstall
Shell
Integration
Generated using
TypeDoc