Skip to content

Conversation

@diemonic1
Copy link

This plugin allows you to add additional buttons to the Steam client, which allow you to launch any programs on your computer or open websites Millennium buttons open two links on the Internet - https://steambrew.app/plugins and https://steambrew.app/themes At any time, at the request of the user, they can be changed or deleted through the settings.json file They are inserted solely as an example of what this plugin can be used for - if the user does not need these buttons, he can remove them.

The program allows you to launch not only third-party websites through buttons, but also local programs. For this, an analog of the os.execute command is used ("cmd /c launch "" /B "startup program""), which allows you to launch the application without opening the console window.

This plugin allows you to add additional buttons to the Steam client, which allow you to launch any programs on your computer or open websites
Millennium buttons open two links on the Internet - https://steambrew.app/plugins and https://steambrew.app/themes
At any time, at the request of the user, they can be changed or deleted through the settings.json file
They are inserted solely as an example of what this plugin can be used for - if the user does not need these buttons, he can remove them.

The program allows you to launch not only third-party websites through buttons, but also local programs. For this, an analog of the os.execute command is used ("cmd /c launch "" /B "startup program""), which allows you to launch the application without opening the console window.
@shdwmtr
Copy link
Member

shdwmtr commented Jan 16, 2026

I feel like I already responded to this PR, but maybe I forgot to click send.

Don't use cmd commands, its highly insecure and not cross platform. In javascript, Steam provides an API to open folders and websites under SteamClient.System.

@diemonic1
Copy link
Author

I feel like I already responded to this PR, but maybe I forgot to click send.

Don't use cmd commands, its highly insecure and not cross platform. In javascript, Steam provides an API to open folders and websites under SteamClient.System.

Yes, JS allows you to open folders and sites, but the point of this plugin is the ability to launch third-party programs (for example, the EGS launcher) directly from the steam interface. Without running third-party programs, this plugin loses a huge part of its functionality.

What then are the alternatives that allow you to run the other program without using the console?

@shdwmtr
Copy link
Member

shdwmtr commented Jan 18, 2026

as you know, Millennium uses Lua JIT, so you can use the ffi to directly call CreateProcessA from the windows API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants