test: add sudo

This commit is contained in:
leejooy96 committed 2023-11-15 09:13:26 +09:00
1 parent 429caf571f
commit b02c262095
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -32,7 +32,7 @@ jobs:
- name: Install xvfb - name: Install xvfb
if: runner.os == 'Linux' if: runner.os == 'Linux'
run: | run: |
apt install -y -q --no-install-recommends xvfb sudo apt install -y -q --no-install-recommends xvfb
- name: Setup NodeJS ${{ matrix.node_version }} - name: Setup NodeJS ${{ matrix.node_version }}
uses: actions/setup-node@v3 uses: actions/setup-node@v3
+1
View File
@@ -24,6 +24,7 @@ contextBridge.exposeInMainWorld('mainApi', {
const result = await ipcRenderer.invoke.apply(null, [channel, ...data]) const result = await ipcRenderer.invoke.apply(null, [channel, ...data])
return result return result
} }
throw new Error(`Invoke failed: Unknown ipc channel name: ${channel}`) throw new Error(`Invoke failed: Unknown ipc channel name: ${channel}`)
} }
}) })