Skip to content

Commit

Permalink
🔥 Optimize file structure
Browse files Browse the repository at this point in the history
  • Loading branch information
waterbang committed Jun 14, 2023
1 parent cda9b1a commit 10da684
Show file tree
Hide file tree
Showing 67 changed files with 42 additions and 4,632 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ ios/SwiftUIToMAUI/SwiftUIBindingMAUI/SwiftUIBindingMAUI/obj
local.properties
build/
*.log
android/app/src/main/assets/cot-demo/
android/app/src/main/assets/plaoc-demo/

# desktop

Expand Down
4 changes: 1 addition & 3 deletions android/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
# Tips

1. "Customize Data Views" 中,禁用 toString 的打印,可以避免 stream 对象自动读取所带来的卡死问题
# dweb_browser for Android
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import android.content.Intent
import android.net.Uri
import android.provider.MediaStore
import androidx.activity.result.contract.ActivityResultContract
import androidx.activity.result.contract.ActivityResultContracts
import androidx.annotation.CallSuper


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,27 +40,27 @@ data class JmmMetadata(


val defaultJmmMetadata = JmmMetadata(
id = "default.user.dweb",
id = "demo.user.dweb",
dweb_deeplinks = mutableListOf(),
icon = "https://www.bfmeta.info/imgs/logo3.webp",
name = "默认测试数据",
short_name = "该测试数据包含了相关具体信息,请仔细查阅",
name = "plaoc demo",
short_name = "demo",
description = "这是一个实例应用,包含了dweb_plugins全部组件的实例。",
bundle_url = "https://dweb.waterbang.top/app.plaoc.dweb-1.0.0.zip",
bundle_size = "2726400",
bundle_hash = "", // 文件hash
bundle_url = "https://dweb.waterbang.top/game.dweb.waterbang.top.dweb-1.0.0.zip",
bundle_size = "2742079",
bundle_hash = "sha256:966251757d12a7f4021a0b40031ff4b2b60ae08b63de516b572eb572bfd90886", // 文件hash
version = "1.2.0",
images = listOf(
"http://qiniu-waterbang.waterbang.top/bfm/cot-home_2058.webp",
"http://qiniu-waterbang.waterbang.top/bfm/defi.png",
"http://qiniu-waterbang.waterbang.top/bfm/nft.png"
),
home = "https://www.bfmeta.info/",
home = "https://dweb-browser.org/",
server = JmmMetadata.MainServer(
root = "dweb:///sys",
entry = "/bfs_worker/public.service.worker.js"
root = "/sys",
entry = "/server/plaoc.server.js"
),
author = listOf("bfs", "[email protected]"),
categories = listOf("demo", "vue3"),
categories = listOf("demo", "vue3","plaoc"),
release_date = "2023-05-22T09:01:38.318Z",
)
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ suspend fun startDwebBrowser(): DnsNMM {

/// 安装Jmm
val jmmNMM = JmmNMM().also { dnsNMM.install(it) }


// 测试使用,打包成apk需要删除
/**
*
* browserNMM.mmid,
Expand All @@ -132,7 +131,6 @@ suspend fun startDwebBrowser(): DnsNMM {

DEVELOPER.WaterBang -> listOf(
browserNMM.mmid,
// desktopJMM.mmid
)

DEVELOPER.Kingsword09 -> listOf(
Expand Down
1 change: 0 additions & 1 deletion android/mlkit-barcode-scanning/.gitignore

This file was deleted.

12 changes: 0 additions & 12 deletions android/mlkit-barcode-scanning/bintray.gradle

This file was deleted.

49 changes: 0 additions & 49 deletions android/mlkit-barcode-scanning/build.gradle

This file was deleted.

Empty file.
3 changes: 0 additions & 3 deletions android/mlkit-barcode-scanning/gradle.properties

This file was deleted.

21 changes: 0 additions & 21 deletions android/mlkit-barcode-scanning/proguard-rules.pro

This file was deleted.

4 changes: 0 additions & 4 deletions android/mlkit-barcode-scanning/src/main/AndroidManifest.xml

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 10da684

Please sign in to comment.