Support dyad protocol in forge
This commit is contained in:
@@ -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: [
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user