mirror of
https://github.com/ONLYOFFICE/build_tools.git
synced 2026-04-07 14:06:31 +08:00
Fix example build for updated modules (#224)
* Fix example build for updated modules * Small changes * Small changes * Small changes
This commit is contained in:
21
tools/linux/sync-rpc.patch
Normal file
21
tools/linux/sync-rpc.patch
Normal file
@ -0,0 +1,21 @@
|
||||
--- index.js
|
||||
+++ index.js
|
||||
@@ -101,18 +101,11 @@
|
||||
|
||||
function nodeNC(port, input) {
|
||||
const src = nodeNetCatSrc(port, input);
|
||||
- if (src.length < 1000) {
|
||||
- return spawnSync(process.execPath, ['-e', src], {
|
||||
- windowsHide: true,
|
||||
- maxBuffer: Infinity,
|
||||
- });
|
||||
- } else {
|
||||
return spawnSync(process.execPath, [], {
|
||||
input: src,
|
||||
windowsHide: true,
|
||||
maxBuffer: Infinity,
|
||||
});
|
||||
- }
|
||||
}
|
||||
|
||||
function test(fn, port) {
|
||||
Reference in New Issue
Block a user