toitware/ide-tools

Can't deploy on Windows if specification is on different disk

Closed this issue · 3 comments

When vscode? is on C: and the specification is on D: then we seem to have an exception.

From a user:

[specification.yaml] Rel: can't make D:\XXX\Blink.toit relative to C:\Users\XXX\AppData\Local\Programs\Microsoft VS Code

Could also be the reason that the app appears as "..\..\..\..\..\..\xxx\Blink.toit" in the console.

I can confirm this issue!

[main.yaml] Failed deploying job 'ProjectName' on 'device-name'
[main.yaml] Rel: can't make d:\path-to-project\main.toit relative to C:\Users\user.name\AppData\Local\Programs\Microsoft VS Code

This should be fixed in 1.20.2.