DTSW-7392-Create-WebGL-version #544
Open
+117
−31
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces support for managing and running the Duckiematrix application in "WebGL" mode, alongside improvements to version handling and command-line argument parsing. The changes ensure that commands can target both standard and WebGL builds, streamline version management per operating system family, and add browser-based launching capabilities.
WebGL Mode Support
--webglargument toinstall,info, andruncommands, allowing users to install, query, and run the WebGL version of Duckiematrix. The code now determines the operating system family dynamically and passes it to relevant utility functions. [1] [2] [3]get_latest_version,get_all_installed_releases, andget_most_recent_version_installednow accept anos_familyparameter, enabling version management per OS family (including "webgl").Browser Launching Functionality
--browser,--host, and--portarguments to theruncommand. When--browseris specified, the app launches a local HTTP server and opens the Duckiematrix WebGL build in the user's browser, passing relevant parameters via the URL. [1] [2]Version and Release Handling Improvements
v1.2.3-webgl), and all logging and release checks use this format. This prevents confusion between releases for different platforms. [1] [2] [3] [4] [5] [6] [7]Command-Line Argument Parsing Consistency
--update,--force,--version) to ensure consistent behavior and easier handling of flags.File Handling and Metadata Improvements
Let me know if you'd like more details about any specific change!