Skip to content

Commit

Permalink
Windows: set binary path to 64bit default (was 32bit)
Browse files Browse the repository at this point in the history
  • Loading branch information
martinrode committed Feb 28, 2025
1 parent b8ea2a5 commit 516dc4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion html2pdf/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func main() {
prog := golib.GetEnv("")["SERVER_PDF_CHROME"]
if prog == "" {
if runtime.GOOS == "windows" {
prog = `C:\Program Files (x86)\Google\Chrome\Application\chrome.exe`
prog = `C:\Program Files\Google\Chrome\Application\chrome.exe`
} else {
prog = "chromium"
}
Expand Down

0 comments on commit 516dc4c

Please sign in to comment.