fix: add Linux package homepage metadata
This commit is contained in:
@@ -92,6 +92,7 @@ describe('Pi runtime production bundler', () => {
|
||||
|
||||
it('wires every package target to its matching staged Pi runtime', async () => {
|
||||
const packageJson = JSON.parse(await readFile('package.json', 'utf8')) as {
|
||||
homepage: string;
|
||||
scripts: Record<string, string>;
|
||||
};
|
||||
const builder = YAML.parse(await readFile('electron-builder.yml', 'utf8')) as Record<
|
||||
@@ -109,6 +110,7 @@ describe('Pi runtime production bundler', () => {
|
||||
.toBe('node scripts/smoke-pi-real.mjs');
|
||||
expect(packageJson.scripts['perf:pi:release'])
|
||||
.toBe('node scripts/run-pi-release-performance.mjs');
|
||||
expect(packageJson.homepage).toBe('https://git.nianxx.cn/wangxuming/makelore');
|
||||
expect(builder.mac.extraResources).toContainEqual({
|
||||
from: 'build/pi-runtime/darwin-${arch}',
|
||||
to: 'pi-runtime',
|
||||
|
||||
Reference in New Issue
Block a user