Skip to content

Commit

Permalink
Build DMG for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Aug 6, 2024
1 parent d3a0288 commit d6423c0
Show file tree
Hide file tree
Showing 4 changed files with 221 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ max_line_length = 100

[*.{yaml,yml}]
indent_style = space

[.github/workflows/*.yml]
indent_size = 2
6 changes: 3 additions & 3 deletions forge.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { ForgeConfig } from "@electron-forge/shared-types"
import { MakerSquirrel } from "@electron-forge/maker-squirrel"
import { MakerZIP } from "@electron-forge/maker-zip"
import { MakerDMG } from "@electron-forge/maker-dmg"
import { MakerDeb } from "@electron-forge/maker-deb"
import PublisherGithub from "@electron-forge/publisher-github"
import { VitePlugin } from "@electron-forge/plugin-vite"
Expand All @@ -21,7 +21,7 @@ const config: ForgeConfig = {
rebuildConfig: {},
makers: [
new MakerSquirrel({}),
new MakerZIP({}, ["darwin"]),
new MakerDMG({}),
new MakerDeb({
options: {
mimeType: ["x-scheme-handler/mautrix-manager"],
Expand Down Expand Up @@ -69,7 +69,7 @@ const config: ForgeConfig = {
name: "manager",
owner: "mautrix",
},
prerelease: true,
draft: true,
}),
],
}
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"devDependencies": {
"@electron-forge/cli": "^7.4.0",
"@electron-forge/maker-deb": "^7.4.0",
"@electron-forge/maker-dmg": "^7.4.0",
"@electron-forge/maker-rpm": "^7.4.0",
"@electron-forge/maker-squirrel": "^7.4.0",
"@electron-forge/maker-zip": "^7.4.0",
Expand Down
Loading

0 comments on commit d6423c0

Please sign in to comment.