fix export logic (#3769)
* fix export logic Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> * fixes Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com>
This commit is contained in:
@ -14,7 +14,7 @@ const save_ = async (file: ModelingAppFile) => {
|
||||
extensions.push(extension)
|
||||
}
|
||||
|
||||
if (!(window as any).playwrightSkipFilePicker) {
|
||||
if (window.electron.process.env.IS_PLAYWRIGHT) {
|
||||
// skip file picker, save to default location
|
||||
await window.electron.writeFile(
|
||||
file.name,
|
||||
|
Reference in New Issue
Block a user