|
@@ -629,7 +629,7 @@ Returns:
|
|
|
* `event` Event
|
|
|
* `command` string
|
|
|
|
|
|
-Emitted when an [App Command](https://msdn.microsoft.com/en-us/library/windows/desktop/ms646275(v=vs.85).aspx)
|
|
|
+Emitted when an [App Command](https://learn.microsoft.com/en-us/windows/win32/inputdev/wm-appcommand)
|
|
|
is invoked. These are typically related to keyboard media keys or browser
|
|
|
commands, as well as the "Back" button built into some mice on Windows.
|
|
|
|
|
@@ -1657,13 +1657,13 @@ in the taskbar.
|
|
|
#### `win.setAppDetails(options)` _Windows_
|
|
|
|
|
|
* `options` Object
|
|
|
- * `appId` string (optional) - Window's [App User Model ID](https://msdn.microsoft.com/en-us/library/windows/desktop/dd391569(v=vs.85).aspx).
|
|
|
+ * `appId` string (optional) - Window's [App User Model ID](https://learn.microsoft.com/en-us/windows/win32/shell/appids).
|
|
|
It has to be set, otherwise the other options will have no effect.
|
|
|
- * `appIconPath` string (optional) - Window's [Relaunch Icon](https://msdn.microsoft.com/en-us/library/windows/desktop/dd391573(v=vs.85).aspx).
|
|
|
+ * `appIconPath` string (optional) - Window's [Relaunch Icon](https://learn.microsoft.com/en-us/windows/win32/properties/props-system-appusermodel-relaunchiconresource).
|
|
|
* `appIconIndex` Integer (optional) - Index of the icon in `appIconPath`.
|
|
|
Ignored when `appIconPath` is not set. Default is `0`.
|
|
|
- * `relaunchCommand` string (optional) - Window's [Relaunch Command](https://msdn.microsoft.com/en-us/library/windows/desktop/dd391571(v=vs.85).aspx).
|
|
|
- * `relaunchDisplayName` string (optional) - Window's [Relaunch Display Name](https://msdn.microsoft.com/en-us/library/windows/desktop/dd391572(v=vs.85).aspx).
|
|
|
+ * `relaunchCommand` string (optional) - Window's [Relaunch Command](https://learn.microsoft.com/en-us/windows/win32/properties/props-system-appusermodel-relaunchcommand).
|
|
|
+ * `relaunchDisplayName` string (optional) - Window's [Relaunch Display Name](https://learn.microsoft.com/en-us/windows/win32/properties/props-system-appusermodel-relaunchdisplaynameresource).
|
|
|
|
|
|
Sets the properties for the window's taskbar button.
|
|
|
|