mirror of https://github.com/ehang-io/nps
add manifest
parent
8e6132077c
commit
bcba0351aa
|
@ -6,16 +6,6 @@
|
||||||
cd /go
|
cd /go
|
||||||
go get -u fyne.io/fyne fyne.io/fyne/cmd/fyne
|
go get -u fyne.io/fyne fyne.io/fyne/cmd/fyne
|
||||||
|
|
||||||
# temporary solution here to add android internet permission
|
|
||||||
rm -rf /go/bin/fyne
|
|
||||||
mkdir -p /go/src/github.com/ffdfgdfg
|
|
||||||
cd /go/src/github.com/ffdfgdfg
|
|
||||||
git clone https://github.com/ffdfgdfg/fyne.git
|
|
||||||
cd fyne
|
|
||||||
git checkout android-permission
|
|
||||||
go install ./cmd/fyne
|
|
||||||
cd /go
|
|
||||||
|
|
||||||
mkdir -p /go/src/github.com/cnlh/nps
|
mkdir -p /go/src/github.com/cnlh/nps
|
||||||
cp -R /app/* /go/src/github.com/cnlh/nps
|
cp -R /app/* /go/src/github.com/cnlh/nps
|
||||||
cd /go/src/github.com/cnlh/nps
|
cd /go/src/github.com/cnlh/nps
|
||||||
|
|
|
@ -0,0 +1,37 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<manifest
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
android:versionCode="1"
|
||||||
|
android:versionName="0.25.2"
|
||||||
|
package="org.nps.client"
|
||||||
|
platformBuildVersionCode="15"
|
||||||
|
platformBuildVersionName="4.0.4-1406430">
|
||||||
|
|
||||||
|
<uses-permission
|
||||||
|
android:name="android.permission.INTERNET"/>
|
||||||
|
|
||||||
|
<application
|
||||||
|
android:label="Npc"
|
||||||
|
android:debuggable="true">
|
||||||
|
|
||||||
|
<activity
|
||||||
|
android:label="Npc"
|
||||||
|
android:name="org.golang.app.GoNativeActivity"
|
||||||
|
android:configChanges="0xa0">
|
||||||
|
|
||||||
|
<meta-data
|
||||||
|
android:name="android.app.lib_name"
|
||||||
|
android:value="npc"/>
|
||||||
|
|
||||||
|
<intent-filter>
|
||||||
|
|
||||||
|
<action
|
||||||
|
android:name="android.intent.action.MAIN"/>
|
||||||
|
|
||||||
|
<category
|
||||||
|
android:name="android.intent.category.LAUNCHER"/>
|
||||||
|
</intent-filter>
|
||||||
|
</activity>
|
||||||
|
</application>
|
||||||
|
</manifest>
|
||||||
|
|
Loading…
Reference in New Issue