mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-03-01 01:00:27 +08:00
- The logic to check for new updates is now separated into one function; - Replaced all messageboxes to Notifications To-Do: Actionable Notifications; Show releases-notes popup;
10 lines
358 B
Batchfile
10 lines
358 B
Batchfile
rem @echo off
|
|
cd %1
|
|
for /F "delims=" %%i in ('git describe --always --tags "--abbrev=0"') do set git_tag=%%i
|
|
for /F "delims=" %%i in ('git describe --always --tags') do set git_revision=%%i
|
|
echo // This file is generated by update-version.cmd > %2
|
|
echo. >> %2
|
|
echo using System.Reflection;>> %2
|
|
echo. >> %2
|
|
echo [assembly: AssemblyVersion("%git_tag%")]>> %2
|