Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add command parameters for restarting or reloading configuration to StartMenu #2112

Open
mencall opened this issue Jan 24, 2025 · 0 comments
Labels
Enhancement/Feature Request An Enhancement/Feature request by the community

Comments

@mencall
Copy link

mencall commented Jan 24, 2025

Is your feature request related to a problem? Please describe.

Recently, I tried to integrate localized languages ​​(zh-CN.dll, StartMenuL10N.ini) through the command line(in self-extracting package). I needed to restart StartMenu to reload the language resource file, but I encountered a problem.
The normal operation is to right-click the start menu, select exit (StartMenu), and then re-run StartMenu.exe.
If it is a command line, run StartMenu.exe -exit or use taskkill to end the StartMenu.exe process (or related modules).
But in fact, in the self-extracting package, running StartMenu.exe -exit and StartMenu.exe continuously, StartMenu did not start successfully (the command can be seen running in the process, but StartMenu has exited), and the taskkill method does not work.
It seems that when StartMenu.exe -exit or ending the process, although the command has been run, there is a signal or something that has not been released or something, and StartMenu.exe is a single instance, so this method fails to restart.
Although you can use timeout to delay the wait, in the self-extracting package, the effective waiting time is uncertain, and it may take three or four seconds to ensure success, which is inconvenient.
It takes about four seconds. In fact, in the command of the self-extracting package, I added four StartMenu.exe commands with a timeout of 1 second after the first StartMenu.exe (because it is a single-instance program, it doesn’t matter if you call multiple).

Also, when StartMenu enables the Win+x menu, can a "StartMenu Setting" menu be added?

(Sorry, machine translation,Uh, I can't figure out the style here, why is it show bold, it doesn't seem normal)

Describe the solution you'd like

So, I hope to add a command parameter for restarting or reloading the configuration to StartMenu, thank you!

I hope to be able to set StartMenu when using the Win+x menu.

Area of issue

Start menu

Alternatives you've considered

No response

Additional context

No response

@mencall mencall added the Enhancement/Feature Request An Enhancement/Feature request by the community label Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement/Feature Request An Enhancement/Feature request by the community
Projects
None yet
Development

No branches or pull requests

1 participant