File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6060
6161if ~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 ),...
You can’t perform that action at this time.
0 commit comments