You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have read all of the relevant Picovoice Leopard docs
I have searched the existing issues for Leopard
SDK
Flutter
Leopard package version
2.0.3
Framework version
Flutter 3.27.2, dart 3.6.1
Platform
Android
OS/Browser version
Windows 10
Describe the bug
You cannot run the prepare_demo.dart file. Instead of using dirname(Platform.script.path)
On lines 7,9, and 12, you need to use dirname(Platform.script.toFilePath(windows: true)
(of course this is specifically on a windows test case, what it actually should do is check if it is on windows, then set windows to that boolean value)
(also you have to run the shell command copy_test_resources.sh manually, and this isnt in the documentation anywhere)
Steps To Reproduce
clone the repo locally
try to run prepare_demo.dart file
Expected Behavior
I was thinking I should be able to run the demo preparer, and be able to configure the demo environment easily
The text was updated successfully, but these errors were encountered:
Have you checked the docs and existing issues?
SDK
Flutter
Leopard package version
2.0.3
Framework version
Flutter 3.27.2, dart 3.6.1
Platform
Android
OS/Browser version
Windows 10
Describe the bug
You cannot run the prepare_demo.dart file. Instead of using
dirname(Platform.script.path)
On lines 7,9, and 12, you need to use
dirname(Platform.script.toFilePath(windows: true)
(of course this is specifically on a windows test case, what it actually should do is check if it is on windows, then set windows to that boolean value)
(also you have to run the shell command copy_test_resources.sh manually, and this isnt in the documentation anywhere)
Steps To Reproduce
Expected Behavior
I was thinking I should be able to run the demo preparer, and be able to configure the demo environment easily
The text was updated successfully, but these errors were encountered: