diff --git a/appveyor.yml b/appveyor.yml index 7e93db2..1c8728e 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -28,7 +28,7 @@ after_build: cd "%APPVEYOR_BUILD_FOLDER%\wufuc_setup_bat" - echo %BUILD_COMMIT_VERSION% >version.txt + echo v%BUILD_COMMIT_VERSION% >version.txt for /R %%i in (*.txt) do unix2dos "%%i" diff --git a/wufuc_setup_bat/install_wufuc.bat b/wufuc_setup_bat/install_wufuc.bat index 0888685..90ffc97 100644 --- a/wufuc_setup_bat/install_wufuc.bat +++ b/wufuc_setup_bat/install_wufuc.bat @@ -14,8 +14,10 @@ :: You should have received a copy of the GNU General Public License :: along with this program. If not, see . +set "wufuc_version=^(unknown version^)" set /p wufuc_version=<"%~dp0version.txt" -title wufuc v%wufuc_version% Setup +title wufuc %wufuc_version% Setup + echo Copyright ^(C^) 2017 zeffy echo This program comes with ABSOLUTELY NO WARRANTY. echo This is free software, and you are welcome to redistribute it @@ -86,7 +88,7 @@ echo ERROR - Could not find %wufuc_xml%! echo. echo This most likely means you didn't extract all the files from the archive. echo. -echo Please extract all the files from wufuc_v%wufuc_version%.zip to a permanent +echo Please extract all the files from wufuc_%wufuc_version%.zip to a permanent echo location like C:\Program Files\wufuc and try again. goto :die