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