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

Move most of the launching code into libdotdesktop_standard so that RetiledStart can use it more easily. #10

Closed
DrewNaylor opened this issue Jul 11, 2021 · 3 comments

Comments

@DrewNaylor
Copy link
Owner

There will be arguments that can be set when calling the launcher code in case it's being run from LaunchDotDesktop, mainly the input box thing. May have to get rid of that if it won't build, or check if it's running on Windows or not.

@DrewNaylor
Copy link
Owner Author

DrewNaylor commented Jul 11, 2021

What I can do is move most of the code into a cleaning function, then have it return a mostly-cleaned Exec key. Afterward the application using libdotdesktop_standard is responsible for cleaning up any remaining stuff (such as the file browse dialog-related part), just so that the Windows Forms dependency can be removed to prevent issues on Linux and FreeBSD (if .NET is ever officially supported on it and I can figure out how to support it and get around to a build for it).

@DrewNaylor
Copy link
Owner Author

Actually, I could have an optional argument that will fully clean the Exec key, removing the %u and %f stuff as an example. Programs using it will then have an option to replace those strings their own way.

@DrewNaylor
Copy link
Owner Author

This is mostly done now. See #13 for the latest developments.

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

No branches or pull requests

1 participant