filecat 4.3.3 → 4.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/dist/{523.3653b3e6cbbc60244e1b.js → 523.1063fb8808892b77252a.js} +2 -2
- package/build/dist/859.b7ddfa663ba2c84040a7.js +2 -0
- package/build/dist/{859.f38e42e308fe8117d239.js.LICENSE.txt → 859.b7ddfa663ba2c84040a7.js.LICENSE.txt} +1 -1
- package/build/dist/{943.9d244e31cc3c33c19249.js → 943.23265b3e6c00d64d431c.js} +2 -2
- package/build/dist/index.html +1 -1
- package/build/dist/main.4b2dd48f810257c6f102.js +2 -0
- package/build/dist/{main.dc0d9bdc30372d4f9b66.js.LICENSE.txt → main.4b2dd48f810257c6f102.js.LICENSE.txt} +3 -3
- package/build/main.js +15 -15
- package/package.json +2 -2
- package/shell/config/prebuild-file-path.js +17 -17
- package/shell/docker-build.sh +2 -2
- package/shell/filecat +1 -1
- package/shell/start/run.sh +2 -2
- package/build/dist/859.f38e42e308fe8117d239.js +0 -2
- package/build/dist/main.dc0d9bdc30372d4f9b66.js +0 -2
- /package/build/dist/{523.3653b3e6cbbc60244e1b.js.LICENSE.txt → 523.1063fb8808892b77252a.js.LICENSE.txt} +0 -0
- /package/build/dist/{943.9d244e31cc3c33c19249.js.LICENSE.txt → 943.23265b3e6c00d64d431c.js.LICENSE.txt} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "filecat",
|
|
3
|
-
"version": "4.3.
|
|
3
|
+
"version": "4.3.4",
|
|
4
4
|
"description": "filecat",
|
|
5
5
|
"author": "xiaobaidadada",
|
|
6
6
|
"scripts": {
|
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
"noty": "^3.2.0-beta-deprecated",
|
|
134
134
|
"piping": "^1.0.0-rc.4",
|
|
135
135
|
"protobufjs-cli": "^1.1.3",
|
|
136
|
-
"pty-shell": "^1.0.
|
|
136
|
+
"pty-shell": "^1.0.6",
|
|
137
137
|
"react": "^18.3.1",
|
|
138
138
|
"react-dom": "^18.3.1",
|
|
139
139
|
"react-i18next": "^15.0.0",
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ptyPath = void 0;
|
|
4
|
-
var fs = require("fs");
|
|
5
|
-
var os = require("os");
|
|
6
|
-
var path = require("path");
|
|
7
|
-
function prebuildName() {
|
|
8
|
-
var tags = [];
|
|
9
|
-
tags.push(process.versions.hasOwnProperty('electron') ? 'electron' : 'node');
|
|
10
|
-
tags.push('abi' + process.versions.modules);
|
|
11
|
-
if (os.platform() === 'linux' && fs.existsSync('/etc/alpine-release')) {
|
|
12
|
-
tags.push('musl');
|
|
13
|
-
}
|
|
14
|
-
return tags.join('.') + '.node';
|
|
15
|
-
}
|
|
16
|
-
var pathToBuild = path.resolve(__dirname, "../prebuilds/".concat(os.platform(), "-").concat(os.arch(), "/").concat(prebuildName()));
|
|
17
|
-
exports.ptyPath = fs.existsSync(pathToBuild) ? pathToBuild : null;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ptyPath = void 0;
|
|
4
|
+
var fs = require("fs");
|
|
5
|
+
var os = require("os");
|
|
6
|
+
var path = require("path");
|
|
7
|
+
function prebuildName() {
|
|
8
|
+
var tags = [];
|
|
9
|
+
tags.push(process.versions.hasOwnProperty('electron') ? 'electron' : 'node');
|
|
10
|
+
tags.push('abi' + process.versions.modules);
|
|
11
|
+
if (os.platform() === 'linux' && fs.existsSync('/etc/alpine-release')) {
|
|
12
|
+
tags.push('musl');
|
|
13
|
+
}
|
|
14
|
+
return tags.join('.') + '.node';
|
|
15
|
+
}
|
|
16
|
+
var pathToBuild = path.resolve(__dirname, "../prebuilds/".concat(os.platform(), "-").concat(os.arch(), "/").concat(prebuildName()));
|
|
17
|
+
exports.ptyPath = fs.existsSync(pathToBuild) ? pathToBuild : null;
|
|
18
18
|
//# sourceMappingURL=prebuild-file-path.js.map
|
package/shell/docker-build.sh
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
npm run docker-build
|
|
1
|
+
|
|
2
|
+
npm run docker-build
|
|
3
3
|
docker build -t test .
|
package/shell/filecat
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
1
|
+
#!/usr/bin/env node
|
|
2
2
|
require("../build/main.js");
|
package/shell/start/run.sh
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
./node main.js "$@"
|
|
1
|
+
#!/bin/bash
|
|
2
|
+
./node main.js "$@"
|