vup: use v.exe
parent
905cf326cd
commit
857276e81f
cmd/tools
|
@ -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'
|
||||||
|
|
Loading…
Reference in New Issue