Skip to content

Commit

Permalink
Merge pull request #15 from eokoneyo/fix/screenshotting/server-packag…
Browse files Browse the repository at this point in the history
…e-7.17

use same chromium path install method is invoked with for background install
  • Loading branch information
tsullivan authored Aug 13, 2024
2 parents 2439849 + 69fd5a0 commit e6b28bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/reporting/server/browsers/install.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export function installBrowser(
}

const backgroundInstall = async () => {
const binaryPath = paths.getBinaryPath(pkg, path.resolve(__dirname, '../../chromium'));
const binaryPath = paths.getBinaryPath(pkg, chromiumPath);
const binaryChecksum = await sha256(binaryPath).catch(() => '');

if (binaryChecksum !== pkg.binaryChecksum) {
Expand Down

0 comments on commit e6b28bc

Please sign in to comment.