|
@@ -3,6 +3,7 @@ package upgrader
|
|
import (
|
|
import (
|
|
"os"
|
|
"os"
|
|
|
|
|
|
|
|
+ "code.pfad.fr/risefront"
|
|
"github.com/0xJacky/Nginx-UI/settings"
|
|
"github.com/0xJacky/Nginx-UI/settings"
|
|
"github.com/gorilla/websocket"
|
|
"github.com/gorilla/websocket"
|
|
"github.com/uozi-tech/cosy/logger"
|
|
"github.com/uozi-tech/cosy/logger"
|
|
@@ -73,6 +74,7 @@ func BinaryUpgrade(ws *websocket.Conn, control *Control) {
|
|
})
|
|
})
|
|
// dry run
|
|
// dry run
|
|
if control.DryRun || settings.NodeSettings.Demo {
|
|
if control.DryRun || settings.NodeSettings.Demo {
|
|
|
|
+ risefront.Restart()
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
|