Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
shelllet committed Mar 13, 2024
1 parent e778398 commit 59a90dd
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 17 deletions.
16 changes: 15 additions & 1 deletion docx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
# [0.33](https://github.com/shelllet/winui/compare/main...dev) (2024-2-24)
# [0.34](https://github.com/shelllet/winui/compare/main...dev) (2024-3-xx)

### Changed:

1. 改进预览和调试功能。
2. 发送按键支持 <kbd>Alt</kbd> + <kbd>Tab</kbd>。
3. 关机动作优化,增加注销和重启功能。

### Deprecated:

### Note

1. about:blank

## [0.33](https://github.com/shelllet/winui/compare/main...dev) (2024-2-24)

### Changed:

Expand Down
2 changes: 1 addition & 1 deletion docx/_coverpage.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
- Right now support down to build 17763 (version 1809/October 2018 Update) of Windows 10.

[微软商店](https://apps.microsoft.com/store/detail/XP9BRHTXN0Z3V7)
[下载](https://api.winui.net/simple/v3/download ':id=simple')
[下载](https://winui.net/simple/v3/download ':id=simple')


3 changes: 2 additions & 1 deletion docx/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
- [打开应用](./actions/system/OpenApplication.md)
- [打开文件](./actions/system/LaunchFile.md)
- [打开链接](./actions/system/OpenUri.md)
- [关机](./actions/system/ShutdownSystem.md)
- [退出系统](./actions/system/ExitWindows.md)
- [关闭句柄](./actions/system/CloseHandle.md)
- [检测进程](./actions/system/ExistProcess.md)
- [终止进程](./actions/system/KillProcess.md)
Expand Down Expand Up @@ -296,4 +296,5 @@
- [FeatureAlgorithm](./enums/FeatureAlgorithm.md)
- [WindowSortDirection](./enums/WindowSortDirection.md)
- [FileExtension](./enums/FileExtension.md)
- [ExitWindowsOption](./enums/ExitWindowsOption.md)
- [Changelog](./CHANGELOG.md)
2 changes: 1 addition & 1 deletion docx/actions/control/For.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
## 运行参数

* 次数
> 循环次数
> 循环次数, 从 *0* 开始。

## 输出
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# 关机
该动作可以关闭操作系统,也就是电脑关机。
# 退出系统
关闭操作系统,或者注销当前交互的用户,或者重启操作系统。

![ExitWindows](./images/09.png ':size=90%')

![ShutdownSystem](./images/09.png ':size=90%')
## 权限
> 无要求
Expand All @@ -11,24 +12,17 @@
## 运行参数

* 类型
> 注销,关机或者重启,参考:[ExitWindowsOption](./enums/ExitWindowsOption.md)
## 输出

>
## 脚本调用

```python
import simple;

r = simple.ShutdownSystemRunner()

r.run()
```

## 资源

* 示例流程:https://github.com/shelllet/WinUi/blob/main/system/ShutdownSystem.simple
* 示例流程:https://github.com/shelllet/WinUi/blob/main/system/ExitWindows.simple


<iframe type="text/html" height="640px" src="https://www.youtube.com/embed/jILoz5Ctq9w" frameborder="0"></iframe>
Expand Down
8 changes: 8 additions & 0 deletions docx/enums/ExitWindowsOption.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# ExitWindowsOption

* LOGOFF
> 注销。
* REBOOT
> 重启。
* SHUTDOWN
> 关机。

0 comments on commit 59a90dd

Please sign in to comment.