Skip to content

Conversation

ohaiibuzzle
Copy link
Member

@ohaiibuzzle ohaiibuzzle commented Nov 24, 2022

This PR proposes a new, (slightly) more robust URI handler for the playcover: URI scheme, with support for adding sources directly from other applications

Also includes RuntimeVM, which is like StoreVM, but is not persistent, which can be useful for passing around temp data later.

Example: playcover://source?action=add&url=<source_url>

Depal1
Depal1 previously requested changes Dec 4, 2022
Copy link
Member

@Depal1 Depal1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A viable obfuscation method needs to be figured out for the very particular case of an app targeting the url schema as an unwanted “PlayCover detection”. For more information there is a proposal for an impersonation scheme stated in the comments of #534. Having none might not pose an immediate threat to PlayCover compatibility, but we need to plan ahead since this could impact the app’s core functionality as jailbreak detection does.

P.D. I will be able to resume work here in about a week.

@amirsaam

This comment was marked as outdated.

@ohaiibuzzle
Copy link
Member Author

A viable obfuscation method needs to be figured out for the very particular case of an app targeting the url schema as an unwanted “PlayCover detection”. For more information there is a proposal for an impersonation scheme stated in the comments of #534. Having none might not pose an immediate threat to PlayCover compatibility, but we need to plan ahead since this could impact the app’s core functionality as jailbreak detection does.

P.D. I will be able to resume work here in about a week.

This would (probably) require something fairly silly (like, modifying Info.plist while PlayCover is running) that I am not sure will work. Difficult at best

@zanderp25 zanderp25 added the enhancement New feature or request label Jan 8, 2023
@IsaacMarovitz IsaacMarovitz added the help wanted / caution Extra attention is needed label Jan 30, 2023
@IsaacMarovitz IsaacMarovitz marked this pull request as draft January 30, 2023 17:23
@ohaiibuzzle ohaiibuzzle marked this pull request as ready for review February 14, 2023 09:41
@Depal1 Depal1 added the squash Indicates whether a PR must be squashed before being merged label Feb 15, 2023
@ohaiibuzzle ohaiibuzzle requested a review from Depal1 February 21, 2023 13:27
@Depal1 Depal1 merged commit 7b1416e into PlayCover:develop Feb 23, 2023
XuYicong pushed a commit to XuYicong/PlayCover that referenced this pull request Mar 4, 2023
* feat: (slightly) more robust URI Handler

* fix: behavior tweaks

* chore: undo Cartfile.resolved changes

* fix: use host instead of path for uri parsing

* chore: remove print statement

* fix: even tighter checks
IsaacMarovitz pushed a commit to IsaacMarovitz/PlayCover that referenced this pull request Mar 11, 2023
* feat: (slightly) more robust URI Handler

* fix: behavior tweaks

* chore: undo Cartfile.resolved changes

* fix: use host instead of path for uri parsing

* chore: remove print statement

* fix: even tighter checks
JoseMoreville added a commit that referenced this pull request Dec 11, 2023
* Add sparkle updat push to CI

* add workflow_dispatch to the build actions

* fix: wait until build job is done to start sparkle job

* fix: invalid yaml structure

* fix: invalid yaml structure

* load config from .config

* fix swift lint

* Better clear app preferences error checking

* improve appcast

* update updater setting

* disable CI for appcast

* correct appcast url

* remove nightly update channel

* fix user customized config

* Update Cartfile

* PlayTools v2.0.7

* Bugfix release 2.0.4

