Skip to content

[Bug]: Application Menu Not visible  #133

@ankitkabra-bacancy

Description

@ankitkabra-bacancy

What happened?

As I tried with fresh laravel 10 installed with node v 20 I tried to built native desktop app in windows 11. I able to up the app but when exploring Application menu section from here

I just pasted this sample code

`
Menu::new()
->appMenu()
->submenu('NativePHP', Menu::new()
->link('https://nativephp.com', 'Documentation')
)
->register();

Window::open();

`

But app is up but the menu is not visible ? can anybuddy or author help me to findout what's the cause of this ?

Laravel verison : 10.10
Node version : 20.5.0
NPM version : 8.3.2
Platform : Windows
OS : Windows 11 22H2 (build 22621.1992)

image

How to reproduce the bug

  • Install fresh laravel 10
  • install native php and build the windows build first.
  • then serve the native php
  • as per doc just paste the sample code to create menu bar.
  • once app is up you will see nothing in application menu.

Package Version

0.3.2

PHP Version

8.1.2

Laravel Version

10.10

Which operating systems does with happen with?

Windows

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingwindows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions