fix: fix postversion script newline and repair tauri.conf.json

This commit is contained in:
delibae 2026-03-10 21:22:13 +09:00
parent fe1e5d8685
commit 1be93229da
2 changed files with 2 additions and 2 deletions

View file

@ -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": ".",

View file

@ -56,4 +56,4 @@
}
},
"plugins": {}
}n
}