mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-10 09:18:27 -04:00
Copy instead of renaming creds file during install if its missing
This commit is contained in:
@@ -69,7 +69,6 @@ procedure CurStepChanged(CurStep: TSetupStep);
|
||||
begin
|
||||
if (CurStep = ssPostInstall) then
|
||||
begin
|
||||
if FileExists(GetFileName('creds_example.yml')) and not FileExists(GetFileName('creds.yml')) then
|
||||
RenameFile(GetFileName('creds_example.yml'), GetFileName('creds.yml'));
|
||||
FileCopy(GetFileName('creds_example.yml'), GetFileName('creds.yml'), True);
|
||||
end;
|
||||
end;
|
Reference in New Issue
Block a user