mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
build(win): unpack libsql native bindings in ASAR
Add an asarUnpack rule for node_modules/@libsql/** so native bindings are not embedded in the ASAR archive. This ensures libsql's native modules are available at runtime for the Electron app and prevents issues when loading native binaries from inside an ASAR. Also remove ia32 architecture from NSIS target, keeping only x64 to align installers with supported platforms and reduce build artifacts.
This commit is contained in:
1 parent
c2b1220386
commit
72802f3f7c
1 file changed
+3
-1
+3
-1
@@ -33,6 +33,9 @@
|
||||
"remote-control-web/**/*",
|
||||
"!**/*.map"
|
||||
],
|
||||
"asarUnpack": [
|
||||
"node_modules/@libsql/**"
|
||||
],
|
||||
"extraMetadata": {
|
||||
"main": "electron-backend/main.js"
|
||||
},
|
||||
@@ -92,7 +95,6 @@
|
||||
{
|
||||
"target": "nsis",
|
||||
"arch": [
|
||||
"ia32",
|
||||
"x64"
|
||||
]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user