mirror of
https://github.com/ikun0014/lx-music-mobile.git
synced 2025-07-03 09:22:09 +08:00
试图加个一言功能
This commit is contained in:
parent
4d200c01f8
commit
70599d9a67
5
.github/workflows/release.yml
vendored
5
.github/workflows/release.yml
vendored
@ -20,9 +20,8 @@ jobs:
|
||||
shell: bash
|
||||
run: |
|
||||
cd android
|
||||
echo ${{ secrets.KEYSTORE_STORE_FILE_BASE64 }} | base64 --decode > app/${{ secrets.KEYSTORE_STORE_FILE }}
|
||||
./gradlew assembleRelease -PMYAPP_UPLOAD_STORE_FILE='${{ secrets.KEYSTORE_STORE_FILE }}' -PMYAPP_UPLOAD_KEY_ALIAS='${{ secrets.KEYSTORE_KEY_ALIAS }}' -PMYAPP_UPLOAD_STORE_PASSWORD='${{ secrets.KEYSTORE_PASSWORD }}' -PMYAPP_UPLOAD_KEY_PASSWORD='${{ secrets.KEYSTORE_KEY_PASSWORD }}'
|
||||
rm -f app/${{ secrets.KEYSTORE_STORE_FILE }}
|
||||
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'
|
||||
|
||||
# Push tag to GitHub if package.json version's tag is not tagged
|
||||
- name: Get package version
|
||||
|
@ -27,7 +27,7 @@
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/lyswhut/lx-music-mobile.git"
|
||||
"url": "git+https://github.com/ikunshare/lx-music-mobile-mod.git"
|
||||
},
|
||||
"keywords": [
|
||||
"music-player",
|
||||
@ -39,9 +39,9 @@
|
||||
},
|
||||
"license": "Apache-2.0",
|
||||
"bugs": {
|
||||
"url": "https://github.com/lyswhut/lx-music-mobile/issues"
|
||||
"url": "https://github.com/ikunshare/lx-music-mobile-mod/issues"
|
||||
},
|
||||
"homepage": "https://github.com/lyswhut/lx-music-mobile#readme",
|
||||
"homepage": "https://github.com/ikunshare/lx-music-mobile-mod#readme",
|
||||
"dependencies": {
|
||||
"@craftzdog/react-native-buffer": "^6.0.5",
|
||||
"@react-native-async-storage/async-storage": "^1.22.3",
|
||||
|
@ -12,11 +12,12 @@ import commonActions from '@/store/common/action'
|
||||
import settingState from '@/store/setting/state'
|
||||
import { checkUpdate } from '@/core/version'
|
||||
import { bootLog } from '@/utils/bootLog'
|
||||
import { cheatTip } from '@/utils/tools'
|
||||
import { cheatTip, hitokoto } from '@/utils/tools'
|
||||
|
||||
let isFirstPush = true
|
||||
const handlePushedHomeScreen = async() => {
|
||||
await cheatTip()
|
||||
hitokoto()
|
||||
if (settingState.setting['common.isAgreePact']) {
|
||||
if (isFirstPush) {
|
||||
isFirstPush = false
|
||||
|
@ -16,7 +16,7 @@ const Content = () => {
|
||||
const theme = useTheme()
|
||||
|
||||
const openHomePage = () => {
|
||||
void openUrl('https://github.com/ikunshare/lx-music-mobile#readme')
|
||||
void openUrl('https://github.com/ikunshare/lx-music-mobile-mod#readme')
|
||||
}
|
||||
const openLicensePage = () => {
|
||||
void openUrl('http://www.apache.org/licenses/LICENSE-2.0')
|
||||
|
@ -11,6 +11,7 @@ import { scaleSizeH, scaleSizeW, setSpText } from './pixelRatio'
|
||||
import { toOldMusicInfo } from './index'
|
||||
import { stringMd5 } from 'react-native-quick-md5'
|
||||
import { windowSizeTools } from '@/utils/windowSizeTools'
|
||||
import dataInit from '@/core/init/dataInit'
|
||||
|
||||
|
||||
// https://stackoverflow.com/a/47349998
|
||||
@ -545,13 +546,19 @@ export const cheatTip = async() => {
|
||||
if (isRead) return
|
||||
|
||||
return tipDialog({
|
||||
title: '谨防被骗提示',
|
||||
message: `1. 本项目无微信公众号之类的官方账号,也未在小米、华为、vivo等应用商店发布应用,商店内的“LX Music Mod”、“洛雪音乐”相关的应用全部属于假冒应用,谨防被骗。
|
||||
2. 本软件完全无广告且无引流(如需要加群、关注公众号之类才能使用或者升级)的行为,若你使用过程中遇到广告或者引流的信息,则表明你当前运行的软件是第三方修改版。
|
||||
3. 目前本项目的原始发布地址只有 GitHub 及 蓝奏网盘 (在设置-关于有说明),其他渠道均为第三方转载发布,可信度请自行鉴别。`,
|
||||
title: '提示',
|
||||
message: `本项目是对LX Music的二次开发,请勿将本项目用于商业用途,否则后果自负。如有疑问,请加入QQ群:690309707。`,
|
||||
btnText: '我知道了 (Close)',
|
||||
bgClose: false,
|
||||
}).then(() => {
|
||||
void saveData(storageDataPrefix.cheatTip, true)
|
||||
})
|
||||
}
|
||||
|
||||
export const hitokoto = () => {
|
||||
fetch('https://v1.hitokoto.cn')
|
||||
.then(response => response.json())
|
||||
.then(data => {
|
||||
return toast(data.hitokoto)
|
||||
})
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user