• 
      

    Fix the target executable path for the rbt shortcuts on Windows.

    Review Request #14505 — Created July 14, 2025 and submitted — Latest diff uploaded

    Information

    RBTools
    release-5.x

    Reviewers

    Python packages used to install the RBTools entrypoint as
    Scripts\rbt-script.py, which was a Python script that ran
    rbtools.__main__(). This changed at least as of our last release. The
    modern tooling instead installed that as rbt.exe.

    These are exe files that run themselves as Python scripts, so we can
    still link to them. They are, unfortunately, installed using
    non-relocatable paths to the Python executable, so we can't include them
    directly in the path. However, we fortunately can continue to pass them
    to python as scripts, and it'll do the right thing.

    Our rbt and rbt.cmd files have been updated to wrap these instead of
    the old path.

    Installed these on Windows and verified I could successfully run rbt.

    Commits

    Files