mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-07-15 21:03:47 +00:00
fix: sqlite patch so electron builds
This commit is contained in:
@@ -58,18 +58,18 @@ const macrosPatched = patchFile(macrosPath, [
|
|||||||
|
|
||||||
const helpersPatched = patchFile(helpersPath, [
|
const helpersPatched = patchFile(helpersPath, [
|
||||||
{
|
{
|
||||||
original: `\t\trecv->InstanceTemplate()->SetNativeDataProperty(
|
original: `\trecv->InstanceTemplate()->SetNativeDataProperty(
|
||||||
\t\t\tInternalizedFromLatin1(isolate, name),
|
\t\tInternalizedFromLatin1(isolate, name),
|
||||||
\t\t\tfunc,
|
\t\tfunc,
|
||||||
\t\t\t0,
|
\t\t0,
|
||||||
\t\t\tdata
|
\t\tdata
|
||||||
\t\t);`,
|
\t);`,
|
||||||
patched: `\t\trecv->InstanceTemplate()->SetNativeDataProperty(
|
patched: `\trecv->InstanceTemplate()->SetNativeDataProperty(
|
||||||
\t\t\tInternalizedFromLatin1(isolate, name),
|
\t\tInternalizedFromLatin1(isolate, name),
|
||||||
\t\t\tfunc,
|
\t\tfunc,
|
||||||
\t\t\tstatic_cast<v8::AccessorNameSetterCallback>(nullptr),
|
\t\tstatic_cast<v8::AccessorNameSetterCallback>(nullptr),
|
||||||
\t\t\tdata
|
\t\tdata
|
||||||
\t\t);`,
|
\t);`,
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user