-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from pyppeteer to playwright.
Fixes #1262. This doesn't really improve a whole lot. playwright notably disables the Chromium sandbox by default, so we don't need to do that explicitly any more, but other than that the code looks largely the same. The generated PDFs look slightly different, I think because playwright install-deps installs more fonts, and we then end up using Arial for the receipts. Because this is substantially invasive and in the critical path for generating receipts I don't think this is worthwhile merging for 2024.
- Loading branch information
1 parent
ad1bf14
commit 1e42447
Showing
7 changed files
with
52 additions
and
195 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.