1diff --git a/app/src/main.ts b/app/src/main.ts
2index c82d914..e8542f3 100644
3--- a/app/src/main.ts
4+++ b/app/src/main.ts
5@@ -73,7 +73,7 @@ async function init(socket: WebSocket) {
6 const onListen: Deno.ServeOptions['onListen'] = ({ hostname, port }) => {
7 const serverUrl = `${hostname.replace('0.0.0.0', 'localhost')}:${port}`;
8 logger.info(`listening on ${serverUrl}`);
9- const webview = new Deno.Command('deno', {
10+ const webview = new Deno.Command('@deno@', {
11 cwd: dirname(fromFileUrl(Deno.mainModule)),
12 args: [
13 'run',
14diff --git a/lua/peek/app.lua b/lua/peek/app.lua
15index af5148e..5e67563 100644
16--- a/lua/peek/app.lua
17+++ b/lua/peek/app.lua
18@@ -38,10 +38,17 @@ function module.setup()
19 end
20
21 cmd = vim.list_extend({
22- 'deno',
23- 'task',
24- '--quiet',
25+ '@deno@',
26 'run',
27+ '--allow-read',
28+ '--allow-write',
29+ '--allow-net',
30+ '--allow-env',
31+ '--allow-run',
32+ '--no-check',
33+ '--allow-import',
34+ '--no-lock',
35+ '../../app/src/main.ts',
36 }, args)
37 end