Skip to content

Commit

Permalink
Merge pull request #1446 from flexn-io/fix/linux_launch_webos_sim
Browse files Browse the repository at this point in the history
[webos] simulator fails to be launched on linux system
  • Loading branch information
Marius456 committed Mar 8, 2024
2 parents bf566a4 + 030a1c7 commit d5022bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/sdk-webos/src/deviceManager.ts
Expand Up @@ -72,11 +72,11 @@ export const launchWebOSimulator = async (c: RnvContext, target: string | boolea
if (!fsExistsSync(ePath)) {
return Promise.reject(`Can't find simulator at path: ${ePath}`);
}
if (isSystemWin) {
return executeAsync(c, ePath, { detached: true, stdio: 'ignore' });
if (isSystemWin || isSystemLinux) {
return executeAsync(c, ePath, ExecOptionsPresets.SPINNER_FULL_ERROR_SUMMARY);
}

await executeAsync(c, `${openCommand} ${ePath}`, { detached: true });
await executeAsync(c, `${openCommand} ${ePath}`, ExecOptionsPresets.FIRE_AND_FORGET);
logSuccess(`Succesfully launched ${target}`);
return true;
};
Expand Down

0 comments on commit d5022bd

Please sign in to comment.