From 17d427048c7e4b06fd014b881d51fcee76c61558 Mon Sep 17 00:00:00 2001 From: skykooler Date: Wed, 18 Dec 2024 23:20:55 -0500 Subject: [PATCH] stop using macos sed syntax --- .github/workflows/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1cd4f52..df7aa5c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -51,8 +51,7 @@ jobs: # Copy tauri.conf.json to tauri.windows.conf.json and substitute version number for Windows cp src-tauri/tauri.conf.json src-tauri/tauri.windows.conf.json - # Use sed with an empty argument for in-place editing to ensure compatibility - sed -i '' "s/\"version\": \".*\"/\"version\": \"${WINDOWS_VERSION}\"/" src-tauri/tauri.windows.conf.json + sed -i "s/\"version\": \".*\"/\"version\": \"${WINDOWS_VERSION}\"/" src-tauri/tauri.windows.conf.json