Skip to content

Commit

Permalink
Permit to run gz sim -g on Windows (gazebosim#2382)
Browse files Browse the repository at this point in the history
Signed-off-by: Silvio Traversaro <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
traversaro and mergify[bot] authored Jun 26, 2024
1 parent cd9a855 commit 04a5e0d
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/cmd/cmdsim.rb.in
Original file line number Diff line number Diff line change
Expand Up @@ -598,12 +598,6 @@ See https://github.com/gazebosim/gz-sim/issues/168 for more info."
options['record-period'], options['seed'])
# Otherwise run the gui
else options['gui']
if plugin.end_with? ".dll"
puts "`gz sim` currently only works with the -s argument on Windows.
See https://github.com/gazebosim/gz-sim/issues/168 for more info."
exit(-1)
end

ENV['RMT_PORT'] = '1501'
Importer.runGui(options['gui_config'], options['file'],
options['wait_gui'], options['render_engine_gui'],
Expand Down

0 comments on commit 04a5e0d

Please sign in to comment.