Skip to content

Commit

Permalink
test: add sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
jooy2 committed Nov 15, 2023
1 parent 429caf5 commit b02c262
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/app-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/preload/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`)
}
})

0 comments on commit b02c262

Please sign in to comment.