vup: use v.exe

pull/4945/head
Alexander Medvednikov 2020-05-18 15:49:26 +02:00
parent 905cf326cd
commit 857276e81f
1 changed files with 6 additions and 2 deletions
cmd/tools

View File

@ -66,8 +66,12 @@ fn main() {
fn show_current_v_version(){ fn show_current_v_version(){
println('Current V version:') println('Current V version:')
$if windows {
os.system('v.exe version')
} $else {
os.system('v version') os.system('v version')
} }
}
fn backup(file string) { fn backup(file string) {
backup_file := '${file}_old.exe' backup_file := '${file}_old.exe'