Skip to content

Commit

Permalink
chore: upgrade to Electron Packager 14 & electron-installer-snap 4 (#958
Browse files Browse the repository at this point in the history
)
  • Loading branch information
malept authored Jun 20, 2019
1 parent 641f521 commit 8b497ca
Show file tree
Hide file tree
Showing 6 changed files with 83 additions and 151 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"cross-zip": "^2.1.5",
"debug": "^4.1.0",
"electron-osx-sign": "^0.4.10",
"electron-packager": "^13.0.0",
"electron-packager": "^14.0.0",
"electron-rebuild": "^1.8.5",
"express": "^4.17.1",
"express-ws": "^4.0.0",
Expand Down Expand Up @@ -156,7 +156,7 @@
"electron-installer-debian": "^2.0.0",
"electron-installer-dmg": "^3.0.0",
"electron-installer-redhat": "^2.0.0",
"electron-installer-snap": "^3.2.0",
"electron-installer-snap": "^4.0.0",
"electron-windows-store": "^2.1.0",
"electron-winstaller": "^3.0.4",
"electron-wix-msi": "^2.1.1"
Expand Down
2 changes: 1 addition & 1 deletion packages/api/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"colors": "^1.2.0",
"cross-spawn-promise": "^0.10.1",
"debug": "^4.1.0",
"electron-packager": "^13.0.0",
"electron-packager": "^14.0.0",
"electron-rebuild": "^1.8.5",
"find-up": "^4.1.0",
"fs-extra": "^7.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/api/core/src/util/parse-archs.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ForgePlatform, ForgeArch } from '@electron-forge/shared-types';

const { allOfficialArchsForPlatformAndVersion } = require('electron-packager/targets');
const { allOfficialArchsForPlatformAndVersion } = require('electron-packager/src/targets');

export default function parseArchs(
platform: ForgePlatform | string,
Expand Down
4 changes: 2 additions & 2 deletions packages/maker/snap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
"@electron-forge/shared-types": "6.0.0-beta.39"
},
"optionalDependencies": {
"electron-installer-snap": "^3.2.0"
"electron-installer-snap": "^4.0.0"
}
}
}
4 changes: 2 additions & 2 deletions packages/publisher/snapcraft/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"fs-extra": "^7.0.0"
},
"optionalDependencies": {
"electron-installer-snap": "^3.2.0"
"electron-installer-snap": "^4.0.0"
}
}
}
Loading

0 comments on commit 8b497ca

Please sign in to comment.