* Translations update from Hosted Weblate (#747)

* Translated using Weblate (Catalan)

Currently translated at 0.0% (0 of 214 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/ca/
Translation: PlayCover/PlayCover

* Translated using Weblate (Russian)

Currently translated at 96.2% (206 of 214 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/ru/
Translation: PlayCover/PlayCover

* Translated using Weblate (Indonesian)

Currently translated at 78.9% (169 of 214 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/id/
Translation: PlayCover/PlayCover

* Translated using Weblate (Japanese)

Currently translated at 97.1% (208 of 214 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/ja/
Translation: PlayCover/PlayCover

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 96.7% (207 of 214 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/pt_BR/
Translation: PlayCover/PlayCover

* Translated using Weblate (Hindi)

Currently translated at 97.1% (208 of 214 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/hi/
Translation: PlayCover/PlayCover

* Translated using Weblate (French)

Currently translated at 96.7% (207 of 214 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/fr/
Translation: PlayCover/PlayCover

* Translated using Weblate (Korean)

Currently translated at 96.7% (207 of 214 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/ko/
Translation: PlayCover/PlayCover

* Translated using Weblate (Persian)

Currently translated at 99.0% (212 of 214 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/fa/
Translation: PlayCover/PlayCover

* Translated using Weblate (Romanian)

Currently translated at 78.9% (169 of 214 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/ro/
Translation: PlayCover/PlayCover

* Translated using Weblate (Turkish)

Currently translated at 96.7% (207 of 214 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/tr/
Translation: PlayCover/PlayCover

* Translated using Weblate (German)

Currently translated at 100.0% (214 of 214 strings)

Translated using Weblate (German)

Currently translated at 99.0% (212 of 214 strings)

Translated using Weblate (German)

Currently translated at 100.0% (212 of 212 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: SkyrilHD <skyrilhd@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/de/
Translation: PlayCover/PlayCover

* Translated using Weblate (Spanish)

Currently translated at 100.0% (214 of 214 strings)

Translated using Weblate (Spanish)

Currently translated at 99.0% (212 of 214 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/es/
Translation: PlayCover/PlayCover

* Translated using Weblate (Vietnamese)

Currently translated at 100.0% (214 of 214 strings)

Translated using Weblate (Vietnamese)

Currently translated at 99.0% (212 of 214 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Trần Thanh <tranthanh2001@outlook.com>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/vi/
Translation: PlayCover/PlayCover

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (214 of 214 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 99.0% (212 of 214 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (212 of 212 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: weng weng <carlchina@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/zh_Hans/
Translation: PlayCover/PlayCover

* Translated using Weblate (Chinese (Traditional))

Currently translated at 99.0% (212 of 214 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 99.0% (212 of 214 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Araide <aaronhu219@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/zh_Hant/
Translation: PlayCover/PlayCover

---------

Co-authored-by: SkyrilHD <skyrilhd@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Trần Thanh <tranthanh2001@outlook.com>
Co-authored-by: weng weng <carlchina@gmail.com>
Co-authored-by: Araide <aaronhu219@gmail.com>

* Adds toggle to fix screen issues with some apps in adaptive mode (#781)

* Adding toggle to fix screen issues with some apps in adaptive mode

* Fix pre 13.2 test

* Adding macOS Version to app plist

* Window fix toggle available for any setting up to 13.1

This fixes responsive for certain apps

* Remove macOSVersion

* change url scheme to apple-magnifier

* feat: high resolution warning (#802)

* feat: (slightly) more robust uri handler (#538)

* feat: (slightly) more robust URI Handler

* fix: behavior tweaks

* chore: undo Cartfile.resolved changes

* fix: use host instead of path for uri parsing

* chore: remove print statement

* fix: even tighter checks

* Translations update from Hosted Weblate (#803)

* Translated using Weblate (Russian)

Currently translated at 86.0% (198 of 230 strings)

Translated using Weblate (Russian)

Currently translated at 86.4% (198 of 229 strings)

Translated using Weblate (Russian)

Currently translated at 87.2% (198 of 227 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/ru/
Translation: PlayCover/PlayCover

* Translated using Weblate (Indonesian)

Currently translated at 70.4% (162 of 230 strings)

Translated using Weblate (Indonesian)

Currently translated at 70.7% (162 of 229 strings)

Translated using Weblate (Indonesian)

Currently translated at 71.3% (162 of 227 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/id/
Translation: PlayCover/PlayCover

* Translated using Weblate (Japanese)

Currently translated at 94.3% (217 of 230 strings)

Translated using Weblate (Japanese)

Currently translated at 86.9% (200 of 230 strings)

Translated using Weblate (Japanese)

Currently translated at 87.3% (200 of 229 strings)

Translated using Weblate (Japanese)

Currently translated at 88.1% (200 of 227 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: ささ <hayato.corocoro@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/ja/
Translation: PlayCover/PlayCover

* Translated using Weblate (Korean)

Currently translated at 88.2% (203 of 230 strings)

Translated using Weblate (Korean)

Currently translated at 88.6% (203 of 229 strings)

Translated using Weblate (Korean)

Currently translated at 89.4% (203 of 227 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/ko/
Translation: PlayCover/PlayCover

* Translated using Weblate (Persian)

Currently translated at 88.2% (203 of 230 strings)

Translated using Weblate (Persian)

Currently translated at 88.6% (203 of 229 strings)

Translated using Weblate (Persian)

Currently translated at 89.4% (203 of 227 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/fa/
Translation: PlayCover/PlayCover

* Translated using Weblate (Romanian)

Currently translated at 70.4% (162 of 230 strings)

Translated using Weblate (Romanian)

Currently translated at 70.7% (162 of 229 strings)

Translated using Weblate (Romanian)

Currently translated at 71.3% (162 of 227 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/ro/
Translation: PlayCover/PlayCover

* Translated using Weblate (Catalan)

Currently translated at 0.0% (0 of 230 strings)

Translated using Weblate (Catalan)

Currently translated at 0.0% (0 of 229 strings)

Translated using Weblate (Catalan)

Currently translated at 0.0% (0 of 227 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/ca/
Translation: PlayCover/PlayCover

* Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (230 of 230 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 95.6% (220 of 230 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 96.0% (220 of 229 strings)

Translated using Weblate (Chinese (Traditional))

Currently translated at 96.9% (220 of 227 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Araide <aaronhu219@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/zh_Hant/
Translation: PlayCover/PlayCover

* Translated using Weblate (Turkish)

Currently translated at 89.1% (205 of 230 strings)

Translated using Weblate (Turkish)

Currently translated at 89.5% (205 of 229 strings)

Translated using Weblate (Turkish)

Currently translated at 90.3% (205 of 227 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/tr/
Translation: PlayCover/PlayCover

* Translated using Weblate (Hindi)

Currently translated at 86.9% (200 of 230 strings)

Translated using Weblate (Hindi)

Currently translated at 87.3% (200 of 229 strings)

Translated using Weblate (Hindi)

Currently translated at 88.1% (200 of 227 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/hi/
Translation: PlayCover/PlayCover

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 86.5% (199 of 230 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 86.8% (199 of 229 strings)

Translated using Weblate (Portuguese (Brazil))

Currently translated at 87.6% (199 of 227 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/pt_BR/
Translation: PlayCover/PlayCover

* Translated using Weblate (Spanish)

Currently translated at 100.0% (230 of 230 strings)

Translated using Weblate (Spanish)

Currently translated at 99.5% (229 of 230 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (229 of 229 strings)

Translated using Weblate (Spanish)

Currently translated at 99.1% (227 of 229 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (227 of 227 strings)

Translated using Weblate (Spanish)

Currently translated at 96.9% (220 of 227 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/es/
Translation: PlayCover/PlayCover

* Translated using Weblate (German)

Currently translated at 100.0% (230 of 230 strings)

Translated using Weblate (German)

Currently translated at 99.5% (229 of 230 strings)

Translated using Weblate (German)

Currently translated at 100.0% (229 of 229 strings)

Translated using Weblate (German)

Currently translated at 96.0% (220 of 229 strings)

Translated using Weblate (German)

Currently translated at 96.9% (220 of 227 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: SkyrilHD <skyrilhd@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/de/
Translation: PlayCover/PlayCover

* Translated using Weblate (Vietnamese)

Currently translated at 95.6% (220 of 230 strings)

Translated using Weblate (Vietnamese)

Currently translated at 96.0% (220 of 229 strings)

Translated using Weblate (Vietnamese)

Currently translated at 96.9% (220 of 227 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/vi/
Translation: PlayCover/PlayCover

* Translated using Weblate (Chinese (Simplified))

Currently translated at 100.0% (230 of 230 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 95.6% (220 of 230 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 96.0% (220 of 229 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 96.9% (220 of 227 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Araide <aaronhu219@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/zh_Hans/
Translation: PlayCover/PlayCover

* Translated using Weblate (French)

Currently translated at 95.6% (220 of 230 strings)

Translated using Weblate (French)

Currently translated at 96.0% (220 of 229 strings)

Translated using Weblate (French)

Currently translated at 96.9% (220 of 227 strings)

Co-authored-by: Anonymous <noreply@weblate.org>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/playcover/playcover/fr/
Translation: PlayCover/PlayCover

---------

Co-authored-by: ささ <hayato.corocoro@gmail.com>
Co-authored-by: Araide <aaronhu219@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: SkyrilHD <skyrilhd@gmail.com>

* fix: deselect app on uninstall (#792)

* fix version control mark in jp localization strings

* PlayTools v2.1.0

* Bug fix release 2.0.5

* change inject cmdType for inject 1.1.0

* fix workflows

---------

Co-authored-by: Candygoblen123 <andrew.glaze76@gmail.com>
Co-authored-by: lucas lee <lixin9311@gmail.com>
Co-authored-by: Isaac Marovitz <42140194+IsaacMarovitz@users.noreply.github.com>
Co-authored-by: Depal1 <47154119+Depal1@users.noreply.github.com>
Co-authored-by: José Moreno <47700212+JoseMoreville@users.noreply.github.com>
Co-authored-by: Weblate (bot) <hosted@weblate.org>
Co-authored-by: SkyrilHD <skyrilhd@gmail.com>
Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Co-authored-by: Trần Thanh <tranthanh2001@outlook.com>
Co-authored-by: weng weng <carlchina@gmail.com>
Co-authored-by: Araide <aaronhu219@gmail.com>
Co-authored-by: OHaiiBuzzle <23693150+ohaiibuzzle@users.noreply.github.com>
Co-authored-by: ささ <hayato.corocoro@gmail.com>
Co-authored-by: Xyct <87l46110@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted / caution Extra attention is needed squash Indicates whether a PR must be squashed before being merged
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

6 participants