MCPcopy
hub / github.com/agalwood/Motrix / sendFileToApplication

Method sendFileToApplication

src/main/Launcher.js:151–156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

149 }
150
151 sendFileToApplication () {
152 if (this.file && global.application && global.application.isReady) {
153 global.application.handleFile(this.file)
154 this.file = EMPTY_STRING
155 }
156 }
157
158 handelAppReady () {
159 app.on('ready', () => {

Callers 3

handleOpenFileMethod · 0.95
handleAppLaunchArgvMethod · 0.95
handelAppReadyMethod · 0.95

Calls 1

handleFileMethod · 0.80

Tested by

no test coverage detected