更新 readme

This commit is contained in:
whyour
2024-11-18 23:19:15 +08:00
parent b321530dcf
commit a1501705c1
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -414,7 +414,7 @@ export default class SystemService {
try {
await promiseExec(`rm -rf ${path.join(config.tmpPath, 'data')}`);
const res = await promiseExec(
`cd ${config.tmpPath} && tar -zxvf data.tgz`,
`cd ${config.tmpPath} && tar -zxvf ${config.dataTgzFile}`,
);
return { code: 200, data: res };
} catch (error: any) {