cmd/gio: set DTPlatformName, DTPlatformVersion, UIRequiredDeviceCapabilities

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-08-14 14:58:28 +02:00
parent 564f30ca0f
commit 5ac1b6ea3c
2 changed files with 33 additions and 12 deletions
+6 -2
View File
@@ -28,6 +28,8 @@ type buildInfo struct {
name string
pkg string
ldflags string
target string
appID string
archs []string
}
@@ -65,8 +67,10 @@ func main() {
}
name = filepath.Base(name)
bi := &buildInfo{
name: name,
pkg: pkg,
name: name,
pkg: pkg,
target: *target,
appID: *appID,
}
switch *target {
case "js":