Skip to content

Commit fc9e24c

Browse files
committed
ci: playwright cache path per-OS (darwin + win32 + linux), homepage metadata for packaging
1 parent cf4965e commit fc9e24c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

packaging/stage.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ function msPlaywrightDir() {
3838
const la = process.env.LOCALAPPDATA || resolve(os.homedir(), 'AppData', 'Local');
3939
return resolve(la, 'ms-playwright');
4040
}
41+
if (process.platform === 'darwin') return resolve(os.homedir(), 'Library', 'Caches', 'ms-playwright');
4142
return resolve(os.homedir(), '.cache', 'ms-playwright');
4243
}
4344
const browsersJson = JSON.parse(fs.readFileSync(join(ROOT, 'node_modules', 'playwright-core', 'browsers.json'), 'utf8'));
@@ -57,6 +58,8 @@ fs.writeFileSync(join(APP, 'package.json'), JSON.stringify({
5758
productName: 'GhostFrame',
5859
version: '0.1.0',
5960
description: 'GhostFrame — coherent-fingerprint browser platform',
61+
homepage: 'https://github.com/loak7993-code/ghostframe',
62+
author: 'GhostFrame contributors',
6063
license: 'MIT',
6164
main: 'gui/main.js',
6265
dependencies: {},

0 commit comments

Comments
 (0)