Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
743b067cae | ||
|
|
23333c074a | ||
|
|
f11644fa51 | ||
|
|
212be59fca | ||
|
|
e3a1f8224f |
@@ -12,7 +12,7 @@ android:
|
|||||||
components:
|
components:
|
||||||
- platform-tools
|
- platform-tools
|
||||||
- tools
|
- tools
|
||||||
- build-tools-25.0.1
|
- build-tools-25.0.2
|
||||||
- android-25
|
- android-25
|
||||||
- extra-android-m2repository
|
- extra-android-m2repository
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
|
|||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 25
|
compileSdkVersion 25
|
||||||
buildToolsVersion "25.0.1"
|
buildToolsVersion "25.0.2"
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile 'com.android.support:support-annotations:25.0.1'
|
compile 'com.android.support:support-annotations:25.0.1'
|
||||||
@@ -13,8 +13,8 @@ android {
|
|||||||
applicationId "com.termux"
|
applicationId "com.termux"
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 25
|
targetSdkVersion 25
|
||||||
versionCode 44
|
versionCode 45
|
||||||
versionName "0.44"
|
versionName "0.45"
|
||||||
|
|
||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
ndkBuild {
|
ndkBuild {
|
||||||
|
|||||||
@@ -523,7 +523,7 @@ public final class TermuxActivity extends Activity implements ServiceConnection
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Intent i = getIntent();
|
Intent i = getIntent();
|
||||||
if (i != null && i.getAction().equals(Intent.ACTION_RUN)) {
|
if (i != null && Intent.ACTION_RUN.equals(i.getAction())) {
|
||||||
// Android 7.1 app shortcut from res/xml/shortcuts.xml.
|
// Android 7.1 app shortcut from res/xml/shortcuts.xml.
|
||||||
addNewSession(false, null);
|
addNewSession(false, null);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
20
art/copy-to-other-apps.sh
Executable file
20
art/copy-to-other-apps.sh
Executable file
@@ -0,0 +1,20 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
for DENSITY in mdpi hdpi xhdpi xxhdpi xxxhdpi; do
|
||||||
|
FOLDER=../app/src/main/res/mipmap-$DENSITY
|
||||||
|
|
||||||
|
for FILE in ic_launcher ic_launcher_round; do
|
||||||
|
PNG=$FOLDER/$FILE.png
|
||||||
|
|
||||||
|
# Update other apps:
|
||||||
|
for APP in tasker widget api; do
|
||||||
|
APPDIR=../../termux-$APP
|
||||||
|
if [ -d $APPDIR ]; then
|
||||||
|
APP_FOLDER=$APPDIR/app/src/main/res/mipmap-$DENSITY
|
||||||
|
mkdir -p $APP_FOLDER
|
||||||
|
cp $PNG $APP_FOLDER/$FILE.png
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
done
|
||||||
|
|
||||||
|
done
|
||||||
Reference in New Issue
Block a user