debug
This commit is contained in:
parent
ccfb52e2f3
commit
a43d9b7c4c
4 changed files with 5 additions and 5 deletions
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
repace() {
|
||||
echo $1
|
||||
sed -E "$1" ~/Code/yao/xiang/shell/install.sh > ~/Code/yao/xiang/shell/install.sh.new
|
||||
sed -E "$1" /data/release/ui/install.sh > /data/release/ui/install.sh.new
|
||||
}
|
||||
|
||||
# 关闭代理
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ package share
|
|||
|
||||
// Logs
|
||||
// session -> freeport
|
||||
// 更新制品目录 -> ui/downloads
|
||||
// 更新制品目录 -> ui/downloads debug
|
||||
|
||||
// VERSION 版本号
|
||||
const VERSION = "0.9.0"
|
||||
|
|
|
|||
|
|
@ -102,14 +102,14 @@ func SessionServerStart() {
|
|||
go func() {
|
||||
err = sessServer.Start() // Call Start at background. It's a blocker call.
|
||||
if err != nil {
|
||||
klog.Panic("olric.Start returned an error: %v", err)
|
||||
klog.Error("olric.Start returned an error: %v", err)
|
||||
}
|
||||
}()
|
||||
|
||||
<-ctx.Done()
|
||||
dm, err := sessServer.NewDMap("local-session")
|
||||
if err != nil {
|
||||
klog.Panic("olric.NewDMap returned an error: %v", err)
|
||||
klog.Error("olric.NewDMap returned an error: %v", err)
|
||||
}
|
||||
|
||||
session.MemoryUse(session.ServerDMap{DMap: dm})
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
#!/bin/bash
|
||||
VERSION=$(ls -lt /data/release/ui/download | grep yao- | head -n 1 |awk '{print $9}' |awk -F- '{print $2}')
|
||||
VERSION="0.9.0"
|
||||
URL="https://release.yaoapps.com/download"
|
||||
|
||||
function macos(){
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue