Skip to content

Commit 0094a8c

Browse files
committed
Bugs Fix
1.修正细微错误 2.为安装脚本增加缓存功能
1 parent ff0c3ce commit 0094a8c

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

Cli-Tools/one_click_tool.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def get_opt():
3939
opt_content = arg[1]
4040
if opt_name in ("--mode","-m"):
4141
mode = str(opt_content)
42-
elif opt_name in ("--imputfile","-in"):
42+
elif opt_name in ("--inputfile","-in"):
4343
file_path = str(opt_content)
4444
elif opt_name in ("--duration","-d"):
4545
deal_duration = int(opt_content)

Shell-Script/install.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,5 +157,9 @@ chmod +x /opt/vsharecloud-tools/main.py
157157
chmod +x /opt/vsharecloud-tools/one_click_tool.py
158158
sudo ln -s /opt/vsharecloud-tools/main.py /usr/bin/vsharecloud-cli
159159
sudo ln -s /opt/vsharecloud-tools/one_click_tool.py /usr/bin/vsharecloud-oneclick
160+
OUT_INFO "[信息] 正在部署缓存!"
161+
ipfs pin add /ipns/vsharecloud-tools.ipns.network/
162+
ipfs pin add QmYdZ6tg3vxtmG3ADzjKi4i8uxzPHqihJfGFT6XfFT4768
163+
ipfs pin add QmUKKCBBYtSax2diUDhDJHnXMsW7wWoR2fa3RdqfLTAqDw
160164
OUT_INFO "[信息] 安装已完成!"
161165
exit 0

0 commit comments

Comments
 (0)