test: add sudo
This commit is contained in:
1 parent
429caf571f
commit
b02c262095
2 files changed
+2
-1
No files matched your search
@@ -32,7 +32,7 @@ jobs:
|
||||
- name: Install xvfb
|
||||
if: runner.os == 'Linux'
|
||||
run: |
|
||||
apt install -y -q --no-install-recommends xvfb
|
||||
sudo apt install -y -q --no-install-recommends xvfb
|
||||
|
||||
- name: Setup NodeJS ${{ matrix.node_version }}
|
||||
uses: actions/setup-node@v3
|
||||
|
||||
@@ -24,6 +24,7 @@ contextBridge.exposeInMainWorld('mainApi', {
|
||||
const result = await ipcRenderer.invoke.apply(null, [channel, ...data])
|
||||
return result
|
||||
}
|
||||
|
||||
throw new Error(`Invoke failed: Unknown ipc channel name: ${channel}`)
|
||||
}
|
||||
})
|
||||
Reference in new issue
Block a user