Closed whompyjaw closed 2 years ago
Figured out issue with this help: https://discord.com/channels/350289306763657218/1003129378588348427/1003132689949397002
Evidently, rust doesn't expand ~
in paths. Or maybe whatever solution you have doesn't work. Once I set my SC2PATH
to /home/user/StarCraftII
it got past that error.
I feel like this is a bug, though no? I would make a PR, but I don't know anything about Rust atm... So... I can just report my findings. :/
I made a PR to help with avoiding these bugs that are not noted in the repo. #53
made a small fix d8c51d0 should be working now
Using Arch Linux with headless SC2 (I do have Wine/Lutris for playing) started new project with:
cargo new project
Cargo.tomlcargo run
with full verbosityYou can see I have Maps.
This is my first time using rust, so I could be messing something up, but pretty sure I got it setup correctly (followed archwiki, installed rustup, then installed stable rust, clippy, etc)
I was able to run an example from
burnysc2
library. The bug in that code was changing~/StarCraftII/Maps
tomaps
, but trying that with rust, didn't work.What am I missing here?