From b0bf35e382e327795e196d2a413946625af259b2 Mon Sep 17 00:00:00 2001 From: Hexagon Date: Wed, 30 Oct 2024 21:06:47 +0100 Subject: [PATCH] Another windows fix --- deno.json | 2 +- lib/managers/windows.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deno.json b/deno.json index c6e03ba..659e092 100644 --- a/deno.json +++ b/deno.json @@ -1,6 +1,6 @@ { "name": "@cross/service", - "version": "1.0.4", + "version": "1.0.5", "fmt": { "lineWidth": 200 }, diff --git a/lib/managers/windows.ts b/lib/managers/windows.ts index 48e9a2e..e53929d 100644 --- a/lib/managers/windows.ts +++ b/lib/managers/windows.ts @@ -149,7 +149,7 @@ class WindowsService { } } - batchFileContent += `deno run --allow-ffi --unstable https://deno.land/x/windows_service@1.0.11/run.ts --serviceName ${options.name} -- ${options.cmd}\n`; + batchFileContent += `deno run -A --unstable https://deno.land/x/windows_service@1.0.11/run.ts --serviceName ${options.name} -- ${options.cmd}\n`; await true; return batchFileContent;