feat: rename

This commit is contained in:
ikun0014 2024-11-03 12:03:58 +08:00
parent 65e8af4d6b
commit 135419bfbc
7 changed files with 21 additions and 26 deletions

View File

@ -9,32 +9,32 @@ runs:
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: app-v${{ env.PACKAGE_VERSION }}-arm64-v8a-release name: app-v${{ env.PACKAGE_VERSION }}-arm64-v8a-release
path: android/app/build/outputs/apk/release/lx-music-mobile-mod-v${{ env.PACKAGE_VERSION }}-arm64-v8a.apk path: android/app/build/outputs/apk/release/ikun-music-mobile-v${{ env.PACKAGE_VERSION }}-arm64-v8a.apk
- name: Upload Artifact armeabi-v7a - name: Upload Artifact armeabi-v7a
if: env.PACKAGE_TYPE == null if: env.PACKAGE_TYPE == null
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: app-v${{ env.PACKAGE_VERSION }}-armeabi-v7a-release name: app-v${{ env.PACKAGE_VERSION }}-armeabi-v7a-release
path: android/app/build/outputs/apk/release/lx-music-mobile-mod-v${{ env.PACKAGE_VERSION }}-armeabi-v7a.apk path: android/app/build/outputs/apk/release/ikun-music-mobile-v${{ env.PACKAGE_VERSION }}-armeabi-v7a.apk
- name: Upload Artifact universal - name: Upload Artifact universal
if: env.PACKAGE_TYPE != 'Android_SL' if: env.PACKAGE_TYPE != 'Android_SL'
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: app-v${{ env.PACKAGE_VERSION }}-universal-release name: app-v${{ env.PACKAGE_VERSION }}-universal-release
path: android/app/build/outputs/apk/release/lx-music-mobile-mod-v${{ env.PACKAGE_VERSION }}-universal.apk path: android/app/build/outputs/apk/release/ikun-music-mobile-v${{ env.PACKAGE_VERSION }}-universal.apk
- name: Upload Artifact x86_64 - name: Upload Artifact x86_64
if: env.PACKAGE_TYPE == null if: env.PACKAGE_TYPE == null
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: app-v${{ env.PACKAGE_VERSION }}-x86_64-release name: app-v${{ env.PACKAGE_VERSION }}-x86_64-release
path: android/app/build/outputs/apk/release/lx-music-mobile-mod-v${{ env.PACKAGE_VERSION }}-x86_64.apk path: android/app/build/outputs/apk/release/ikun-music-mobile-v${{ env.PACKAGE_VERSION }}-x86_64.apk
- name: Upload Artifact x86 - name: Upload Artifact x86
if: env.PACKAGE_TYPE == null if: env.PACKAGE_TYPE == null
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: app-v${{ env.PACKAGE_VERSION }}-x86-release name: app-v${{ env.PACKAGE_VERSION }}-x86-release
path: android/app/build/outputs/apk/release/lx-music-mobile-mod-v${{ env.PACKAGE_VERSION }}-x86.apk path: android/app/build/outputs/apk/release/ikun-music-mobile-v${{ env.PACKAGE_VERSION }}-x86.apk

View File

@ -21,7 +21,7 @@ jobs:
run: | run: |
cd android cd android
chmod +x ./gradlew chmod +x ./gradlew
./gradlew assembleRelease -PMYAPP_UPLOAD_STORE_FILE='debug.keystore' -PMYAPP_UPLOAD_KEY_ALIAS='androiddebugkey' -PMYAPP_UPLOAD_STORE_PASSWORD='android' -PMYAPP_UPLOAD_KEY_PASSWORD='android' ./gradlew assembleRelease -PMYAPP_UPLOAD_STORE_FILE=${{ secrets.KEY_FILE }} -PMYAPP_UPLOAD_KEY_ALIAS=${{ secrets.KEY_ALIAS }}' -PMYAPP_UPLOAD_STORE_PASSWORD=${{ secrets.ALIAS_PASSWORD }} -PMYAPP_UPLOAD_KEY_PASSWORD=${{ secrets.KEY_PASSWORD }}
# Push tag to GitHub if package.json version's tag is not tagged # Push tag to GitHub if package.json version's tag is not tagged
- name: Get package version - name: Get package version
@ -78,11 +78,11 @@ jobs:
draft: false draft: false
tag_name: v${{ env.PACKAGE_VERSION }} tag_name: v${{ env.PACKAGE_VERSION }}
files: | files: |
artifacts/lx-music-mobile-mod-v${{ env.PACKAGE_VERSION }}-arm64-v8a.apk artifacts/ikun-music-mobile-v${{ env.PACKAGE_VERSION }}-arm64-v8a.apk
artifacts/lx-music-mobile-mod-v${{ env.PACKAGE_VERSION }}-armeabi-v7a.apk artifacts/ikun-music-mobile-v${{ env.PACKAGE_VERSION }}-armeabi-v7a.apk
artifacts/lx-music-mobile-mod-v${{ env.PACKAGE_VERSION }}-x86_64.apk artifacts/ikun-music-mobile-v${{ env.PACKAGE_VERSION }}-x86_64.apk
artifacts/lx-music-mobile-mod-v${{ env.PACKAGE_VERSION }}-x86.apk artifacts/ikun-music-mobile-v${{ env.PACKAGE_VERSION }}-x86.apk
artifacts/lx-music-mobile-mod-v${{ env.PACKAGE_VERSION }}-universal.apk artifacts/ikun-music-mobile-v${{ env.PACKAGE_VERSION }}-universal.apk
artifacts/lx-music-mobile-mod-v${{ env.PACKAGE_VERSION }}-sl-arm64-v8a.apk artifacts/ikun-music-mobile-v${{ env.PACKAGE_VERSION }}-sl-arm64-v8a.apk
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Binary file not shown.

