Updating fixes.

This commit is contained in:
Master Kwoth 2017-06-11 02:43:13 +02:00
parent 64f841052b
commit 0a36ecf066
2 changed files with 4 additions and 1 deletions

View File

@ -92,7 +92,7 @@ end;
procedure CurStepChanged(CurStep: TSetupStep);
begin
if (CurStep = ssInstall) then
if (CurStep = ssPostInstall) then
begin
if FileExists(GetFileName('credentials_example.json')) and not FileExists(GetFileName('credentials.json')) then
RenameFile(GetFileName('credentials_example.json'), GetFileName('credentials.json'));

View File

@ -2,6 +2,9 @@ function GitHub-Release($versionNumber)
{
$ErrorActionPreference = "Stop"
git pull
git push #making sure commit id exists on remote
$nl = [Environment]::NewLine
$env:NADEKOBOT_INSTALL_VERSION=$versionNumber
$gitHubApiKey = $env:GITHUB_API_KEY