Skip to content

Commit

Permalink
update puppeteer
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanfbrito committed Aug 21, 2024
1 parent 5ea10f9 commit 9a65bc1
Show file tree
Hide file tree
Showing 3 changed files with 251 additions and 127 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"chokidar": "~3.5.3",
"conventional-changelog-cli": "~4.1.0",
"convert-svg-to-png": "~0.6.4",
"electron": "31.0.0",
"electron": "30.4.0",
"electron-builder": "24.13.3",
"electron-devtools-installer": "^3.2.0",
"electron-notarize": "^1.2.2",
Expand All @@ -126,7 +126,7 @@
"npm-run-all": "~4.1.5",
"patch-package": "~8.0.0",
"prettier": "~3.2.5",
"puppeteer": "~21.7.0",
"puppeteer": "23.1.1",
"rollup": "~4.9.6",
"rollup-plugin-copy": "~3.5.0",
"ts-jest": "~29.1.4",
Expand All @@ -141,8 +141,8 @@
"node": ">=20.14.0"
},
"devEngines": {
"node": ">=20.10.0",
"yarn": ">=4.0.2"
"node": ">=20.14.0",
"yarn": "4.4.0"
},
"resolutions": {
"@fiahfy/icns-convert/sharp": "0.29.3",
Expand Down
4 changes: 2 additions & 2 deletions src/buildAssets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ const convertSvgToPng = async (
...sizes: (number | [number, number])[]
): Promise<Buffer[]> => {
const browser = await puppeteer.launch({
headless: 'new',
args: ['--use-gl=desktop'],
// headless: 'new',
args: ['--use-gl=desktop', '--no-sandbox', '--disable-setuid-sandbox'],
});
const page = await browser.newPage();
await page.goto(
Expand Down
Loading

0 comments on commit 9a65bc1

Please sign in to comment.