Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
trheyi committed Feb 9, 2022
1 parent ccfb52e commit a43d9b7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

# 关闭代理
Expand Down
2 changes: 1 addition & 1 deletion share/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package share

// Logs
// session -> freeport
// 更新制品目录 -> ui/downloads
// 更新制品目录 -> ui/downloads debug

// VERSION 版本号
const VERSION = "0.9.0"
Expand Down
4 changes: 2 additions & 2 deletions share/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down
2 changes: 1 addition & 1 deletion shell/install.sh
Original file line number Diff line number Diff line change
@@ -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(){
Expand Down

0 comments on commit a43d9b7

Please sign in to comment.