跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[分享发现] 🔨 某 v2er 做得 App 确实可能是基于 localsend 改的。

发表于

起因

这个帖子: https://v2ex.com/t/1052041

我看了下 Repo ,然后说:“你的 Thanks to 部分不加入 localsend 吗?”

OP @LuLiangDev 表示:

@另外一个 v2er 不是啊,哪里看出来是 localsend 改的?

@beimenjun 这是什么说法呢。为何要 Thanks to localsend ?

个人想法

在一个开源项目上改进没啥大不了的,本身开源项目就是允许别人修改的。

但是不肯承认是不是吃相差了点啊?

那我现在告诉你为啥要 Thanks to localsend

让我们打开此 App 的 1.0.0 版本 https://github.com/Gentleflow/Airclap/releases/tag/v1.0.0 ,下载 dmg 版本,安装 App ,进入 Applications 文件夹右键刚安装的 App ,选中 “Show Package Contents”,然后我们可以看到一个 Frameworks 文件夹。

依样画葫芦,我们去下载 localsend 的 1.10.0 版本,https://github.com/localsend/localsend/releases/tag/v1.10.0 ,也打开到这个页面。

截图:

fEEa5EI.jpg

可以看到这里的库主要差别在某 App 增加了一些登陆、付费以及数据库相关的。

当然可能有人说这些库都是功能需要的,就算一模一样也有可能。

所以可能有人觉得有没有更强力一点的🔨呢,这时候就可以打开 Info.plist 文件,两个不同的 App ,居然 NSPhotoLibraryUsageDescription 的 key 对应的 value 都是 The app needs photo library access so that the user can select photos to share.

Xcode 是不会提供这个默认选项的。并且我们可以去 github 搜索 <string>The app needs photo library access so that the user can select photos to share.</string> 这个项目,得到的基本都是 localsend 的 repo 或者 fork

这得多巧合啊!

wGNabBp.jpg

结语

大家自己总结吧。

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.