@@ -7,7 +7,7 @@ import { all, executeFinally } from "./util/promise"
7
7
import { EventEmitter } from "events"
8
8
import { Promise as BluebirdPromise } from "bluebird"
9
9
import { AppMetadata , DevMetadata , Platform , Arch } from "./metadata"
10
- import { PackagerOptions , PlatformPackager , BuildInfo , ArtifactCreated , Target } from "./platformPackager"
10
+ import { PlatformPackager , BuildInfo , ArtifactCreated , Target } from "./platformPackager"
11
11
import { WinPackager } from "./winPackager"
12
12
import * as errorMessages from "./errorMessages"
13
13
import * as util from "util"
@@ -19,6 +19,7 @@ import MacPackager from "./macPackager"
19
19
import { createTargets } from "./targets/targetFactory"
20
20
import { readPackageJson } from "./util/readPackageJson"
21
21
import { TmpDir } from "./util/tmp"
22
+ import { BuildOptions } from "./builder"
22
23
23
24
//noinspection JSUnusedLocalSymbols
24
25
const __awaiter = require ( "./util/awaiter" )
@@ -45,7 +46,7 @@ export class Packager implements BuildInfo {
45
46
readonly tempDirManager = new TmpDir ( )
46
47
47
48
//noinspection JSUnusedGlobalSymbols
48
- constructor ( public options : PackagerOptions ) {
49
+ constructor ( public options : BuildOptions ) {
49
50
this . projectDir = options . projectDir == null ? process . cwd ( ) : path . resolve ( options . projectDir )
50
51
}
51
52
0 commit comments