Skip to content

Commit 9caf829

Browse files
committed
change .archive move for copy
1 parent 7c56077 commit 9caf829

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Build4D/Project/Sources/Classes/Server.4dm

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,6 @@ Function _fix_settings : Boolean
486486

487487
If ([8002].indexOf(This.phpPort)<0)
488488
DOM SET XML ATTRIBUTE($element; "port_number"; This.phpPort)
489-
490489
End if
491490

492491
var $general : Text
@@ -497,7 +496,6 @@ Function _fix_settings : Boolean
497496
Else
498497
$general:=DOM Create XML element($xml; "com.4d/general")
499498

500-
501499
End if
502500

503501
If (Value type(This.settings.allowUserSettings)=Is boolean)
@@ -750,7 +748,6 @@ Function _fix_settings : Boolean
750748
DOM SET XML ATTRIBUTE($rest; "launch_at_startup"; This.settings.listeners.rest.launch_at_startup)
751749
End if
752750

753-
754751
End if
755752

756753

@@ -927,15 +924,15 @@ Function build() : Boolean
927924

928925
If (OB Instance of(This.settings.macOSClientArchive; 4D.File)) //#2062
929926

930-
This.settings.macOSClientArchive.moveTo($Upgrade4DClient)
927+
This.settings.macOSClientArchive.copyTo($Upgrade4DClient)
931928

932929
$hasClients:=True
933930

934931
End if
935932

936933
If (OB Instance of(This.settings.windowsClientArchive; 4D.File)) //#2063
937934

938-
This.settings.windowsClientArchive.moveTo($Upgrade4DClient)
935+
This.settings.windowsClientArchive.copyTo($Upgrade4DClient)
939936

940937
$hasClients:=True
941938

Build4D/Project/Sources/Classes/_core.4dm

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ Class constructor($target : Text; $customSettings : Object)
8080
"message"; "Project file doesn't exist, instanciated object is unusable."; \
8181
"severity"; Error message))
8282
End if
83+
Else
84+
8385
End if
8486

8587
This._projectPackage:=This._projectFile.parent.parent

0 commit comments

Comments
 (0)