Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

docs(shortcuts): list the Windows and Linux close, quit, address and Alt arrow shortcuts

Tw93f5cb701dbdf9
diff --git a/docs/shortcuts.md b/docs/shortcuts.md
index ad136ebe..f1530ace 100644
--- a/docs/shortcuts.md
+++ b/docs/shortcuts.md
@@ -8,23 +8,24 @@
Every app Pake builds has these shortcuts, on top of the ones the website itself defines.
-| Mac | Windows and Linux | Action |
-| --------- | ----------------- | ----------------------------------- |
-| `⌘ [` | `Ctrl [` | Go back |
-| `⌘ ]` | `Ctrl ]` | Go forward |
-| `⌘ ↑` | `Ctrl ↑` | Scroll to the top of the page |
-| `⌘ ↓` | `Ctrl ↓` | Scroll to the bottom of the page |
-| `⌘ R` | `Ctrl R` | Reload the page |
-| `⌘ W` | Mac only | Hide the window without quitting |
-| `⌘ -` | `Ctrl -` | Zoom out |
-| `⌘ =` | `Ctrl =` | Zoom in |
-| `⌘ 0` | `Ctrl 0` | Reset zoom |
-| `⌘ L` | Mac only | Copy the current page URL |
-| `⌘ ⇧ ⌥ V` | Mac only | Paste and match style |
-| `⌘ ⇧ H` | Mac only | Go to the home page |
-| `⌘ ⇧ ⌫` | Mac only | Clear the cache and restart |
-| `⌃ ⌘ F` | `F11` | Toggle fullscreen |
-| `⌘ ⌥ I` | `Ctrl Shift I` | Toggle developer tools (debug only) |
+| Mac | Windows and Linux | Action |
+| --------- | ------------------- | ----------------------------------- |
+| `⌘ [` | `Ctrl [` or `Alt ←` | Go back |
+| `⌘ ]` | `Ctrl ]` or `Alt →` | Go forward |
+| `⌘ ↑` | `Ctrl ↑` | Scroll to the top of the page |
+| `⌘ ↓` | `Ctrl ↓` | Scroll to the bottom of the page |
+| `⌘ R` | `Ctrl R` | Reload the page |
+| `⌘ W` | `Ctrl W` | Close the window, or hide it |
+| `⌘ Q` | `Ctrl Q` | Quit the app |
+| `⌘ -` | `Ctrl -` | Zoom out |
+| `⌘ =` | `Ctrl =` | Zoom in |
+| `⌘ 0` | `Ctrl 0` | Reset zoom |
+| `⌘ L` | `Ctrl L` | Copy the current page URL |
+| `⌘ ⇧ ⌥ V` | Mac only | Paste and match style |
+| `⌘ ⇧ H` | Mac only | Go to the home page |
+| `⌘ ⇧ ⌫` | Mac only | Clear the cache and restart |
+| `⌃ ⌘ F` | `F11` | Toggle fullscreen |
+| `⌘ ⌥ I` | `Ctrl Shift I` | Toggle developer tools (debug only) |
## Shortcuts that need an option
diff --git a/docs/shortcuts_CN.md b/docs/shortcuts_CN.md
index f754ba59..6ed2170c 100644
--- a/docs/shortcuts_CN.md
+++ b/docs/shortcuts_CN.md
@@ -8,23 +8,24 @@
Pake 打包出来的每个应用都带下面这些快捷键,网站自己定义的快捷键照常可用。
-| Mac | Windows 和 Linux | 功能 |
-| --------- | ---------------- | -------------------------- |
-| `⌘ [` | `Ctrl [` | 返回上一页 |
-| `⌘ ]` | `Ctrl ]` | 前进到下一页 |
-| `⌘ ↑` | `Ctrl ↑` | 滚动到页面顶部 |
-| `⌘ ↓` | `Ctrl ↓` | 滚动到页面底部 |
-| `⌘ R` | `Ctrl R` | 刷新页面 |
-| `⌘ W` | 仅 Mac | 隐藏窗口,不退出应用 |
-| `⌘ -` | `Ctrl -` | 缩小页面 |
-| `⌘ =` | `Ctrl =` | 放大页面 |
-| `⌘ 0` | `Ctrl 0` | 重置缩放 |
-| `⌘ L` | 仅 Mac | 复制当前页面网址 |
-| `⌘ ⇧ ⌥ V` | 仅 Mac | 粘贴并匹配样式 |
-| `⌘ ⇧ H` | 仅 Mac | 回到首页 |
-| `⌘ ⇧ ⌫` | 仅 Mac | 清除缓存并重启 |
-| `⌃ ⌘ F` | `F11` | 切换全屏 |
-| `⌘ ⌥ I` | `Ctrl Shift I` | 开关开发者工具(仅调试版) |
+| Mac | Windows 和 Linux | 功能 |
+| --------- | ------------------- | -------------------------- |
+| `⌘ [` | `Ctrl [` 或 `Alt ←` | 返回上一页 |
+| `⌘ ]` | `Ctrl ]` 或 `Alt →` | 前进到下一页 |
+| `⌘ ↑` | `Ctrl ↑` | 滚动到页面顶部 |
+| `⌘ ↓` | `Ctrl ↓` | 滚动到页面底部 |
+| `⌘ R` | `Ctrl R` | 刷新页面 |
+| `⌘ W` | `Ctrl W` | 关闭窗口,或隐藏到后台 |
+| `⌘ Q` | `Ctrl Q` | 退出应用 |
+| `⌘ -` | `Ctrl -` | 缩小页面 |
+| `⌘ =` | `Ctrl =` | 放大页面 |
+| `⌘ 0` | `Ctrl 0` | 重置缩放 |
+| `⌘ L` | `Ctrl L` | 复制当前页面网址 |
+| `⌘ ⇧ ⌥ V` | 仅 Mac | 粘贴并匹配样式 |
+| `⌘ ⇧ H` | 仅 Mac | 回到首页 |
+| `⌘ ⇧ ⌫` | 仅 Mac | 清除缓存并重启 |
+| `⌃ ⌘ F` | `F11` | 切换全屏 |
+| `⌘ ⌥ I` | `Ctrl Shift I` | 开关开发者工具(仅调试版) |
## 需要打包参数的快捷键