Developer-Sanctuary / Community-UnitedSets

Bringing back Sets and Browser
https://www.microsoft.com/store/apps/9N7CWZ3L5RWL
MIT License
246 stars 11 forks source link

Debugging Improvements / Basic CLI #31

Closed mitchcapper closed 1 year ago

mitchcapper commented 1 year ago

This commit is probably the least useful but makes for a nicer debugging experience id merge this last (if ever).

Adds unpackaged build configuration and app support. Some things are shimmed or don't completely work right now but works for basic testing. Unpackaged app launches/builds a bit faster than packaged. All the unpackaged code is hidden behind a #define flag (unpkg) so should not effect normal code in any way.

Adds a basic CLI handler and a few commands (auto add windows with --add-window-by-exe notepad for example) Adds auto open the editbox for the last window added with --edit-last-added Finally adds --edit-no-autoclose to not automatically close the editbox on focus lost (helps with xaml debugging).

GetGet99 commented 1 year ago

Other than that I think everything else looks great. Just a disclaimer that I might not be able to maintain unpackaged support in the future.

mitchcapper commented 1 year ago

You are right those usings should be removed. Think the VS paste and find usings was a bit too aggressive. As unpackaged is only for devs I hope no one expects maintenance:)