Skip to content
This repository has been archived by the owner on Nov 17, 2024. It is now read-only.

Commit

Permalink
refactor: add debug line
Browse files Browse the repository at this point in the history
  • Loading branch information
segadora committed Nov 7, 2024
1 parent 6439822 commit 4b39fd3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ func (solarAssistant *SolarAssistant) updateWorkModeSchedule(c *gin.Context) {
log.Printf("go to power page at (%s)", solarAssistant.url+"/power")

path, _ := launcher.LookPath()

log.Printf("browser path: %s", path)

u := launcher.New().Bin(path).MustLaunch()
browser := rod.New().ControlURL(u).MustConnect()

Expand Down

0 comments on commit 4b39fd3

Please sign in to comment.