设置应用图标为钉钉默认机器人图标

This commit is contained in:
ZhanGSKen
2025-05-22 01:50:39 +08:00
parent a4b7c59919
commit e7b5cfd9b8
8 changed files with 37 additions and 9 deletions

View File

@@ -25,7 +25,14 @@ buildscript {
//mavenLocal() //mavenLocal()
// WinBoLL.CC 紧急备用 Maven 仓库 // WinBoLL.CC 紧急备用 Maven 仓库
maven { url 'https://spare-maven.winboll.cc/repository/' } //maven { url 'https://spare-maven.winboll.cc/repository/' }
maven {
url 'sftp://studio@winboll.cc:2222//winboll/spare-maven/repository/'
credentials {
username 'studio'
password 'winbollstudio'
}
}
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:7.2.1' // 对应 compileSdkVersion 32 classpath 'com.android.tools.build:gradle:7.2.1' // 对应 compileSdkVersion 32
@@ -40,7 +47,6 @@ allprojects {
// 设置本地Maven仓库路径 // 设置本地Maven仓库路径
url 'file:///sdcard/.m2/repository/' url 'file:///sdcard/.m2/repository/'
} }
// Nexus Maven 库地址 // Nexus Maven 库地址
// "WinBoLL Release" // "WinBoLL Release"
maven { url "https://nexus.winboll.cc/repository/maven-public/" } maven { url "https://nexus.winboll.cc/repository/maven-public/" }
@@ -61,7 +67,14 @@ allprojects {
//mavenLocal() //mavenLocal()
// WinBoLL.CC 紧急备用 Maven 仓库 // WinBoLL.CC 紧急备用 Maven 仓库
maven { url 'https://spare-maven.winboll.cc/repository/' } //maven { url 'https://spare-maven.winboll.cc/repository/' }
maven {
url 'sftp://studio@winboll.cc:2222//winboll/spare-maven/repository/'
credentials {
username 'studio'
password 'winbollstudio'
}
}
} }
ext { ext {
// 定义全局变量,常用于版本管理 // 定义全局变量,常用于版本管理

View File

@@ -24,7 +24,7 @@ android {
defaultConfig { defaultConfig {
applicationId "cc.winboll.studio.winboll" applicationId "cc.winboll.studio.winboll"
minSdkVersion 24 minSdkVersion 24
targetSdkVersion 29 targetSdkVersion 30
versionCode 1 versionCode 1
// versionName 更新后需要手动设置 // versionName 更新后需要手动设置
// .winboll/winbollBuildProps.properties 文件的 stageCount=0 // .winboll/winbollBuildProps.properties 文件的 stageCount=0

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle #Created by .winboll/winboll_app_build.gradle
#Tue May 13 03:55:08 GMT 2025 #Wed May 21 17:48:28 GMT 2025
stageCount=0 stageCount=0
libraryProject= libraryProject=
baseVersion=15.0 baseVersion=15.0
publishVersion=15.0.0 publishVersion=15.0.0
buildCount=2 buildCount=11
baseBetaVersion=15.0.1 baseBetaVersion=15.0.1

View File

@@ -2,7 +2,9 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" > xmlns:tools="http://schemas.android.com/tools" >
<application> <application
tools:replace="android:icon"
android:icon="@drawable/ic_launcher_beta">
<!-- Put flavor specific code here --> <!-- Put flavor specific code here -->

View File

@@ -5,8 +5,8 @@
<application <application
android:allowBackup="true" android:allowBackup="true"
android:icon="@mipmap/ic_launcher" android:icon="@drawable/ic_launcher_stage"
android:roundIcon="@mipmap/ic_launcher_round" android:roundIcon="@drawable/ic_launcher_stage"
android:label="@string/app_name" android:label="@string/app_name"
android:theme="@style/MyAppTheme" android:theme="@style/MyAppTheme"
android:resizeableActivity="true" android:resizeableActivity="true"

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
android:clickable="true"
android:layout_width="24dp"
android:layout_height="24dp">
<item android:drawable="@drawable/ic_launcher_background"/>
<item
android:left="0dp"
android:top="0dp"
android:right="0dp"
android:bottom="0dp"
android:drawable="@drawable/ic_iw"/>
</layer-list>

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB