mirror of
https://gh-proxy.org/https://github.com/tiajinsha/JKVideo
synced 2026-07-08 07:28:37 +08:00
init
This commit is contained in:
@@ -90,7 +90,7 @@ Android · iOS · Web,Expo Go 扫码 5 分钟运行,Dev Build 解锁完整 D
|
|||||||
> 部分清晰度受限,视频播放降级为 WebView 方案
|
> 部分清晰度受限,视频播放降级为 WebView 方案
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://github.com/你的用户名/JKVideo.git
|
git clone https://github.com/tiajinsha/JKVideo.git
|
||||||
cd JKVideo
|
cd JKVideo
|
||||||
npm install
|
npm install
|
||||||
npx expo start
|
npx expo start
|
||||||
|
|||||||
6
app.json
6
app.json
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"expo": {
|
"expo": {
|
||||||
"name": "BilibiliApp",
|
"name": "JKVideo",
|
||||||
"slug": "bilibili-app",
|
"slug": "jkvideo",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"scheme": "bilibili",
|
"scheme": "bilibili",
|
||||||
"orientation": "default",
|
"orientation": "default",
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
"android.permission.RECORD_AUDIO",
|
"android.permission.RECORD_AUDIO",
|
||||||
"android.permission.MODIFY_AUDIO_SETTINGS"
|
"android.permission.MODIFY_AUDIO_SETTINGS"
|
||||||
],
|
],
|
||||||
"package": "com.anonymous.bilibiliapp"
|
"package": "com.anonymous.jkvideo"
|
||||||
},
|
},
|
||||||
"web": {
|
"web": {
|
||||||
"bundler": "metro",
|
"bundler": "metro",
|
||||||
|
|||||||
@@ -13,8 +13,8 @@ if ($LASTEXITCODE -eq 0) {
|
|||||||
$apk = Get-ChildItem "Z:\android\app\build\outputs\apk\debug\*.apk" | Select-Object -First 1
|
$apk = Get-ChildItem "Z:\android\app\build\outputs\apk\debug\*.apk" | Select-Object -First 1
|
||||||
Write-Host "SUCCESS! APK: $($apk.FullName)" -ForegroundColor Green
|
Write-Host "SUCCESS! APK: $($apk.FullName)" -ForegroundColor Green
|
||||||
# Copy to Desktop
|
# Copy to Desktop
|
||||||
Copy-Item $apk.FullName "C:\Users\Administrator\Desktop\BilibiliApp-debug.apk"
|
Copy-Item $apk.FullName "C:\Users\Administrator\Desktop\JKVideo-debug.apk"
|
||||||
Write-Host "Copied to Desktop: BilibiliApp-debug.apk" -ForegroundColor Cyan
|
Write-Host "Copied to Desktop: JKVideo-debug.apk" -ForegroundColor Cyan
|
||||||
} else {
|
} else {
|
||||||
Write-Host "Build FAILED" -ForegroundColor Red
|
Write-Host "Build FAILED" -ForegroundColor Red
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"name": "reactbilibiliapp",
|
"name": "jkvideo",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"main": "expo-router/entry",
|
"main": "expo-router/entry",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
Reference in New Issue
Block a user