-
Notifications
You must be signed in to change notification settings - Fork 78
Open
Description
I cannot seem to find a solution to changing some of the attributes of "Builder".
I'm trying to do it like this after looking through the code:
import nimx/naketools
import strformat
const
appName = "CollectiveGallery"
appVersion = "1.0"
javaPackageId = &"eu.example.{appName}"
activityClassName = &"{javaPackageId}.MainActivity"
mainFile = "src/CollectiveGallery"
bin = mainFile
var cgBuild = newBuilder() # cg = CollectiveGallery
cgBuild.appName = appName
cgBuild.appVersion = appVersion
cgBuild.javaPackageId = javaPackageId
cgBuild.activityClassName = activityClassName
cgBuild.mainFile = mainFile
beforeBuild(cgBuild)But, as expected, this doesn't work and I'm met with a SIGSEGV error.
There also doesn't seem to be a way to change what name the binary ends up as.
Metadata
Metadata
Assignees
Labels
No labels