Compare commits

...

2 Commits
1.8 ... 1.8.1

Author SHA1 Message Date
flucont
0db95c4f00 update 2023-02-17 17:58:26 +08:00
flucont
eb5deaeda0 update 2023-02-17 17:57:04 +08:00
9 changed files with 25 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
Linux_Version="7.9.8" Linux_Version="7.9.8"
Windows_Version="7.8.0" Windows_Version="7.8.0"
Btm_Version="1.0.11" Btm_Version="1.0.12"
FILES=( FILES=(
public/install/src/panel6.zip public/install/src/panel6.zip

View File

@@ -18,9 +18,9 @@ INSERT INTO `cloud_config` (`key`, `value`) VALUES
('new_version_win', '7.8.0'), ('new_version_win', '7.8.0'),
('update_msg_win', '暂无更新日志'), ('update_msg_win', '暂无更新日志'),
('update_date_win', '2022-12-08'), ('update_date_win', '2022-12-08'),
('new_version_btm', '1.0.11'), ('new_version_btm', '1.0.12'),
('update_msg_btm', '暂无更新日志'), ('update_msg_btm', '暂无更新日志'),
('update_date_btm', '2022-12-06'), ('update_date_btm', '2023-02-12'),
('updateall_type', '0'), ('updateall_type', '0'),
('syskey', 'UqP94LtI8eWAIgCP'); ('syskey', 'UqP94LtI8eWAIgCP');

View File

@@ -330,6 +330,12 @@ EOF
/etc/init.d/btm stop /etc/init.d/btm stop
sleep 1 sleep 1
fi fi
if [ -f "/www/server/bt-monitor/sqlite-server.sh" ]; then
chmod +x /www/server/bt-monitor/sqlite-server.sh
/www/server/bt-monitor/sqlite-server.sh stop
sleep 1
fi
version="1.0.2" version="1.0.2"
file_name="bt-monitor" file_name="bt-monitor"
@@ -669,6 +675,12 @@ Install_Main(){
Uninstall_Monitor(){ Uninstall_Monitor(){
pkill BT-MONITOR pkill BT-MONITOR
/etc/init.d/btm stop /etc/init.d/btm stop
if [ -f "/www/server/bt-monitor/sqlite-server.sh" ]; then
chmod +x /www/server/bt-monitor/sqlite-server.sh
/www/server/bt-monitor/sqlite-server.sh stop
sleep 1
fi
Service_Del Service_Del

Binary file not shown.

View File

@@ -23,6 +23,12 @@ if [ -f "/etc/init.d/btm" ]; then
sleep 1 sleep 1
fi fi
if [ -f "/www/server/bt-monitor/sqlite-server.sh" ]; then
chmod +x /www/server/bt-monitor/sqlite-server.sh
/www/server/bt-monitor/sqlite-server.sh stop
sleep 1
fi
get_node_url(){ get_node_url(){
if [ ! -f /bin/curl ];then if [ ! -f /bin/curl ];then
if [ "${PM}" = "yum" ]; then if [ "${PM}" = "yum" ]; then

View File

@@ -40,3 +40,5 @@
- init.sh http://download.bt.cn => http://www.example.com - init.sh http://download.bt.cn => http://www.example.com
- 根目录BT-MONITOR 取消第一个CreateSSL方法定义的注释删除第二个CreateSSL方法定义

View File

@@ -57,6 +57,8 @@
temp_file = temp_file.replace('https://download.bt.cn/install/public.sh', 'http://www.example.com/install/public.sh') temp_file = temp_file.replace('https://download.bt.cn/install/public.sh', 'http://www.example.com/install/public.sh')
``` ```
- class/plugin_deployment.py 文件SetupPackage方法内替换 public.GetConfigValue('home') => 'https://www.bt.cn'
- install/install_soft.sh 在bash执行之前加入以下代码 - install/install_soft.sh 在bash执行之前加入以下代码
```shell ```shell