Update file_picker

Add resources page

Optimize more detail
This commit is contained in:
chen08209
2024-06-03 18:02:05 +08:00
parent 01f1b2d72f
commit bb7e44da30
50 changed files with 32716 additions and 443 deletions

View File

@@ -22,6 +22,7 @@ import (
"strings"
"sync"
"syscall"
"time"
)
type healthCheckSchema struct {
@@ -93,6 +94,13 @@ type Now struct {
Value string `json:"value"`
}
type ExternalProvider struct {
Name string `json:"name"`
Type string `json:"type"`
VehicleType string `json:"vehicle-type"`
UpdateAt time.Time `json:"update-at"`
}
func restartExecutable(execPath string) {
var err error
executor.Shutdown()