filecat 4.2.3 → 4.3.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "filecat",
3
- "version": "4.2.3",
3
+ "version": "4.3.3",
4
4
  "description": "filecat",
5
5
  "author": "xiaobaidadada",
6
6
  "scripts": {
@@ -133,6 +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.5",
136
137
  "react": "^18.3.1",
137
138
  "react-dom": "^18.3.1",
138
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/dev.js CHANGED
@@ -3,7 +3,7 @@ const { spawn } = require('child_process');
3
3
  const path = require("path");
4
4
  const Webpack = require('webpack');
5
5
  const WebpackDevServer = require('webpack-dev-server');
6
- const webpackConfig = require('./config/webpack.config.js');
6
+ const webpackConfig = require('./config/webpack.web.config.js');
7
7
  const {findAvailablePort} = require("../src/common/findPort");
8
8
 
9
9
  // const temLog = console.log;
@@ -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");
@@ -1,2 +1,2 @@
1
- #!/bin/bash
2
- ./node main.js "$@"
1
+ #!/bin/bash
2
+ ./node main.js "$@"