Skip to content

Commit 75c8cd4

Browse files
committed
Update paths for 114 on Mac. Untested on other platforms.
1 parent 77e997d commit 75c8cd4

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

lsl_get_dll.m

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,21 @@
6060

6161
if ~exist(lsl_fname,'file')
6262
disp(['Could not locate the file "' so_fname '" on your computer. Attempting to download...']);
63-
LIBLSL_TAG = 'v1.14.0b1';
63+
LIBLSL_TAG = 'v1.14.0';
6464
LIBLSL_VER = '1.14.0';
6565
liblsl_url = ['https://github.com/sccn/liblsl/releases/download/' LIBLSL_TAG '/'];
6666
if ispc
67-
liblsl_url_fname = ['liblsl-' LIBLSL_VER '-Win' bitness '.zip'];
67+
if strcmpi(bitness, '64')
68+
arch_suffix = '_amd64';
69+
else
70+
arch_suffix = '_i386';
71+
end
72+
liblsl_url_fname = ['liblsl-' LIBLSL_VER '-Win' arch_suffix '.zip'];
6873
elseif ismac
69-
liblsl_url_fname = ['liblsl-' LIBLSL_VER '-OSX64.tar.bz2'];
74+
liblsl_url_fname = ['liblsl-' LIBLSL_VER '-OSX_amd64.tar.bz2'];
7075

7176
elseif isunix
72-
liblsl_url_fname = ['liblsl-' LIBLSL_VER '-Linux64-bionic.deb'];
77+
liblsl_url_fname = ['liblsl-' LIBLSL_VER '-focal_amd64.deb'];
7378
end
7479
try
7580
websave(fullfile(binarypath, liblsl_url_fname),...

0 commit comments

Comments
 (0)