From: Cheng Zhao Date: Tue, 3 Nov 2015 07:36:44 +0000 (+0800) Subject: docs: app.setAppUserModelId X-Git-Tag: v0.34.3~13^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=726910df39a94d1ac5fee432644cf732f19ee317;p=electron.git docs: app.setAppUserModelId --- diff --git a/docs/api/app.md b/docs/api/app.md index 204155cf..00aade7c 100644 --- a/docs/api/app.md +++ b/docs/api/app.md @@ -375,6 +375,12 @@ app.on('ready', function() { }); ``` +### `app.setAppUserModelId(id)` _Windows_ + +* `id` String + +Changes the [Application User Model ID][app-user-model-id] to `id`. + ### `app.commandLine.appendSwitch(switch[, value])` Append a switch (with optional `value`) to Chromium's command line. @@ -435,3 +441,4 @@ Sets the application's [dock menu][dock-menu]. [dock-menu]:https://developer.apple.com/library/mac/documentation/Carbon/Conceptual/customizing_docktile/concepts/dockconcepts.html#//apple_ref/doc/uid/TP30000986-CH2-TPXREF103 [tasks]:http://msdn.microsoft.com/en-us/library/windows/desktop/dd378460(v=vs.85).aspx#tasks +[app-user-model-id]: https://msdn.microsoft.com/en-us/library/windows/desktop/dd378459(v=vs.85).aspx