forked from electron-userland/electron-builder
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP: MSI installer electron-userland#723
- Loading branch information
Showing
23 changed files
with
446 additions
and
178 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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,52 @@ | ||
import { TargetSpecificOptions } from "../core" | ||
|
||
export interface AppXOptions extends TargetSpecificOptions { | ||
/** | ||
* The application id. Defaults to `identityName`. Can’t start with numbers. | ||
*/ | ||
readonly applicationId?: string | ||
|
||
/** | ||
* The background color of the app tile. See [Visual Elements](https://msdn.microsoft.com/en-us/library/windows/apps/br211471.aspx). | ||
* @default #464646 | ||
*/ | ||
readonly backgroundColor?: string | null | ||
|
||
/** | ||
* A friendly name that can be displayed to users. Corresponds to [Properties.DisplayName](https://msdn.microsoft.com/en-us/library/windows/apps/br211432.aspx). | ||
* Defaults to the application product name. | ||
*/ | ||
readonly displayName?: string | null | ||
|
||
/** | ||
* The name. Corresponds to [Identity.Name](https://msdn.microsoft.com/en-us/library/windows/apps/br211441.aspx). Defaults to the [application name](/configuration/configuration#Metadata-name). | ||
*/ | ||
readonly identityName?: string | null | ||
|
||
/** | ||
* The Windows Store publisher. Not used if AppX is build for testing. See [AppX Package Code Signing](#appx-package-code-signing) below. | ||
*/ | ||
readonly publisher?: string | null | ||
|
||
/** | ||
* A friendly name for the publisher that can be displayed to users. Corresponds to [Properties.PublisherDisplayName](https://msdn.microsoft.com/en-us/library/windows/apps/br211460.aspx). | ||
* Defaults to company name from the application metadata. | ||
*/ | ||
readonly publisherDisplayName?: string | null | ||
|
||
/** | ||
* The list of [supported languages](https://docs.microsoft.com/en-us/windows/uwp/globalizing/manage-language-and-region#specify-the-supported-languages-in-the-apps-manifest) that will be listed in the Windows Store. | ||
* The first entry (index 0) will be the default language. | ||
* Defaults to en-US if omitted. | ||
*/ | ||
readonly languages?: Array<string> | string | null | ||
|
||
/** | ||
* @private | ||
* @default false | ||
*/ | ||
readonly electronUpdaterAware?: boolean | ||
|
||
/** @private */ | ||
readonly makeappxArgs?: Array<string> | null | ||
} |
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,26 @@ | ||
import { TargetSpecificOptions } from "../core" | ||
|
||
export interface MsiOptions extends TargetSpecificOptions { | ||
/** | ||
* One-click installation. | ||
* @default true | ||
*/ | ||
readonly oneClick?: boolean | ||
|
||
/*** | ||
* Install per all users (per-machine). | ||
* @default true | ||
*/ | ||
readonly perMachine?: boolean | ||
|
||
/** | ||
* The [upgrade code](https://msdn.microsoft.com/en-us/library/windows/desktop/aa372375(v=vs.85).aspx). Optional, by default generated using app id. | ||
*/ | ||
readonly upgradeCode?: string | null | ||
|
||
/** | ||
* If `warningsAsErrors` is `true` (default): treat warnings as errors. If `warningsAsErrors` is `false`: allow warnings. | ||
* @default true | ||
*/ | ||
readonly warningsAsErrors?: boolean | ||
} |
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
Oops, something went wrong.