Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,5 @@ Assets/Resources.meta
Library/com.unity.addressables/AddressablesBuildTEP.json
Assets/AddressableAssetsData/link.xml
Assets/AddressableAssetsData/link.xml.meta

Assets/StreamingAssets/EphysLink-v1.3.3
14 changes: 10 additions & 4 deletions Assets/Scripts/Pinpoint/UI/EphysLinkSettings/EphysLinkSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@ public class EphysLinkSettings : MonoBehaviour
{
#region Constants

private const string EPHYS_LINK_EXE_NAME = "EphysLink-v1.3.0.exe";
private const string EPHYS_LINK_NAME = "EphysLink-v1.3.3";
private static string EphysLinkExePath =>
Path.Combine(Application.streamingAssetsPath, EPHYS_LINK_EXE_NAME);
Path.Combine(
Application.streamingAssetsPath,
Path.Combine(EPHYS_LINK_NAME, $"{EPHYS_LINK_NAME}.exe")
);

#endregion

Expand Down Expand Up @@ -279,7 +282,7 @@ void ConnectToServer()
err =>
{
attempts++;
if (attempts > 5)
if (attempts > 10)
{
_connectionErrorText.text = err;
_connectButtonText.text = "Connect";
Expand Down Expand Up @@ -468,7 +471,10 @@ private void UpdateConnectionPanel()
_connectButtonText.text = CommunicationManager.Instance.IsConnected
? "Disconnect"
: "Connect";
_connectButton.SetActive(CommunicationManager.Instance.IsConnected || _manipulatorTypeDropdown.value >= _manipulatorTypeDropdown.options.Count - 2);
_connectButton.SetActive(
CommunicationManager.Instance.IsConnected
|| _manipulatorTypeDropdown.value >= _manipulatorTypeDropdown.options.Count - 2
);

_manipulatorTypeDropdown.interactable = !CommunicationManager.Instance.IsConnected;
_launchEphysLinkButton.interactable = !CommunicationManager.Instance.IsConnected;
Expand Down
Binary file removed Assets/StreamingAssets/EphysLink-v1.3.0.exe
Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ PlayerSettings:
loadStoreDebugModeEnabled: 0
visionOSBundleVersion: 1.0
tvOSBundleVersion: 1.0
bundleVersion: 1.1.7
bundleVersion: 1.1.8
preloadedAssets:
- {fileID: 11400000, guid: 6057f25234ce83a4bbb3ae618a501907, type: 2}
metroInputSource: 0
Expand Down