build: remove enable_run_as_node build flag (#38413)

* feat: remove enable_run_as_node flag

* drop features.isRunAsNodeEnabled()

* use IsEnvSet() helper in electron_main_linux.cc

* cleanup [[maybe_unused]]

---------

Co-authored-by: Milan Burda <miburda@microsoft.com>
This commit is contained in:
Milan Burda
2023-06-08 22:40:08 +02:00
committed by GitHub
parent 806f00285c
commit 05d39d8313
18 changed files with 29 additions and 96 deletions

View File

@@ -7,7 +7,6 @@ declare namespace NodeJS {
isBuiltinSpellCheckerEnabled(): boolean;
isOffscreenRenderingEnabled(): boolean;
isPDFViewerEnabled(): boolean;
isRunAsNodeEnabled(): boolean;
isFakeLocationProviderEnabled(): boolean;
isViewApiEnabled(): boolean;
isPrintingEnabled(): boolean;