mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 18:07:56 +02:00
more elegant way to preserve original exe name
This commit is contained in:
parent
528ff51a8f
commit
b3d44a9da2
@ -988,7 +988,7 @@ begin
|
||||
|
||||
{ Retrieve created exefile }
|
||||
If GetEXEPath<>'' then
|
||||
EXEFile:=FixFileName(GetEXEPath+NameOf(MainFile)+GetTargetExeExt)
|
||||
EXEFile:=FixFileName(GetEXEPath)+NameOf(MainFile)+GetTargetExeExt
|
||||
else
|
||||
EXEFile:=DirOf(MainFile)+NameOf(MainFile)+GetTargetExeExt;
|
||||
DefaultReplacements(ExeFile);
|
||||
|
Loading…
Reference in New Issue
Block a user