This commit is contained in:
zeffy
2017-06-06 15:21:10 -07:00
parent be33bfb2d5
commit 0ce2cbfbc0
10 changed files with 155 additions and 34 deletions

View File

@@ -1,5 +1,5 @@
@echo off
title wufuc installer - v0.6.0.1
title wufuc installer
:: Copyright (C) 2017 zeffy
:: This program is free software: you can redistribute it and/or modify
@@ -47,6 +47,9 @@ goto :unsupported_os
set "WINDOWS_ARCHITECTURE=x64"
set "wufuc_dll=%~dp0wufuc64.dll"
for /f "tokens=*" %%i in ('wmic /output:stdout datafile where "name='%wufuc_dll:\=\\%'" get Version /value ^| find "="') do set "%%i"
title wufuc installer - v%Version%
:check_ver
wmic /output:stdout os get version | findstr "^6\.1\." >nul && (
set "WINDOWS_VER=6.1"