electron-forge-maker-msix 0.0.1 → 0.0.2
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.
- package/dist/Maker.d.ts +2 -1
- package/dist/Maker.js +4 -1
- package/package.json +1 -1
package/dist/Maker.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { MakerBase, type MakerOptions } from '@electron-forge/maker-base';
|
|
2
2
|
import type { ForgePlatform } from '@electron-forge/shared-types';
|
|
3
3
|
import { type PackagingOptions } from 'electron-windows-msix';
|
|
4
|
-
type MakerConfig = PackagingOptions
|
|
4
|
+
type MakerConfig = Omit<PackagingOptions, 'outputDir' | 'appDir'>;
|
|
5
5
|
export default class Maker extends MakerBase<MakerConfig> {
|
|
6
6
|
defaultPlatforms: ForgePlatform[];
|
|
7
7
|
name: string;
|
|
8
|
+
isSupportedOnCurrentPlatform(): boolean;
|
|
8
9
|
make({ dir, makeDir, targetArch, packageJSON, appName, }: MakerOptions): Promise<string[]>;
|
|
9
10
|
}
|
|
10
11
|
export {};
|
package/dist/Maker.js
CHANGED
|
@@ -34,7 +34,10 @@ class Maker extends maker_base_1.MakerBase {
|
|
|
34
34
|
constructor() {
|
|
35
35
|
super(...arguments);
|
|
36
36
|
this.defaultPlatforms = ['win32'];
|
|
37
|
-
this.name = 'msix';
|
|
37
|
+
this.name = 'electron-forge-maker-msix';
|
|
38
|
+
}
|
|
39
|
+
isSupportedOnCurrentPlatform() {
|
|
40
|
+
return process.platform === 'win32';
|
|
38
41
|
}
|
|
39
42
|
make(_a) {
|
|
40
43
|
return __awaiter(this, arguments, void 0, function* ({ dir, makeDir, targetArch, packageJSON, appName, }) {
|