Skip to content

Commit da53d18

Browse files
authored
Fix external_control urcapx version to 0.1.0 for PolyScope 10.7.0 (#350)
newer versions support polyscope 10.8.0 and above only.
1 parent bff7bf2 commit da53d18

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/start_ursim.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,12 @@ get_download_url_urcap()
284284

285285
post_setup_polyscopex()
286286
{
287-
get_download_url_urcapx latest
287+
288+
if [[ "$URSIM_VERSION" == "${POLYSCOPE_X_MAP[10.7.0]}" ]]; then
289+
get_download_url_urcapx 0.1.0
290+
else
291+
get_download_url_urcapx latest
292+
fi
288293
mkdir -p "${URCAP_STORAGE}"
289294
urcapx_file="${URCAP_STORAGE}/external-control-$URCAPX_VERSION.urcapx"
290295
if [[ ! -f "$urcapx_file" ]]; then

0 commit comments

Comments
 (0)