Skip to content

Commit

Permalink
fix: do not use scoped asara package
Browse files Browse the repository at this point in the history
Close #610
  • Loading branch information
develar committed Jul 27, 2016
1 parent 63beaaf commit c53074c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion docs/Options.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ See [NSIS target notes](https://github.com/electron-userland/electron-builder/wi
| runAfterFinish | <a name="NsisOptions-runAfterFinish"></a>*one-click installer only.* Run application after finish. Defaults to `true`.
| installerHeader | <a name="NsisOptions-installerHeader"></a>*boring installer only.* `MUI_HEADERIMAGE`, relative to the project directory. Defaults to `build/installerHeader.bmp`
| installerHeaderIcon | <a name="NsisOptions-installerHeaderIcon"></a>*one-click installer only.* The path to header icon (above the progress bar), relative to the project directory. Defaults to `build/installerHeaderIcon.ico` or application icon.
| include | <a name="NsisOptions-include"></a>The path to NSIS include script to customize installer.
| include | <a name="NsisOptions-include"></a>The path to NSIS include script to customize installer. Defaults to `build/installer.nsh`

<a name="LinuxBuildOptions"></a>
### `.build.linux`
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"dependencies": {
"7zip-bin": "^1.0.5",
"ansi-escapes": "^1.4.0",
"@develar/asar": "^0.13.1",
"asar-electron-builder": "^0.13.2",
"bluebird": "^3.4.1",
"chalk": "^1.1.3",
"cli-cursor": "^1.0.2",
Expand Down Expand Up @@ -103,7 +103,6 @@
]
},
"devDependencies": {
"@develar/asar": "^0.13.1",
"@develar/semantic-release": "^6.3.1",
"@types/debug": "0.0.28",
"@types/mime": "0.0.28",
Expand Down
2 changes: 1 addition & 1 deletion src/asarUtil.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AsarFileInfo, listPackage, statFile, AsarOptions, AsarFileMetadata, createPackageFromFiles } from "@develar/asar"
import { AsarFileInfo, listPackage, statFile, AsarOptions, AsarFileMetadata, createPackageFromFiles } from "asar-electron-builder"
import { statOrNull } from "./util/util"
import { lstat, readdir } from "fs-extra-p"
import { Promise as BluebirdPromise } from "bluebird"
Expand Down
2 changes: 1 addition & 1 deletion src/metadata.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AsarOptions } from "@develar/asar"
import { AsarOptions } from "asar-electron-builder"
import { ElectronPackagerOptions } from "./packager/dirPackager"

export interface Metadata {
Expand Down
2 changes: 1 addition & 1 deletion src/platformPackager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import * as path from "path"
import { readdir, remove, realpath } from "fs-extra-p"
import { statOrNull, use, unlinkIfExists, isEmptyOrSpaces } from "./util/util"
import { Packager } from "./packager"
import { AsarOptions } from "@develar/asar"
import { AsarOptions } from "asar-electron-builder"
import { archiveApp } from "./targets/archive"
import { Minimatch } from "minimatch"
import { checkFileInPackage, createAsarArchive } from "./asarUtil"
Expand Down
2 changes: 1 addition & 1 deletion typings/asar.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
declare module "@develar/asar" {
declare module "asar-electron-builder" {
import { Stats } from "fs"

interface AsarFileInfo {
Expand Down

0 comments on commit c53074c

Please sign in to comment.