Skip to content

Commit

Permalink
feat(appx): languages
Browse files Browse the repository at this point in the history
  • Loading branch information
black-snow authored and develar committed Jun 17, 2017
1 parent ee90ff2 commit 8549311
Show file tree
Hide file tree
Showing 7 changed files with 64 additions and 15 deletions.
1 change: 1 addition & 0 deletions docs/Auto Update.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ Emitted on progress. Only supported over Windows build, since `Squirrel.Mac` [do
* <a name="UpdateInfo-releaseNotes"></a>`releaseNotes` String - The release notes.
* <a name="UpdateInfo-releaseDate"></a>**`releaseDate`** String - The release date.
* <a name="UpdateInfo-sha512"></a>`sha512` String
* <a name="UpdateInfo-stagingPercentage"></a>`stagingPercentage` Number - The [staged rollout](https://github.com/electron-userland/electron-builder/wiki/Auto-Update#staged-rollouts) percentage, 0-100.
* <a name="UpdateInfo-version"></a>**`version`** String - The version.

<a name="VersionInfo"></a>
Expand Down
3 changes: 2 additions & 1 deletion docs/Options.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,8 @@ Configuration Options
* <a name="AppXOptions-publisher"></a>`publisher` String - Describes the publisher information in a form `CN=your name exactly as in your cert`. The Publisher attribute must match the publisher subject information of the certificate used to sign a package. By default will be extracted from code sign certificate.
* <a name="AppXOptions-displayName"></a>`displayName` String - A friendly name that can be displayed to users. Corresponds to [Properties.DisplayName](https://msdn.microsoft.com/en-us/library/windows/apps/br211432.aspx).
* <a name="AppXOptions-publisherDisplayName"></a>`publisherDisplayName` String - 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).
* <a name="AppXOptions-identityName"></a>`identityName` String - Describes the contents of the package. The Name attribute is case-sensitive. Corresponds to [Identity.Name](https://msdn.microsoft.com/en-us/library/windows/apps/br211441.aspx).
* <a name="AppXOptions-identityName"></a>`identityName` = `${name}` String - The name. Corresponds to [Identity.Name](https://msdn.microsoft.com/en-us/library/windows/apps/br211441.aspx).
* <a name="AppXOptions-languages"></a>`languages` Array&lt;String&gt; | String - 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.
* <a name="AppXOptions-artifactName"></a>`artifactName` String - The [artifact file name pattern](https://github.com/electron-userland/electron-builder/wiki/Options#artifact-file-name-pattern).
* <a name="AppXOptions-publish"></a>`publish` String | [GithubOptions](Publishing-Artifacts#GithubOptions) | [S3Options](Publishing-Artifacts#S3Options) | [GenericServerOptions](Publishing-Artifacts#GenericServerOptions) | [BintrayOptions](Publishing-Artifacts#BintrayOptions) | Array
* <a name="Config-squirrelWindows"></a>`squirrelWindows`<a name="SquirrelWindowsOptions"></a> - Squirrel.Windows options.
Expand Down
15 changes: 13 additions & 2 deletions docs/api/electron-builder.md
Original file line number Diff line number Diff line change
Expand Up @@ -430,10 +430,11 @@
* [electron-builder/out/codeSign](#module_electron-builder/out/codeSign)
* [`.CodeSigningInfo`](#CodeSigningInfo)
* [`.CreateKeychainOptions`](#CreateKeychainOptions)
* [.Identity](#Identity)
* [`.findIdentityRawResult`](#module_electron-builder/out/codeSign.findIdentityRawResult) : <code>Promise&lt;Array&lt;String&gt;&gt;</code> \| <code>null</code>
* [`.createKeychain(undefined)`](#module_electron-builder/out/codeSign.createKeychain) ⇒ <code>Promise&lt;[CodeSigningInfo](#CodeSigningInfo)&gt;</code>
* [`.downloadCertificate(urlOrBase64, tmpDir, currentDir)`](#module_electron-builder/out/codeSign.downloadCertificate) ⇒ <code>Promise&lt;String&gt;</code>
* [`.findIdentity(certType, qualifier, keychain)`](#module_electron-builder/out/codeSign.findIdentity) ⇒ <code>Promise&lt; \| String&gt;</code>
* [`.findIdentity(certType, qualifier, keychain)`](#module_electron-builder/out/codeSign.findIdentity) ⇒ <code>Promise&lt; \| Identity&gt;</code>
* [`.sign(path, name, keychain)`](#module_electron-builder/out/codeSign.sign) ⇒ <code>Promise&lt;any&gt;</code>

<a name="CodeSigningInfo"></a>
Expand All @@ -459,6 +460,16 @@
| cscIKeyPassword| <code>String</code> \| <code>null</code> |
| **currentDir**| <code>String</code> |

<a name="Identity"></a>
### Identity
**Kind**: class of [<code>electron-builder/out/codeSign</code>](#module_electron-builder/out/codeSign)
**Properties**

| Name | Type |
| --- | --- |
| name| <code>String</code> |
| hash| <code>String</code> |

<a name="module_electron-builder/out/codeSign.findIdentityRawResult"></a>
### `electron-builder/out/codeSign.findIdentityRawResult` : <code>Promise&lt;Array&lt;String&gt;&gt;</code> \| <code>null</code>
**Kind**: property of [<code>electron-builder/out/codeSign</code>](#module_electron-builder/out/codeSign)
Expand All @@ -481,7 +492,7 @@
| currentDir | <code>String</code> |

<a name="module_electron-builder/out/codeSign.findIdentity"></a>
### `electron-builder/out/codeSign.findIdentity(certType, qualifier, keychain)` ⇒ <code>Promise&lt; \| String&gt;</code>
### `electron-builder/out/codeSign.findIdentity(certType, qualifier, keychain)` ⇒ <code>Promise&lt; \| Identity&gt;</code>
**Kind**: method of [<code>electron-builder/out/codeSign</code>](#module_electron-builder/out/codeSign)

| Param | Type |
Expand Down
10 changes: 9 additions & 1 deletion packages/electron-builder/src/options/winOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,15 @@ export interface AppXOptions extends TargetSpecificOptions {
readonly publisherDisplayName?: string | null

/**
* Describes the contents of the package. The Name attribute is case-sensitive. Corresponds to [Identity.Name](https://msdn.microsoft.com/en-us/library/windows/apps/br211441.aspx).
* The name. Corresponds to [Identity.Name](https://msdn.microsoft.com/en-us/library/windows/apps/br211441.aspx).
* @default ${name}
*/
readonly identityName?: 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
}
32 changes: 23 additions & 9 deletions packages/electron-builder/src/targets/appx.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import BluebirdPromise from "bluebird-lst"
import { exec, spawn, use } from "electron-builder-util"
import { asArray, exec, spawn, use } from "electron-builder-util"
import { deepAssign } from "electron-builder-util/out/deepAssign"
import { copyDir, copyFile } from "electron-builder-util/out/fs"
import { asyncAll, orIfFileNotExist } from "electron-builder-util/out/promise"
Expand All @@ -19,6 +19,8 @@ const vendorAssetsForDefaultAssets: { [key: string]: string; } = {
"Wide310x150Logo.png": "SampleAppx.310x150.png",
}

const DEFAULT_RESOURCE_LANG = "en-US"

export default class AppXTarget extends Target {
readonly options: AppXOptions = deepAssign({}, this.packager.platformSpecificBuildOptions, this.packager.config.appx)

Expand Down Expand Up @@ -94,14 +96,15 @@ export default class AppXTarget extends Target {

private async writeManifest(templatePath: string, preAppx: string, arch: Arch, publisher: string, userAssets: Array<string>) {
const appInfo = this.packager.appInfo
const options = this.options
const manifest = (await readFile(path.join(templatePath, "appxmanifest.xml"), "utf8"))
.replace(/\$\{([a-zA-Z0-9]+)\}/g, (match, p1): string => {
switch (p1) {
case "publisher":
return publisher

case "publisherDisplayName":
const name = this.options.publisherDisplayName || appInfo.companyName
const name = options.publisherDisplayName || appInfo.companyName
if (name == null) {
throw new Error(`Please specify "author" in the application package.json — it is required because "appx.publisherDisplayName" is not set.`)
}
Expand All @@ -112,21 +115,21 @@ export default class AppXTarget extends Target {

case "name":
return appInfo.name

case "identityName":
return this.options.identityName || appInfo.name
return options.identityName || appInfo.name

case "executable":
return `app\\${appInfo.productFilename}.exe`

case "displayName":
return this.options.displayName || appInfo.productName
return options.displayName || appInfo.productName

case "description":
return appInfo.description || appInfo.productName

case "backgroundColor":
return this.options.backgroundColor || "#464646"
return options.backgroundColor || "#464646"

case "logo":
return "assets\\StoreLogo.png"
Expand All @@ -145,10 +148,13 @@ export default class AppXTarget extends Target {

case "splashScreen":
return splashScreenTag(userAssets)

case "arch":
return arch === Arch.ia32 ? "x86" : "x64"

case "resourceLanguages":
return resourceLanguageTag(asArray(options.languages))

default:
throw new Error(`Macro ${p1} is not defined`)
}
Expand All @@ -157,6 +163,14 @@ export default class AppXTarget extends Target {
}
}

// get the resource - language tag, see https://docs.microsoft.com/en-us/windows/uwp/globalizing/manage-language-and-region#specify-the-supported-languages-in-the-apps-manifest
function resourceLanguageTag(userLanguages: Array<string> | null | undefined): string {
if (userLanguages == null || userLanguages.length === 0) {
userLanguages = [DEFAULT_RESOURCE_LANG]
}
return userLanguages.map(it => `<Resource Language="${it}" />`).join("\n")
}

function lockScreenTag(userAssets: Array<string>): string {
if (isDefaultAssetIncluded(userAssets, "BadgeLogo.png")) {
return '<uap:LockScreen Notification="badgeAndTileText" BadgeLogo="assets\\BadgeLogo.png" />'
Expand Down Expand Up @@ -205,4 +219,4 @@ export function quoteString(s: string): string {
}

return `"${s.replace(/"/g, '\\"')}"`
}
}
2 changes: 1 addition & 1 deletion packages/electron-builder/templates/appx/appxmanifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<Logo>${logo}</Logo>
</Properties>
<Resources>
<Resource Language="en-us" />
${resourceLanguages}
</Resources>
<Dependencies>
<TargetDeviceFamily Name="Windows.Desktop" MinVersion="10.0.14316.0" MaxVersionTested="10.0.14316.0" />
Expand Down
16 changes: 15 additions & 1 deletion test/src/windows/appxTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,22 @@ import { Arch, Platform } from "electron-builder"
import { app } from "../helpers/packTester"

// noinspection SpellCheckingInspection
const cscLink = "MIIKGgIBAzCCCdYGCSqGSIb3DQEHAaCCCccEggnDMIIJvzCCBggGCSqGSIb3DQEHAaCCBfkEggX1MIIF8TCCBe0GCyqGSIb3DQEMCgECoIIE/jCCBPowHAYKKoZIhvcNAQwBAzAOBAjFi6Zs82xXAQICB9AEggTYHjMRS2UaEBy1FAqMRnj3dsmKf1l66ZtETBK5E6LIEluIcDRnouWsz57ANmW7t+z5v6D1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L3Fq9G3rUD9cwt2GidBHT3VT1WUPlBbdCvii2s281E8drUYpjr5lgRs6J2jfEq1l4JdGushc0DIzaAoJ4tteRWxt5ZlZNcEZ9ZPvY/hyI7GfIfztUqqY4Md3RjXQ+/yJ7DM6J0Ok8LdE0KgjQKQEvCFPwLvCegGUSrHUo1qCqX8MDswHzAHBgUrDgMCGgQUXQ3Irq4WiB5NSmUJei7vRetoshQEFIoYo6UaCc1oUBknhorkkluKTToyAgIH0A==\n",
cscLink: cscLink,
cscKeyPassword: "",
}))

// todo - check manifest
test.ifWindows("languages", app({
targets: Platform.WINDOWS.createTarget(["appx"]),
cscLink: cscLink,
cscKeyPassword: "",
config: {
appx: {
languages: ["de_DE", "ru_RU"]
}
}
}))

0 comments on commit 8549311

Please sign in to comment.