diff --git a/PowerToysGUI.cpp b/PowerToysGUI.cpp index 7fd118a..030f404 100644 --- a/PowerToysGUI.cpp +++ b/PowerToysGUI.cpp @@ -109,7 +109,7 @@ void PowerToys::RenderSettings() { ImGui::NewLine(); - ImGui::TextUnformatted("You can bind a button to the \"FAQ\" command (Freeplay_And_Queue).\nFor example, when you are in the main menu, you can binded button, \nand it will take you to freeplay and turn on the queue for the last played game."); + ImGui::TextUnformatted("You can bind a button to the \"FAQ\" command (Freeplay_And_Queue).\nFor example, when you are in the main menu, you can click binded button, \nand it will take you to freeplay and turn on the queue for the last played game."); ImGui::NewLine(); diff --git a/update_version.ps1 b/update_version.ps1 new file mode 100644 index 0000000..d5933a5 --- /dev/null +++ b/update_version.ps1 @@ -0,0 +1,10 @@ +(Get-Content -path $args[0] -Raw) | + ForEach-Object { + $defstr="#define VERSION_BUILD "; + $regex="$defstr(?\d*)"; + if($_ -match $regex) { + $_ = $_ -replace $regex,"$($defstr)$(([int]$matches["BuildVersion"])+1)" + } + $_ + } | + Out-File $args[0] -encoding ascii -nonewline \ No newline at end of file diff --git a/version.h b/version.h index 1fd6a3e..616977c 100644 --- a/version.h +++ b/version.h @@ -1,7 +1,7 @@ #pragma once -#define VERSION_MAJOR 1 -#define VERSION_MINOR 5 -#define VERSION_PATCH 5 +#define VERSION_MAJOR 2 +#define VERSION_MINOR 0 +#define VERSION_PATCH 0 #define stringify(a) stringify_(a) #define stringify_(a) #a