-
Notifications
You must be signed in to change notification settings - Fork 909
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Innei <tukon479@gmail.com>
- Loading branch information
Showing
4 changed files
with
71 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
diff --git a/dist/src/MakerAppimage.d.ts b/dist/src/MakerAppimage.d.ts | ||
index 389100d510dd90c10b28d3f3ee0996c01a7714d9..7fa2bfd46bbf7b7d10e4b0190fda6a3fae053c37 100644 | ||
--- a/dist/src/MakerAppimage.d.ts | ||
+++ b/dist/src/MakerAppimage.d.ts | ||
@@ -1,14 +1,28 @@ | ||
-import MakerBase, { MakerOptions } from "@electron-forge/maker-base"; | ||
-import { ForgePlatform } from "@electron-forge/shared-types"; | ||
-import { MakerAppImageConfig } from "./Config"; | ||
+import MakerBase, { MakerOptions } from "@electron-forge/maker-base" | ||
+import { ForgePlatform } from "@electron-forge/shared-types" | ||
+import { MakerAppImageConfig } from "./Config" | ||
+ | ||
+export interface AppImageForgeConfig { | ||
+ template?: string | ||
+ chmodChromeSandbox?: string | ||
+ icons?: { file: string; size: number }[] | ||
+} | ||
+ | ||
export default class MakerAppImage extends MakerBase<MakerAppImageConfig> { | ||
- name: string; | ||
- defaultPlatforms: ForgePlatform[]; | ||
- isSupportedOnCurrentPlatform(): boolean; | ||
- make({ dir, // '/home/build/Software/monorepo/packages/electron/out/canary/name-linux-x64' | ||
+ constructor(private config: { config: AppImageForgeConfig }) { | ||
+ super() | ||
+ } | ||
+ | ||
+ name: string | ||
+ defaultPlatforms: ForgePlatform[] | ||
+ isSupportedOnCurrentPlatform(): boolean | ||
+ make({ | ||
+ dir, // '/home/build/Software/monorepo/packages/electron/out/canary/name-linux-x64' | ||
appName, // 'name' | ||
makeDir, // '/home/build/Software/monorepo/packages/electron/out/canary/make', | ||
targetArch, // 'x64' | ||
- packageJSON, targetPlatform, //'linux', | ||
- forgeConfig, }: MakerOptions): Promise<string[]>; | ||
+ packageJSON, | ||
+ targetPlatform, //'linux', | ||
+ forgeConfig, | ||
+ }: MakerOptions): Promise<string[]> | ||
} | ||
diff --git a/dist/src/MakerAppimage.js b/dist/src/MakerAppimage.js | ||
index a57b183ad759c91aa36691a430e87c385ba63f62..a0bce031399f4dbc7cefab9a5c4460ee4cd88518 100644 | ||
--- a/dist/src/MakerAppimage.js | ||
+++ b/dist/src/MakerAppimage.js | ||
@@ -48,7 +48,7 @@ const isIForgeResolvableMaker = (maker) => { | ||
class MakerAppImage extends maker_base_1.default { | ||
constructor() { | ||
super(...arguments); | ||
- this.name = "appImage"; | ||
+ this.name = makerPackageName; | ||
this.defaultPlatforms = ["linux"]; | ||
} | ||
isSupportedOnCurrentPlatform() { |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.