mirror of
https://github.com/FliegendeWurst/KIT-ILIAS-downloader.git
synced 2024-08-28 04:04:18 +00:00
Attempt to use long paths on Windows
This commit is contained in:
parent
711bfe8d17
commit
77101a7173
@ -31,6 +31,7 @@ const ILIAS_URL: &str = "https://ilias.studium.kit.edu/";
|
||||
#[tokio::main]
|
||||
async fn main() {
|
||||
let mut opt = Opt::from_args();
|
||||
opt.output = fs::canonicalize(opt.output); // use long paths on Windows
|
||||
create_dir(&opt.output).await.expect("failed to create output directory");
|
||||
// need this because task scheduling is WIP
|
||||
// (would wait forever on paniced task)
|
||||
|
Loading…
Reference in New Issue
Block a user