Closed chiefbiiko closed 3 years ago
Thanks so much for tackling this! It's a huge help.
It looks like creating symlinks without admin is possible: https://blogs.windows.com/windowsdeveloper/2016/12/02/symlinks-windows-10/
That was formally released April 2017, which seems reasonably long ago to me.
It looks like creating symlinks without admin is possible: https://blogs.windows.com/windowsdeveloper/2016/12/02/symlinks-windows-10/
the link says unelevated mklink
is possible if "developer mode" is enabled
havent heard of win dev mode yet - anyways, imho this dev mode hurdle is coequal to the admin hurdle
i can investigate the CreateSymbolicLink
API but am kinda sure it is what Rust's std::os::windows::fs
uses and what is currently used in this draft pr
i am pretty tight on time atm
anyways i would still love to help push cargo-mobile 2 windows
maybe we can outline priorities - cargo android run
prio high? - cargo android open
prio low? ...?
Since it looks like Windows doesn't make symlinks easy, we can just copy the files instead. There wouldn't really be any downsides.
cargo android run
, cargo android build
, and cargo android check
are the big things for minimal Windows support. cargo mobile init
needs to work too, of course.
cargo mobile open
and cargo android open
are definitely lower priorities.
closing in vain
been diggin into windows wormholes...
cargo mobile init
as administrator otherwise symlinking failscargo android build
cargo android run
- installing the apk seems 2 work - running the app fails on my 35€ zte blade l130cargo android open