Skip to content

Commit

Permalink
Revert "deps: update notary tool"
Browse files Browse the repository at this point in the history
This reverts commit 6a6687a.
  • Loading branch information
aaronm-2112 committed Oct 1, 2024
1 parent 6a6687a commit 30b5249
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 18,345 deletions.
16 changes: 7 additions & 9 deletions notarize.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
import fs from "fs";
import path from "path";
import { config } from "dotenv";
import { notarize } from "@electron/notarize";
const fs = require("fs");
const path = require("path");
require("dotenv").config();
var electron_notarize = require("electron-notarize");

config();

export default async function (params) {
module.exports = async function (params) {
// Only notarize the app on Mac OS only.
if (process.platform !== "darwin") {
console.log(
Expand All @@ -26,7 +24,7 @@ export default async function (params) {
console.log(`Notarizing ${appId} found at ${appPath}`);

try {
await notarize({
await electron_notarize.notarize({
tool: "notarytool",
appBundleId: appId,
appPath: appPath,
Expand All @@ -39,4 +37,4 @@ export default async function (params) {
}

console.log(`Done notarizing ${appId}`);
}
};
Loading

0 comments on commit 30b5249

Please sign in to comment.