Skip to content

Commit

Permalink
innoSetup remove development config.json file
Browse files Browse the repository at this point in the history
  • Loading branch information
Furtif committed Mar 2, 2024
1 parent d230384 commit 7f610ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ Type: filesandordirs; Name: "{app}"
procedure AfterMyProgInstall;
begin
MsgBox(ExpandConstant('{cm:AfterMyProgInstall} {app}'), mbInformation, MB_OK);
// remove developement config.json file
DeleteFile(ExpandConstant('{app}\dtt4all_data\config.json'));
end;
[Dirs]
Expand Down
3 changes: 3 additions & 0 deletions dtt4all_data/inno-win-setup/wininstaller.iss
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,11 @@ Type: filesandordirs; Name: "{app}"
procedure AfterMyProgInstall;
begin
MsgBox(ExpandConstant('{cm:AfterMyProgInstall} {app}'), mbInformation, MB_OK);
// remove developement config.json file
DeleteFile(ExpandConstant('{app}\dtt4all_data\config.json'));
end;
[Dirs]
Name: "{app}\logs"; Permissions: users-full
Name: "{app}\json"; Permissions: users-full
Expand Down

0 comments on commit 7f610ba

Please sign in to comment.