Skip to content

Commit 37d5d67

Browse files
authored
fix(build): for macos, cp only knows -L (#57)
1 parent 90bbfed commit 37d5d67

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ See: [lazy.nvim](https://github.com/folke/lazy.nvim)
7777
```lua
7878
{
7979
'mistweaverco/snap.nvim',
80-
version = 'v1.4.2',
80+
version = 'v1.4.3',
8181
---@type SnapUserConfig
8282
opts = {}
8383
},
@@ -93,7 +93,7 @@ See: [packer.nvim](https://github.com/wbthomason/packer.nvim)
9393
```lua
9494
use {
9595
'mistweaverco/snap.nvim',
96-
tag = 'v1.4.2',
96+
tag = 'v1.4.3',
9797
config = function()
9898

9999
---@type SnapUserConfig
@@ -112,7 +112,7 @@ use {
112112
```lua
113113
vim.pack.add({
114114
src = 'https://github.com/mistweaverco/snap.nvim.git',
115-
version = 'v1.4.2',
115+
version = 'v1.4.3',
116116
})
117117
---@type SnapUserConfig
118118
local cfg = {}
@@ -244,7 +244,7 @@ This would then translate to the following `font_settings`:
244244
```lua
245245
return {
246246
"mistweaverco/snap.nvim",
247-
version = 'v1.4.2',
247+
version = 'v1.4.3',
248248
---@type SnapUserConfig
249249
opts = {
250250
template = "linux",
@@ -373,7 +373,7 @@ by running `bun install` in the plugin directory.
373373
```lua
374374
{
375375
'mistweaverco/snap.nvim',
376-
version = 'v1.4.2',
376+
version = 'v1.4.3',
377377
opts = {
378378
timeout = 5000, -- Timeout for screenshot command in milliseconds
379379
log_level = "error", -- Log level for debugging (e.g., "trace", "debug", "info", "warn", "error", "off")
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
return "1.4.2"
1+
return "1.4.3"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
return "1.4.2"
1+
return "1.4.3"

scripts/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ echo " 📦 Copying playwright-core for runtime..."
137137
echo
138138
mkdir -p "dist/node_modules"
139139
if [ -d "backend/bun/node_modules/playwright-core" ]; then
140-
cp -R --dereference "backend/bun/node_modules/playwright-core" "dist/node_modules/" || {
140+
cp -R -L "backend/bun/node_modules/playwright-core" "dist/node_modules/" || {
141141
echo " ⚠️ Warning: Failed to copy playwright-core to dist"
142142
}
143143
echo " ✅ Copied playwright-core to dist/node_modules/"

0 commit comments

Comments
 (0)