Classes to edit buildApp.4DSettings
{
"dependencies": {
"buildapp": {
"github": "miyako/buildapp",
"version": "*"
}
}
}
Classes to edit buildApp.4DSettings.
tool4d
launchervar $buildSettingsFile : 4D.File
$buildSettingsFile:=File(Build application settings file)
var $buildApp : cs.BuildApp.BuildApp
$buildApp:=cs.BuildApp.BuildApp.new($buildSettingsFile)
$buildApp:=cs.BuildApp.BuildApp.new($buildSettingsFile)
If (Is macOS)
//to find licenses in keychain
$buildApp.findCertificates("name == :1 and kind == :2"; "@miyako@"; "Developer ID Application")
$BuildApp.SignApplication.MacSignature:=True
$BuildApp.AdHocSign:=False
End if
If (Is macOS)
$BuildApp.BuildMacDestFolder:=Folder(fk desktop folder).platformPath
Else
$BuildApp.BuildWinDestFolder:=Folder(fk desktop folder).platformPath
End if
$BuildApp.BuildApplicationName:=File(Structure file; fk platform path).name
//customise key
$BuildApp.Versioning.Common.CommonVersion:="1.0.0"
$BuildApp.Versioning.Common.CommonCopyright:="©︎K.MIYAKO"
$BuildApp.Versioning.Common.CommonCompanyName:="com.4d.miyako"
$buildApp.editor()