mirror of
https://github.com/lencx/ChatGPT.git
synced 2024-10-01 01:06:13 -04:00
chore: menu
This commit is contained in:
parent
56c0b8616d
commit
2cf9da20ea
@ -13,6 +13,13 @@
|
|||||||
|
|
||||||
**New repository: https://github.com/lencx/nofwl**
|
**New repository: https://github.com/lencx/nofwl**
|
||||||
|
|
||||||
|
## v0.11.1
|
||||||
|
|
||||||
|
Fix:
|
||||||
|
|
||||||
|
- Export button blinks (https://github.com/lencx/ChatGPT/issues/541)
|
||||||
|
- System tray supports sending with Enter key, for text line breaks please use the shortcut key `Shift + Enter` (https://github.com/lencx/ChatGPT/issues/533)
|
||||||
|
|
||||||
## v0.11.0
|
## v0.11.0
|
||||||
|
|
||||||
Fix:
|
Fix:
|
||||||
|
@ -143,6 +143,7 @@ pub fn init() -> Menu {
|
|||||||
.into(),
|
.into(),
|
||||||
CustomMenuItem::new("clear_conf".to_string(), "Clear Config").into(),
|
CustomMenuItem::new("clear_conf".to_string(), "Clear Config").into(),
|
||||||
MenuItem::Separator.into(),
|
MenuItem::Separator.into(),
|
||||||
|
CustomMenuItem::new("nofwl".to_string(), "NoFWL Desktop Application").into(),
|
||||||
CustomMenuItem::new("buy_coffee".to_string(), "Buy lencx a coffee").into(),
|
CustomMenuItem::new("buy_coffee".to_string(), "Buy lencx a coffee").into(),
|
||||||
]),
|
]),
|
||||||
);
|
);
|
||||||
@ -257,6 +258,7 @@ pub fn menu_handler(event: WindowMenuEvent<tauri::Wry>) {
|
|||||||
conf::APP_WEBSITE.into(),
|
conf::APP_WEBSITE.into(),
|
||||||
None,
|
None,
|
||||||
),
|
),
|
||||||
|
"nofwl" => open(&app, conf::NOFWL_APP.to_string()),
|
||||||
"buy_coffee" => open(&app, conf::BUY_COFFEE.to_string()),
|
"buy_coffee" => open(&app, conf::BUY_COFFEE.to_string()),
|
||||||
"popup_search" => {
|
"popup_search" => {
|
||||||
let app_conf = AppConf::read();
|
let app_conf = AppConf::read();
|
||||||
|
@ -10,6 +10,7 @@ use crate::utils::{app_root, create_file, exists};
|
|||||||
|
|
||||||
pub const APP_WEBSITE: &str = "https://lencx.github.io/app/";
|
pub const APP_WEBSITE: &str = "https://lencx.github.io/app/";
|
||||||
pub const ISSUES_URL: &str = "https://github.com/lencx/ChatGPT/issues";
|
pub const ISSUES_URL: &str = "https://github.com/lencx/ChatGPT/issues";
|
||||||
|
pub const NOFWL_APP: &str = "https://github.com/lencx/nofwl";
|
||||||
pub const UPDATE_LOG_URL: &str = "https://github.com/lencx/ChatGPT/blob/main/UPDATE_LOG.md";
|
pub const UPDATE_LOG_URL: &str = "https://github.com/lencx/ChatGPT/blob/main/UPDATE_LOG.md";
|
||||||
pub const BUY_COFFEE: &str = "https://www.buymeacoffee.com/lencx";
|
pub const BUY_COFFEE: &str = "https://www.buymeacoffee.com/lencx";
|
||||||
pub const GITHUB_PROMPTS_CSV_URL: &str =
|
pub const GITHUB_PROMPTS_CSV_URL: &str =
|
||||||
|
Loading…
Reference in New Issue
Block a user