electron/spec/fixtures/api/locale-check/main.js
Cheng Zhao f9a1dc10fe
fix: quit after Chromium is fully started (#21488)
* fix: quit when chromium is fully started

* test: remove hacks on app.quit

* chore: RunUntilIdle is unnecessary
2019-12-13 18:57:02 +09:00

8 lines
141 B
JavaScript

const { app } = require('electron')
app.on('ready', () => {
process.stdout.write(app.getLocale())
process.stdout.end()
app.quit()
})