(feat): migrate bun to pnpm
(feat): some mtp stuff (wip): electron app tray
This commit is contained in:
parent
69149b73bd
commit
82a483d7ab
39 changed files with 10109 additions and 2429 deletions
|
|
@ -2,6 +2,7 @@ import {
|
|||
copyFileSync,
|
||||
createReadStream,
|
||||
existsSync,
|
||||
writeFileSync,
|
||||
mkdirSync,
|
||||
readdirSync,
|
||||
renameSync,
|
||||
|
|
@ -113,13 +114,15 @@ const artifacts = await Promise.all(
|
|||
}),
|
||||
);
|
||||
|
||||
await Bun.write(
|
||||
writeFileSync(
|
||||
join(releasesDir, "electron-release-metadata.json"),
|
||||
`${JSON.stringify({ version: releaseVersion, tag: releaseTag, publishedAt: new Date().toISOString(), artifacts: artifacts.filter((artifact) => artifact.platform !== "android") }, null, 2)}\n`,
|
||||
"utf8",
|
||||
);
|
||||
await Bun.write(
|
||||
writeFileSync(
|
||||
join(releasesDir, "SHA256SUMS"),
|
||||
`${artifacts.map((artifact) => `${artifact.sha256} ${artifact.name}`).join("\n")}\n`,
|
||||
"utf8",
|
||||
);
|
||||
|
||||
console.log("Releases copied successfully.");
|
||||
|
|
|
|||
Loading…
Reference in a new issue