File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -42,13 +42,16 @@ pub fn run() {
42
42
let handle = app. handle ( ) ;
43
43
44
44
let aboutmeta = AboutMetadataBuilder :: new ( )
45
+ . name ( Some ( "Luxafor-ui" ) )
45
46
. authors ( Some ( vec ! [ String :: from( "Robin Kristiansen" ) ] ) )
47
+ . comments ( Some ( "A simple app to control your Luxafor Flag" ) )
48
+ . copyright ( Some ( "Luxafor-ui is not affiliated with, endorsed by, or associated with Luxafor. Luxafor is a registered trademark of GreyNut SIA." ) )
46
49
. icon ( Some ( handle. default_window_icon ( ) . unwrap ( ) . clone ( ) ) )
47
50
. build ( ) ;
48
51
let about_i = PredefinedMenuItem :: about ( handle, Some ( "About" ) , Some ( aboutmeta) ) ?;
49
52
let quit_i = MenuItemBuilder :: with_id ( "quit" , "Quit" ) . build ( handle) ?;
50
53
let luxafor_ui_i =
51
- MenuItemBuilder :: with_id ( "luxafor-ui " , "Luxafor-ui" ) . build ( handle) ?;
54
+ MenuItemBuilder :: with_id ( "luxafor_ui " , "Luxafor-ui" ) . build ( handle) ?;
52
55
let menu = MenuBuilder :: new ( handle)
53
56
. items ( & [
54
57
& luxafor_ui_i,
@@ -63,7 +66,7 @@ pub fn run() {
63
66
. show_menu_on_left_click ( true )
64
67
. icon ( handle. default_window_icon ( ) . unwrap ( ) . clone ( ) )
65
68
. on_menu_event ( |app, event| match event. id . as_ref ( ) {
66
- "luxafor-ui " => {
69
+ "luxafor_ui " => {
67
70
if let Some ( window) = app. get_webview_window ( "main" ) {
68
71
window. show ( ) . unwrap ( ) ;
69
72
window. unminimize ( ) . unwrap ( ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"$schema" : " https://schema.tauri.app/config/2" ,
3
- "productName" : " luxafor -ui" ,
3
+ "productName" : " Luxafor -ui" ,
4
4
"version" : " 0.1.0" ,
5
5
"identifier" : " no.luxafor-ui.app" ,
6
6
"build" : {
You can’t perform that action at this time.
0 commit comments