mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-24 19:56:37 +00:00
Fix imports in lib/start.ts
Change-type: patch
This commit is contained in:
parent
94d262263c
commit
93d319275f
@ -21,7 +21,9 @@
|
||||
// if passing `ELECTRON_RUN_AS_NODE`, you have to pass the path to the asar
|
||||
// or the entry point file (this file) manually as an argument.
|
||||
|
||||
if (process.env.ELECTRON_RUN_AS_NODE) {
|
||||
import { env } from 'process';
|
||||
|
||||
if (env.ELECTRON_RUN_AS_NODE) {
|
||||
import('./gui/modules/child-writer');
|
||||
} else {
|
||||
import('./gui/etcher');
|
||||
|
Loading…
x
Reference in New Issue
Block a user