mirror of
https://github.com/delibae/claude-prism.git
synced 2026-10-10 03:27:52 +00:00
fix: fix postversion script newline and repair tauri.conf.json
This commit is contained in:
parent
fe1e5d8685
commit
1be93229da
2 changed files with 2 additions and 2 deletions
|
|
@ -30,7 +30,7 @@
|
|||
"version": true,
|
||||
"publish": false,
|
||||
"dependencies": ["claude-prism-desktop"],
|
||||
"postversion": "node -e \"const fs=require('fs');const p='src-tauri/tauri.conf.json';const c=JSON.parse(fs.readFileSync(p));const pkg=JSON.parse(fs.readFileSync('package.json'));c.version=pkg.version;fs.writeFileSync(p,JSON.stringify(c,null,2)+'\\n')\""
|
||||
"postversion": "node -e \"const fs=require('fs');const p='src-tauri/tauri.conf.json';const c=JSON.parse(fs.readFileSync(p));const pkg=JSON.parse(fs.readFileSync('package.json'));c.version=pkg.version;fs.writeFileSync(p,JSON.stringify(c,null,2)+String.fromCharCode(10))\""
|
||||
},
|
||||
"@claude-prism/root": {
|
||||
"path": ".",
|
||||
|
|
|
|||
|
|
@ -56,4 +56,4 @@
|
|||
}
|
||||
},
|
||||
"plugins": {}
|
||||
}n
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue