Skip to content

Commit b5258ba

Browse files
committed
feat(snap): build snap on macOS, make snap default target for Linux (in addition to appimage)
1 parent 138b229 commit b5258ba

File tree

6 files changed

+28
-28
lines changed

6 files changed

+28
-28
lines changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@
2929
"////": "All typings are added into root `package.json` to avoid duplication errors in the IDE compiler (several `node.d.ts` files).",
3030
"dependencies": {
3131
"7zip-bin": "~3.1.0",
32-
"app-builder-bin": "1.1.0",
32+
"app-builder-bin": "1.2.0",
3333
"archiver": "^2.1.1",
3434
"async-exit-hook": "^2.0.1",
35-
"aws-sdk": "^2.190.0",
35+
"aws-sdk": "^2.191.0",
3636
"bluebird-lst": "^1.0.5",
3737
"chalk": "^2.3.0",
3838
"chromium-pickle-js": "^0.2.0",
@@ -73,7 +73,7 @@
7373
"@types/ejs": "^2.5.0",
7474
"@types/electron-is-dev": "^0.3.0",
7575
"@types/ini": "^1.3.29",
76-
"@types/jest": "^22.1.1",
76+
"@types/jest": "^22.1.2",
7777
"@types/js-yaml": "^3.10.1",
7878
"@types/lodash.isequal": "^4.5.2",
7979
"@types/node-emoji": "^1.8.0",

packages/builder-util/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"out"
1212
],
1313
"dependencies": {
14-
"app-builder-bin": "1.1.0",
14+
"app-builder-bin": "1.2.0",
1515
"temp-file": "^3.1.1",
1616
"fs-extra-p": "^4.5.0",
1717
"is-ci": "^1.1.0",

packages/electron-builder-lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"homepage": "https://github.com/electron-userland/electron-builder",
4343
"dependencies": {
4444
"7zip-bin": "~3.1.0",
45-
"app-builder-bin": "1.1.0",
45+
"app-builder-bin": "1.2.0",
4646
"async-exit-hook": "^2.0.1",
4747
"bluebird-lst": "^1.0.5",
4848
"chromium-pickle-js": "^0.2.0",

packages/electron-builder-lib/src/linuxPackager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export class LinuxPackager extends PlatformPackager<LinuxConfiguration> {
2525
}
2626

2727
get defaultTarget(): Array<string> {
28-
return ["appimage"]
28+
return ["snap", "appimage"]
2929
}
3030

3131
createTargets(targets: Array<string>, mapper: (name: string, factory: (outDir: string) => Target) => void): void {

packages/electron-publisher-s3/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
],
1313
"dependencies": {
1414
"fs-extra-p": "^4.5.0",
15-
"aws-sdk": "^2.190.0",
15+
"aws-sdk": "^2.191.0",
1616
"mime": "^2.2.0",
1717
"electron-publish": "~0.0.0-semantic-release",
1818
"builder-util": "^0.0.0-semantic-release",

yarn.lock

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,9 @@
9999
version "1.3.29"
100100
resolved "https://registry.yarnpkg.com/@types/ini/-/ini-1.3.29.tgz#1325e981e047d40d13ce0359b821475b97741d2f"
101101

102-
"@types/jest@^22.1.1":
103-
version "22.1.1"
104-
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-22.1.1.tgz#231d7c60ed130200af9e96c82469ed25b59a7ea2"
102+
"@types/jest@^22.1.2":
103+
version "22.1.2"
104+
resolved "https://registry.yarnpkg.com/@types/jest/-/jest-22.1.2.tgz#813a79ec98221633845627636dbc606f31220dbc"
105105

106106
"@types/js-yaml@^3.10.1":
107107
version "3.10.1"
@@ -262,25 +262,25 @@ anymatch@^1.3.0:
262262
micromatch "^2.1.5"
263263
normalize-path "^2.0.0"
264264

265-
app-builder-bin-linux@1.1.0:
266-
version "1.1.0"
267-
resolved "https://registry.yarnpkg.com/app-builder-bin-linux/-/app-builder-bin-linux-1.1.0.tgz#923a6d8af2e18514415bc16ace2f8ef9c16a2153"
265+
app-builder-bin-linux@1.2.0:
266+
version "1.2.0"
267+
resolved "https://registry.yarnpkg.com/app-builder-bin-linux/-/app-builder-bin-linux-1.2.0.tgz#eebfa34141baa8734c02cc27c0ff7cf213bd9372"
268268

269-
app-builder-bin-mac@1.1.0:
270-
version "1.1.0"
271-
resolved "https://registry.yarnpkg.com/app-builder-bin-mac/-/app-builder-bin-mac-1.1.0.tgz#9b02001b38edef4189dfb134f8bba220836f8e0c"
269+
app-builder-bin-mac@1.2.0:
270+
version "1.2.0"
271+
resolved "https://registry.yarnpkg.com/app-builder-bin-mac/-/app-builder-bin-mac-1.2.0.tgz#57b627ebfcb1407ca14d49968952e8bcd942ab33"
272272

273-
app-builder-bin-win@1.1.0:
274-
version "1.1.0"
275-
resolved "https://registry.yarnpkg.com/app-builder-bin-win/-/app-builder-bin-win-1.1.0.tgz#575accb70f8b77b60fa48d376da9730b662cad95"
273+
app-builder-bin-win@1.2.0:
274+
version "1.2.0"
275+
resolved "https://registry.yarnpkg.com/app-builder-bin-win/-/app-builder-bin-win-1.2.0.tgz#bf0c33d830a376cfa13bea523db97e729c318f1d"
276276

277-
app-builder-bin@1.1.0:
278-
version "1.1.0"
279-
resolved "https://registry.yarnpkg.com/app-builder-bin/-/app-builder-bin-1.1.0.tgz#2de4d922fdd61cfcd8bff0216ec4d7fa6df6617f"
277+
app-builder-bin@1.2.0:
278+
version "1.2.0"
279+
resolved "https://registry.yarnpkg.com/app-builder-bin/-/app-builder-bin-1.2.0.tgz#40e79deec807d82b0f3ddc8782c3b8a2e618ff3a"
280280
optionalDependencies:
281-
app-builder-bin-linux "1.1.0"
282-
app-builder-bin-mac "1.1.0"
283-
app-builder-bin-win "1.1.0"
281+
app-builder-bin-linux "1.2.0"
282+
app-builder-bin-mac "1.2.0"
283+
app-builder-bin-win "1.2.0"
284284

285285
append-transform@^0.4.0:
286286
version "0.4.0"
@@ -451,9 +451,9 @@ asynckit@^0.4.0:
451451
version "0.4.0"
452452
resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79"
453453

454-
aws-sdk@^2.190.0:
455-
version "2.190.0"
456-
resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.190.0.tgz#c7b48b3845345b60795943eb919700cf7edf5734"
454+
aws-sdk@^2.191.0:
455+
version "2.191.0"
456+
resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.191.0.tgz#f6e7d0e952b43110702c126f6747b8ec66553da5"
457457
dependencies:
458458
buffer "4.9.1"
459459
events "^1.1.1"

0 commit comments

Comments
 (0)