Skip to content

Commit becd8cc

Browse files
committed
ci: update ci_emulator_run.yml
1 parent c27ffb1 commit becd8cc

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

android/env/env.v

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -655,15 +655,7 @@ fn ensure_sdkmanager(verbosity int) !bool {
655655
}
656656
def_components := get_default_components()!
657657
// Download
658-
uos := $if macos {
659-
$if arm64 {
660-
'darwin-aarch64'
661-
} $else {
662-
'mac'
663-
}
664-
} $else {
665-
os.user_os().replace('windows', 'win')
666-
}
658+
uos := os.user_os().replace('windows', 'win').replace('macos', 'mac')
667659
url := def_components['cmdline-tools']['bootstrap_url'].replace('[XXX]', uos)
668660
file := os.join_path(os.temp_dir(), 'v-android-sdk-cmdltools.tmp.zip')
669661
if !os.exists(file) {

0 commit comments

Comments
 (0)