Hide PWA app from Spotlight
Reviewed By: LukeDefeo Differential Revision: D50411182 fbshipit-source-id: 46c089c69aefb58f85a861c7898ee355f094e03c
This commit is contained in:
committed by
Facebook GitHub Bot
parent
a8be443670
commit
aea77cc4da
@@ -58,6 +58,7 @@ import {flipperDataFolder, flipperSettingsFolder} from './utils/paths';
|
||||
import {DebuggableDevice} from './devices/DebuggableDevice';
|
||||
import {jfUpload} from './fb-stubs/jf';
|
||||
import path from 'path';
|
||||
import {movePWA} from './utils/findInstallation';
|
||||
|
||||
const {access, copyFile, mkdir, unlink, stat, readlink, readFile, writeFile} =
|
||||
promises;
|
||||
@@ -597,6 +598,9 @@ export class FlipperServerImpl implements FlipperServer {
|
||||
'environment-info': async () => {
|
||||
return this.config.environmentInfo;
|
||||
},
|
||||
'move-pwa': async () => {
|
||||
await movePWA();
|
||||
},
|
||||
};
|
||||
|
||||
registerDevice(device: ServerDevice) {
|
||||
|
||||
Reference in New Issue
Block a user