mirror of
https://git.sr.ht/~eliasnaur/gio-cmd
synced 2026-07-05 01:15:32 +00:00
gogio: support explicit version codes through a fourth version field
As suggested in review, explicitly specifying the version code with -version major.minor.patch.versioncode provides more flexibility than the a version code implied from the major, minor, patch fields. Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -450,7 +450,7 @@ func exeAndroid(tmpDir string, tools *androidTools, bi *buildInfo, extraJars, pe
|
||||
`<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="{{.AppID}}"
|
||||
android:versionCode="{{.Version.Version32}}"
|
||||
android:versionCode="{{.Version.VersionCode}}"
|
||||
android:versionName="{{.Version}}">
|
||||
<uses-sdk android:minSdkVersion="{{.MinSDK}}" android:targetSdkVersion="{{.TargetSDK}}" />
|
||||
{{range .Permissions}} <uses-permission android:name="{{.}}"/>
|
||||
|
||||
Reference in New Issue
Block a user