Skip to content

Commit fbdbc54

Browse files
committed
fixing linting issues
Signed-off-by: Matt Farina <matt.farina@suse.com>
1 parent fd38e12 commit fbdbc54

2 files changed

Lines changed: 17 additions & 17 deletions

File tree

build/entitlements.mac.plist

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@
1313
<true/>
1414
</dict>
1515
</plist>
16-

scripts/notarize.js

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,23 @@ require('dotenv').config();
22
const { notarize } = require('electron-notarize');
33

44
exports.default = async function notarizing(context) {
5-
const { electronPlatformName, appOutDir } = context;
6-
if (electronPlatformName !== 'darwin') {
7-
return;
8-
}
5+
const { electronPlatformName, appOutDir } = context;
96

10-
const appName = context.packager.appInfo.productFilename;
11-
const appleId = process.env.APPLEID;
12-
13-
if (!appleId) {
14-
return;
15-
}
7+
if (electronPlatformName !== 'darwin') {
8+
return;
9+
}
1610

17-
return await notarize({
18-
appBundleId: 'io.rancherdesktop.app',
19-
appPath: `${appOutDir}/${appName}.app`,
20-
appleId,
21-
appleIdPassword: process.env.AC_PASSWORD
22-
});
11+
const appName = context.packager.appInfo.productFilename;
12+
const appleId = process.env.APPLEID;
13+
14+
if (!appleId) {
15+
return;
16+
}
17+
18+
return await notarize({
19+
appBundleId: 'io.rancherdesktop.app',
20+
appPath: `${ appOutDir }/${ appName }.app`,
21+
appleId,
22+
appleIdPassword: process.env.AC_PASSWORD
23+
});
2324
};

0 commit comments

Comments
 (0)