日本語の情報が見つからなかったのでメモ
process.type
を見ることで判別できる。browserならメインプロセス、rendererならレンダラープロセスとなる
http://electron.atom.io/docs/api/process/#processtype
More than 5 years have passed since last update.
ElectronでRenderer processかMain processかを判別する
Last updated at Posted at 2015-10-11
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
List of users who liked
89