From 85acaf848dc186d687453138044cd97dc07ac289 Mon Sep 17 00:00:00 2001 From: zhaozg Date: Sun, 18 Jan 2026 23:23:01 +0800 Subject: [PATCH 1/2] ci: use macos-15-intel replace macos-13 --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 197c18d7..7de7727a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,7 +30,7 @@ jobs: strategy: fail-fast: false matrix: - os: [macos-13, macos-latest] + os: [macos-15-intel, macos-latest] build_type: [tiny, regular] lua_engine: [LuaJIT, Lua] env: @@ -166,7 +166,7 @@ jobs: - name: Build shell: msys2 {0} - run: mingw32-make + run: mingw32-make - name: Test shell: msys2 {0} @@ -287,4 +287,4 @@ jobs: if: startsWith(github.ref, 'refs/tags/') uses: softprops/action-gh-release@v2 with: - files: download/* \ No newline at end of file + files: download/* From 96cc7e0a3d26b07295101dfb54d02e3ab72c5c79 Mon Sep 17 00:00:00 2001 From: zhaozg Date: Mon, 19 Jan 2026 16:41:48 +0800 Subject: [PATCH 2/2] bump luv to 1.51.0-2 --- deps/luv | 2 +- src/lua/init.lua | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/deps/luv b/deps/luv index 7233e6de..79f69343 160000 --- a/deps/luv +++ b/deps/luv @@ -1 +1 @@ -Subproject commit 7233e6dea92498a244feb51b790c1ba51e8abbff +Subproject commit 79f6934306367e700050de9614eab9ac01bd4d6f diff --git a/src/lua/init.lua b/src/lua/init.lua index c8fd3e3a..72f7aac9 100644 --- a/src/lua/init.lua +++ b/src/lua/init.lua @@ -115,11 +115,12 @@ return function(args) for i = 1, #args do local arg = args[i] if arg == "--" then + local appArgsStart = i if #bundles == 0 then - i = i + 1 - bundles[1] = args[i] + appArgsStart = appArgsStart + 1 + bundles[1] = args[appArgsStart] end - for j = i + 1, #args do + for j = appArgsStart + 1, #args do appArgs[#appArgs + 1] = args[j] end break