chore(version): 0.9.1
This commit is contained in:
parent
6b7ba35183
commit
7d54f9b4fa
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "CherryStudio",
|
"name": "CherryStudio",
|
||||||
"version": "0.9.0",
|
"version": "0.9.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"description": "A powerful AI assistant for producer.",
|
"description": "A powerful AI assistant for producer.",
|
||||||
"main": "./out/main/index.js",
|
"main": "./out/main/index.js",
|
||||||
|
|||||||
@ -18,20 +18,13 @@ exports.default = async function (context) {
|
|||||||
'node_modules'
|
'node_modules'
|
||||||
)
|
)
|
||||||
|
|
||||||
removeDifferentArchNodeFiles(
|
removeDifferentArchNodeFiles(node_modules_path, '@libsql', arch === Arch.arm64 ? ['darwin-arm64'] : ['darwin-x64'])
|
||||||
node_modules_path,
|
|
||||||
'@lancedb',
|
|
||||||
arch === Arch.arm64 ? ['lancedb-darwin-arm64'] : ['lancedb-darwin-x64']
|
|
||||||
)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (platform === 'linux') {
|
if (platform === 'linux') {
|
||||||
const node_modules_path = path.join(context.appOutDir, 'resources', 'app.asar.unpacked', 'node_modules')
|
const node_modules_path = path.join(context.appOutDir, 'resources', 'app.asar.unpacked', 'node_modules')
|
||||||
const _arch =
|
const _arch = arch === Arch.arm64 ? ['linux-arm64-gnu', 'linux-arm64-musl'] : ['linux-x64-gnu', 'linux-x64-musl']
|
||||||
arch === Arch.arm64
|
removeDifferentArchNodeFiles(node_modules_path, '@libsql', _arch)
|
||||||
? ['lancedb-linux-arm64-gnu', 'lancedb-linux-arm64-musl']
|
|
||||||
: ['lancedb-linux-x64-gnu', 'lancedb-linux-x64-musl']
|
|
||||||
removeDifferentArchNodeFiles(node_modules_path, '@lancedb', _arch)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user