View File

@ -1,5 +1,5 @@
{ {
"name": "lx-music-mobile-mod", "name": "ikun-music-mobile",
"version": "3.4.8", "version": "3.4.8",
"versionCode": 69, "versionCode": 69,
"private": true, "private": true,
@ -28,7 +28,7 @@
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git+https://github.com/ikunshare/lx-music-mobile-mod.git" "url": "git+https://github.com/ikunshare/ikun-music-mobile.git"
}, },
"keywords": [ "keywords": [
"music-player", "music-player",
@ -40,9 +40,9 @@
}, },
"license": "Apache-2.0", "license": "Apache-2.0",
"bugs": { "bugs": {
"url": "https://github.com/ikunshare/lx-music-mobile-mod/issues" "url": "https://github.com/ikunshare/ikun-music-mobile/issues"
}, },
"homepage": "https://github.com/ikunshare/lx-music-mobile-mod#readme", "homepage": "https://github.com/ikunshare/ikun-music-mobile#readme",
"dependencies": { "dependencies": {
"@craftzdog/react-native-buffer": "^6.0.5", "@craftzdog/react-native-buffer": "^6.0.5",
"@react-native-async-storage/async-storage": "^2.0.0", "@react-native-async-storage/async-storage": "^2.0.0",

View File

@ -17,7 +17,7 @@ const Content = () => {
const theme = useTheme() const theme = useTheme()
const openHomePage = () => { const openHomePage = () => {
void openUrl('https://github.com/ikunshare/lx-music-mobile-mod#readme') void openUrl('https://github.com/ikunshare/ikun-music-mobile#readme')
} }
const openLicensePage = () => { const openLicensePage = () => {
void openUrl('http://www.apache.org/licenses/LICENSE-2.0') void openUrl('http://www.apache.org/licenses/LICENSE-2.0')

View File

@ -17,7 +17,7 @@ export default memo(() => {
const theme = useTheme() const theme = useTheme()
const t = useI18n() const t = useI18n()
const openHomePage = () => { const openHomePage = () => {
void openUrl('https://github.com/ikunshare/lx-music-mobile-mod#readme') void openUrl('https://github.com/ikunshare/ikun-music-mobile#readme')
} }
const openNetdiskPage = () => { const openNetdiskPage = () => {
void openUrl('https://www.lanzoui.com/s/LXMusic') void openUrl('https://www.lanzoui.com/s/LXMusic')
@ -45,7 +45,7 @@ export default memo(() => {
<View style={styles.part}> <View style={styles.part}>
<Text style={styles.text} ></Text> <Text style={styles.text} ></Text>
<TouchableOpacity onPress={openHomePage}> <TouchableOpacity onPress={openHomePage}>
<Text style={textLinkStyle}>https://github.com/ikunshare/lx-music-mobile-mod</Text> <Text style={textLinkStyle}>https://github.com/ikunshare/ikun-music-mobile</Text>
</TouchableOpacity> </TouchableOpacity>
</View> </View>
<View style={styles.part}> <View style={styles.part}>

View File

@ -13,14 +13,9 @@ const abis = [
] ]
const address = [ const address = [
[`https://raw.githubusercontent.com/${author.name}/${name}/master/publish/version.json`, 'direct'],
['https://registry.npmjs.org/lx-music-mobile-version-info/latest', 'npm'],
[`https://cdn.jsdelivr.net/gh/${author.name}/${name}/publish/version.json`, 'direct'],
[`https://fastly.jsdelivr.net/gh/${author.name}/${name}/publish/version.json`, 'direct'], [`https://fastly.jsdelivr.net/gh/${author.name}/${name}/publish/version.json`, 'direct'],
[`https://gcore.jsdelivr.net/gh/${author.name}/${name}/publish/version.json`, 'direct'], [`https://gcore.jsdelivr.net/gh/${author.name}/${name}/publish/version.json`, 'direct'],
['https://registry.npmmirror.com/lx-music-mobile-version-info/latest', 'npm'], [`https://jsd.onmicrosoft.cn/gh/${author.name}/${name}/publish/version.json`, 'direct'],
['https://gitee.com/lyswhut/lx-music-mobile-versions/raw/master/version.json', 'direct'],
['http://cdn.stsky.cn/lx-music/mobile/version.json', 'direct'],
] ]
@ -87,7 +82,7 @@ let apkSavePath
export const downloadNewVersion = async(version, onDownload = noop) => { export const downloadNewVersion = async(version, onDownload = noop) => {
const abi = await getTargetAbi() const abi = await getTargetAbi()
const url = `https://github.com/${author.name}/${name}/releases/download/v${version}/${name}-v${version}-${abi}.apk` const url = `https://github.com/${author.name}/${name}/releases/download/v${version}/${name}-v${version}-${abi}.apk`
let savePath = temporaryDirectoryPath + '/lx-music-mobile.apk' let savePath = temporaryDirectoryPath + '/ikun-music-mobile.apk'
if (downloadJobId) stopDownload(downloadJobId) if (downloadJobId) stopDownload(downloadJobId)