make Platform.exec async

This commit is contained in:
Eugene Pankov
2022-09-27 23:07:26 +02:00
parent 4564b451c8
commit ef1366ef7f
2 changed files with 3 additions and 3 deletions

View File

@@ -80,8 +80,8 @@ export class ElectronPlatformService extends PlatformService {
return null
}
exec (app: string, argv: string[]): void {
execFile(app, argv)
async exec (app: string, argv: string[]): Promise<void> {
await execFile(app, argv)
}
isShellIntegrationSupported (): boolean {