Support dyad protocol in forge

This commit is contained in:
Will Chen
2025-04-22 22:00:27 -07:00
parent 42b759d85c
commit 67e7e73029

View File

@@ -40,6 +40,12 @@ const ignore = (file: string) => {
const config: ForgeConfig = { const config: ForgeConfig = {
packagerConfig: { packagerConfig: {
protocols: [
{
name: "Dyad",
schemes: ["dyad"],
},
],
icon: "./assets/icon/logo", icon: "./assets/icon/logo",
osxSign: { osxSign: {
@@ -62,7 +68,11 @@ const config: ForgeConfig = {
new MakerSquirrel({}), new MakerSquirrel({}),
new MakerZIP({}, ["darwin"]), new MakerZIP({}, ["darwin"]),
new MakerRpm({}), new MakerRpm({}),
new MakerDeb({}), new MakerDeb({
options: {
mimeType: ["x-scheme-handler/dyad"],
},
}),
], ],
publishers: [ publishers: [
{ {