Add exportFileBinary to FlipperLib
Reviewed By: antonk52 Differential Revision: D39692937 fbshipit-source-id: 7b3c78d004a9734cd8ae660d5782be1f02c00009
This commit is contained in:
committed by
Facebook GitHub Bot
parent
f3b7552338
commit
3314c77ce9
@@ -126,6 +126,7 @@ export interface RenderHost {
|
||||
showSelectDirectoryDialog?(defaultPath?: string): Promise<string | undefined>;
|
||||
importFile: FlipperLib['importFile'];
|
||||
exportFile: FlipperLib['exportFile'];
|
||||
exportFileBinary: FlipperLib['exportFileBinary'];
|
||||
hasFocus(): boolean;
|
||||
onIpcEvent<Event extends keyof MainProcessEvents>(
|
||||
event: Event,
|
||||
|
||||
@@ -36,6 +36,7 @@ export function baseFlipperLibImplementation(
|
||||
openLink: renderHost.openLink,
|
||||
importFile: renderHost.importFile,
|
||||
exportFile: renderHost.exportFile,
|
||||
exportFileBinary: renderHost.exportFileBinary,
|
||||
paths: {
|
||||
appPath: renderHost.serverConfig.paths.appPath,
|
||||
homePath: renderHost.serverConfig.paths.homePath,
|
||||
|
||||
Reference in New Issue
Block a user