Skip to content

Commit

Permalink
DataFilePath
Browse files Browse the repository at this point in the history
  • Loading branch information
miyako committed Aug 28, 2024
1 parent eb35e70 commit 49208da
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
9 changes: 9 additions & 0 deletions BuildApp/Project/Sources/Classes/BuildApp.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,9 @@ Function findCertificates() : cs:C1710.BuildApp
$certificates.push($certificate)
End while

//%W-550.16
C_TEXT:C284(${1})
//%W+550.16

If (Count parameters:C259#0)
$certificates:=$certificates.query.apply($certificates; Copy parameters:C1790)
Expand Down Expand Up @@ -431,6 +433,13 @@ Function parseFile($settingsFile : 4D:C1709.File)->$BuildApp : cs:C1710.BuildApp

If (OK=1)

$DataFilePath:=DOM Find XML element:C864($dom; "/Preferences4D/BuildApp/DataFilePath")

If (OK=1)
DOM GET XML ELEMENT VALUE:C731($DataFilePath; $stringValue)
$_BuildApp.DataFilePath:=$stringValue
End if

$BuildApplicationName:=DOM Find XML element:C864($dom; "/Preferences4D/BuildApp/BuildApplicationName")

If (OK=1)
Expand Down
2 changes: 2 additions & 0 deletions BuildApp/Project/Sources/Methods/test.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ Else
$buildApp:=cs:C1710.BuildApp.new($buildSettingsFile)

If (Is macOS:C1572)
//%W-550.12
$buildApp.findCertificates("name == :1 and kind == :2"; "@miyako@"; "Developer ID Application")
//%W+550.12
$BuildApp.SignApplication.MacSignature:=True:C214
$BuildApp.AdHocSign:=False:C215
End if
Expand Down
Loading

0 comments on commit 49208da

Please sign in to comment.