Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
CorrectRoadH committed Aug 6, 2024
1 parent cb521a4 commit c03a40c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "casaos-messagebus-openapi",
"name": "@icewhale/casaos-messagebus-openapi",
"version": "0.0.1",
"scripts": {
"build": "rm -rf dist && tsc && rm -rf generate",
Expand Down
5 changes: 5 additions & 0 deletions service/ysk.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@ import (
"encoding/json"
"fmt"
"log"
"time"

"github.com/IceWhaleTech/CasaOS-Common/utils/logger"
"github.com/IceWhaleTech/CasaOS-MessageBus/common"
"github.com/IceWhaleTech/CasaOS-MessageBus/model"
"github.com/IceWhaleTech/CasaOS-MessageBus/pkg/ysk"
"github.com/IceWhaleTech/CasaOS-MessageBus/repository"
"github.com/IceWhaleTech/CasaOS-MessageBus/utils"
"go.uber.org/zap"
)

Expand Down Expand Up @@ -103,4 +105,7 @@ func (s *YSKService) Start() {
}
}()

time.Sleep(5 * time.Second)
s.UpsertYSKCard(context.Background(), utils.ApplicationInstallProgress.WithProgress("Installing Jellyfin", 20))
s.UpsertYSKCard(context.Background(), utils.DiskInsertNotice)
}

0 comments on commit c03a40c

Please sign in to comment.