Skip to content

Commit

Permalink
fix: disable auto-update for versions 'dev*' instead of 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
momiji committed Aug 30, 2023
1 parent 095b264 commit 0bf6d7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ func start() {
go proxy.watch1()
go proxy.watch2()
// update task
if AppVersion != "dev" {
if !strings.HasPrefix(AppVersion, "dev") {
go func() {
time.Sleep(3 * time.Second)
for {
Expand Down

0 comments on commit 0bf6d7c

Please sign in to comment.