@ascua/electron 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -9,7 +9,7 @@ const Command = require('ember-cli/lib/commands/build');
9
9
  const { log } = require('builder-util');
10
10
 
11
11
  const APPLE_ID = process.env.APPLE_ID;
12
- const APPLE_PASSWORD = process.env.APPLE_PASSWORD;
12
+ const APPLE_PASSWORD = process.env.APPLE_APP_SPECIFIC_PASSWORD;
13
13
 
14
14
  module.exports = Command.extend({
15
15
 
@@ -86,7 +86,7 @@ module.exports = Command.extend({
86
86
 
87
87
  const appId = this.project.pkg.build.appId;
88
88
 
89
- return this._super(...arguments).then( () => {
89
+ return this._super(...arguments).then(() => {
90
90
 
91
91
  const arch = {
92
92
  x64: options.x64,
@@ -147,11 +147,12 @@ module.exports = Command.extend({
147
147
 
148
148
  let appPath = path.join(params.appOutDir, `${params.packager.appInfo.productFilename}.app`);
149
149
 
150
- if ( fs.existsSync(appPath) ) {
150
+ if (fs.existsSync(appPath)) {
151
151
 
152
152
  log.info({ appId, appPath }, "notarizing");
153
153
 
154
154
  return await Notarizer.notarize({
155
+ tool: 'notarytool',
155
156
  appBundleId: appId,
156
157
  appPath: appPath,
157
158
  appleId: APPLE_ID,
@@ -171,13 +172,14 @@ module.exports = Command.extend({
171
172
 
172
173
  if (APPLE_ID && APPLE_PASSWORD) {
173
174
 
174
- let dmgPath = params.artifactPaths.find( p => p.endsWith(".dmg") );
175
+ let dmgPath = params.artifactPaths.find(p => p.endsWith(".dmg"));
175
176
 
176
- if ( fs.existsSync(dmgPath) ) {
177
+ if (fs.existsSync(dmgPath)) {
177
178
 
178
179
  log.info({ appId, dmgPath }, "notarizing");
179
180
 
180
181
  return await Dmgerizer.notarize({
182
+ tool: 'notarytool',
181
183
  appBundleId: appId,
182
184
  dmgPath: dmgPath,
183
185
  appleId: APPLE_ID,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ascua/electron",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Small description for @ascua/electron goes here",
5
5
  "keywords": [
6
6
  "ember-addon"
@@ -15,8 +15,8 @@
15
15
  "url": "https://abcum.com"
16
16
  },
17
17
  "dependencies": {
18
- "@ascua/config": "^0.1.2",
19
- "@ascua/service": "^0.1.2",
18
+ "@ascua/config": "^0.1.3",
19
+ "@ascua/service": "^0.1.3",
20
20
  "@electron/notarize": "^2.1.0",
21
21
  "builder-util": "^24.8.1",
22
22
  "electron": "27.0.3",
@@ -34,5 +34,5 @@
34
34
  "publishConfig": {
35
35
  "access": "public"
36
36
  },
37
- "gitHead": "5b10d41bfc63043681ddd2f270ef6331c392c1b7"
37
+ "gitHead": "82f02651515b7e817e3f005bf1455dfd923b73f7"
38
38
  }