Skip to content

Commit c62b393

Browse files
committed
Set quarantine attribute for downloads on macOS.
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 991de77 commit c62b393

File tree

3 files changed

+59
-0
lines changed

3 files changed

+59
-0
lines changed

app/main/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ import {sentryInit} from "./sentry.js";
1919
import {setAutoLaunch} from "./startup.js";
2020
import {ipcMain, send} from "./typed-ipc-main.js";
2121

22+
import "gatemaker/electron-setup"; // eslint-disable-line import/no-unassigned-import
23+
2224
// eslint-disable-next-line @typescript-eslint/naming-convention
2325
const {GDK_BACKEND} = process.env;
2426

package-lock.json

Lines changed: 56 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@
152152
"electron-updater": "^5.0.1",
153153
"electron-window-state": "^5.0.3",
154154
"escape-goat": "^3.0.0",
155+
"gatemaker": "^1.0.0",
155156
"get-stream": "^6.0.1",
156157
"i18n": "^0.15.1",
157158
"iso-639-1": "^2.1.9",

0 commit comments

Comments
 (0)