filecat 1.0.9 → 1.0.11
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/README.md +25 -16
- package/build/dist/489.bundle.js +1 -1
- package/build/dist/665.bundle.js +1 -1
- package/build/dist/734.bundle.js +1 -1
- package/build/dist/943.bundle.js +1 -1
- package/build/dist/977.bundle.js +1 -1
- package/build/dist/bundle.js +1 -1
- package/build/main.js +1 -1
- package/env +9 -5
- package/package.json +24 -7
- package/shell/build.js +2 -1
package/env
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
|
|
2
2
|
#服务器端口
|
|
3
|
+
#server port
|
|
3
4
|
port=5567
|
|
4
|
-
# 文件夹起始地址
|
|
5
|
-
#
|
|
5
|
+
# 文件夹起始地址 文件管理的默认地址,不填的话会是执行程序的目录
|
|
6
|
+
# The starting folder address, the default address for file management. If not specified, it will be the directory of the executing program.
|
|
7
|
+
#base_folder=D:\ 或者 /home/user
|
|
6
8
|
|
|
7
9
|
# 本地账号密码
|
|
8
|
-
username=
|
|
9
|
-
password=
|
|
10
|
+
username=admin
|
|
11
|
+
password=admin
|
|
10
12
|
|
|
11
|
-
#
|
|
13
|
+
# 该程序需要一个目录来存放数据,最好是空目录
|
|
14
|
+
# The program requires a directory to store data, preferably an empty directory.
|
|
15
|
+
#work_dir=D:\data 或者 /home
|
|
12
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "filecat",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.11",
|
|
4
4
|
"description": "filecat 文件管理器",
|
|
5
5
|
"author": "xiaobaidadada",
|
|
6
6
|
"scripts": {
|
|
@@ -29,19 +29,36 @@
|
|
|
29
29
|
"bin": {
|
|
30
30
|
"filecat": "shell/filecat"
|
|
31
31
|
},
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "git@github.com:xiaobaidadada/filecat.git"
|
|
35
|
+
},
|
|
36
|
+
"homepage": "https://github.com/xiaobaidadada/filecat",
|
|
37
|
+
"bugs": {
|
|
38
|
+
"url": "https://github.com/xiaobaidadada/filecat/issues"
|
|
39
|
+
},
|
|
40
|
+
"license": "Apache-2.0",
|
|
32
41
|
"keywords": [
|
|
42
|
+
"文件服务器",
|
|
43
|
+
"linux管理",
|
|
44
|
+
"运维面板",
|
|
45
|
+
"远程桌面",
|
|
46
|
+
"浏览器代理",
|
|
47
|
+
"简洁",
|
|
48
|
+
"filebrowser",
|
|
33
49
|
"administrator",
|
|
34
50
|
"filemanager",
|
|
35
51
|
"cpu",
|
|
36
52
|
"docker",
|
|
37
53
|
"linux",
|
|
38
|
-
"
|
|
39
|
-
"
|
|
54
|
+
"rdp",
|
|
55
|
+
"rtsp",
|
|
40
56
|
"react",
|
|
41
57
|
"ssh",
|
|
42
58
|
"ftp",
|
|
43
59
|
"systeminfo",
|
|
44
60
|
"vpn",
|
|
61
|
+
"p2p",
|
|
45
62
|
"docker",
|
|
46
63
|
"ddns"
|
|
47
64
|
],
|
|
@@ -54,10 +71,9 @@
|
|
|
54
71
|
"package.json"
|
|
55
72
|
],
|
|
56
73
|
"dependencies": {
|
|
57
|
-
"@xiaobaidadada/node-pty-prebuilt": "^1.0.
|
|
74
|
+
"@xiaobaidadada/node-pty-prebuilt": "^1.0.4",
|
|
58
75
|
"@xiaobaidadada/node-tuntap2-wintun": "^1.0.6",
|
|
59
|
-
"node-process-watcher": "^1.0.
|
|
60
|
-
"node-unrar-js": "^2.0.2",
|
|
76
|
+
"node-process-watcher": "^1.0.3",
|
|
61
77
|
"ssh2": "^1.15.0"
|
|
62
78
|
},
|
|
63
79
|
"devDependencies": {
|
|
@@ -72,7 +88,7 @@
|
|
|
72
88
|
"@xterm/xterm": "^5.5.0",
|
|
73
89
|
"ace-builds": "^1.32.9",
|
|
74
90
|
"archiver": "^7.0.1",
|
|
75
|
-
"axios": "^1.
|
|
91
|
+
"axios": "^1.7.7",
|
|
76
92
|
"babel-loader": "^9.1.3",
|
|
77
93
|
"chart.js": "^4.4.2",
|
|
78
94
|
"copy-webpack-plugin": "^12.0.2",
|
|
@@ -98,6 +114,7 @@
|
|
|
98
114
|
"needle": "^3.3.1",
|
|
99
115
|
"node-forge": "^1.3.1",
|
|
100
116
|
"node-loader": "^2.1.0",
|
|
117
|
+
"node-unrar-js": "^2.0.2",
|
|
101
118
|
"normalize.css": "^8.0.1",
|
|
102
119
|
"noty": "^3.2.0-beta-deprecated",
|
|
103
120
|
"piping": "^1.0.0-rc.4",
|
package/shell/build.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
const {Listr} = require("listr2");
|
|
2
2
|
const webpack = require('webpack');
|
|
3
|
+
const os = require("os");
|
|
3
4
|
const config = require('./config/webpack.config.js');
|
|
4
5
|
const args = process.argv.slice(2); // slice to remove the first two default values
|
|
5
6
|
let serverConfig ;
|
|
@@ -59,7 +60,7 @@ const tasksLister = new Listr(
|
|
|
59
60
|
// copyFileSync(path.join(__dirname, "..", "src", "main", "domain", "net", "wintun-x86.dll"), path.join(__dirname, "..", "build", "wintun-x86.dll"))
|
|
60
61
|
// copyFileSync(path.join(__dirname, "..", "src", "main", "domain", "bin", "ffmpeg"), path.join(__dirname, "..", "build", "ffmpeg"))
|
|
61
62
|
// copyFileSync(path.join(__dirname, "..", "src", "main", "domain", "bin", "ffmpeg.exe"), path.join(__dirname, "..", "build", "ffmpeg.exe"))
|
|
62
|
-
if (args[0]!=="npm") {
|
|
63
|
+
if (args[0]!=="npm" && os.platform() === 'win32') {
|
|
63
64
|
copyFiles(path.resolve("node_modules/@xiaobaidadada/node-tuntap2-wintun/wintun_dll"),path.join(__dirname, "..", "build"))
|
|
64
65
|
}
|
|
65
66
|
rimraf(path.join(__dirname,"..","build","server"));
|