Completing UTs
This commit is contained in:
parent
0b7e7458c9
commit
e546820a4a
3 changed files with 15 additions and 23 deletions
|
@ -1,3 +1,8 @@
|
|||
process.once('loaded', function () {
|
||||
window.argv = process.argv
|
||||
})
|
||||
const { ipcRenderer } = require('electron')
|
||||
if (process) {
|
||||
process.once('loaded', function () {
|
||||
ipcRenderer.send('processArgs', process.argv)
|
||||
})
|
||||
} else {
|
||||
ipcRenderer.send('processArgs', 'unable to get process args')
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue