mirror of
https://github.com/flucont/btcloud.git
synced 2025-10-17 00:03:58 +00:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
0db95c4f00 | ||
![]() |
eb5deaeda0 | ||
![]() |
aa704d86ac |
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
网站后台管理可一键同步宝塔官方的插件列表与增量更新插件包,还有云端使用记录、IP黑白名单、操作日志、定时任务等功能。
|
网站后台管理可一键同步宝塔官方的插件列表与增量更新插件包,还有云端使用记录、IP黑白名单、操作日志、定时任务等功能。
|
||||||
|
|
||||||
本项目自带的宝塔安装包和更新包是7.9.5最新版,已修改适配此第三方云端,并且全开源,无so等加密文件。
|
本项目自带的宝塔安装包和更新包是7.9.8最新版,已修改适配此第三方云端,并且全开源,无so等加密文件。
|
||||||
|
|
||||||
觉得该项目不错的可以给个Star~
|
觉得该项目不错的可以给个Star~
|
||||||
|
|
||||||
|
@@ -1,8 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
Linux_Version="7.9.7"
|
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
|
||||||
|
@@ -12,15 +12,15 @@ INSERT INTO `cloud_config` (`key`, `value`) VALUES
|
|||||||
('bt_key', ''),
|
('bt_key', ''),
|
||||||
('whitelist', '0'),
|
('whitelist', '0'),
|
||||||
('download_page', '1'),
|
('download_page', '1'),
|
||||||
('new_version', '7.9.7'),
|
('new_version', '7.9.8'),
|
||||||
('update_msg', '暂无更新日志'),
|
('update_msg', '暂无更新日志'),
|
||||||
('update_date', '2022-12-21'),
|
('update_date', '2023-01-29'),
|
||||||
('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');
|
||||||
|
|
||||||
|
@@ -331,6 +331,12 @@ EOF
|
|||||||
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"
|
||||||
agent_src="bt-monitor.zip"
|
agent_src="bt-monitor.zip"
|
||||||
@@ -670,6 +676,12 @@ 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
|
||||||
|
|
||||||
rm -rf $monitor_path
|
rm -rf $monitor_path
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -42,7 +42,7 @@ download_Url=$NODE_URL
|
|||||||
setup_path=/www
|
setup_path=/www
|
||||||
version=$(curl -Ss --connect-timeout 5 -m 2 $Btapi_Url/api/panel/get_version)
|
version=$(curl -Ss --connect-timeout 5 -m 2 $Btapi_Url/api/panel/get_version)
|
||||||
if [ "$version" = '' ];then
|
if [ "$version" = '' ];then
|
||||||
version='7.9.7'
|
version='7.9.8'
|
||||||
fi
|
fi
|
||||||
armCheck=$(uname -m|grep arm)
|
armCheck=$(uname -m|grep arm)
|
||||||
if [ "${armCheck}" ];then
|
if [ "${armCheck}" ];then
|
||||||
|
@@ -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
|
||||||
|
@@ -70,7 +70,7 @@ select_node(){
|
|||||||
get_version(){
|
get_version(){
|
||||||
version=$(curl -Ss --connect-timeout 5 -m 2 $Btapi_Url/api/panel/get_version)
|
version=$(curl -Ss --connect-timeout 5 -m 2 $Btapi_Url/api/panel/get_version)
|
||||||
if [ "$version" = '' ];then
|
if [ "$version" = '' ];then
|
||||||
version='7.9.7'
|
version='7.9.8'
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Binary file not shown.
@@ -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方法定义
|
||||||
|
|
||||||
|
@@ -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
|
||||||
|
Reference in New Issue
Block a user