Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Application ID when storing apps #1100

Merged
merged 9 commits into from Dec 8, 2023

Conversation

TheMoonThatRises
Copy link
Member

@TheMoonThatRises TheMoonThatRises commented Sep 19, 2023

Requires #1130.

This switches from using the name of the application to using the ID of the application, which should be unique and exists for every app. This fixes the problem with Mobile Legends (#668) where the character : causes unintentional issues with the application, which could also affect other apps with unique symbols (e.g. #1104).

This update will also refactor the way applications are stored in the PlayCover container (~/Library/Containers/io.playcover.PlayCover), storing them all under one directory. The PR will also change the way certain behind-the-scenes functionality will work (and fix them), such as:

  • File pruner (more aggressive and in-depth)
  • App container (actually make the variable populated, and therefore fixes some aspects of the app)
  • App aliases (a fundamental feature to this PR)

To also decrease confusion as to which application is being launched, every app will have an alias created by default (under ~/Applications/PlayCover) with the display name of the application, and PlayCover will launch apps via the alias.

Todo list:

Features that could be implemented in this PR but currently isn't:

  • Allow the user to store the app anywhere (including different directories or off the drive) (would require this PR to be changed)

All the features in this PR are subject to change and are not final.

@TheMoonThatRises TheMoonThatRises added the squash Indicates whether a PR must be squashed before being merged label Oct 8, 2023
@TheMoonThatRises TheMoonThatRises marked this pull request as ready for review November 8, 2023 21:30
@TheMoonThatRises TheMoonThatRises marked this pull request as draft December 1, 2023 15:42
@TheMoonThatRises TheMoonThatRises marked this pull request as ready for review December 5, 2023 14:41
@XuYicong XuYicong merged commit 9269b76 into PlayCover:develop Dec 8, 2023
1 check passed
XuYicong added a commit that referenced this pull request Dec 9, 2023
* fix: sidebar button

* Add toggle for scroll wheel  (#1215)

* Add

* Add i18n string

* fix: missing semi-colon in en localisation

* Use Application ID when storing apps (#1100)

* feat: init of using app id

* fix: discord rpc

* add and move alias function

* update bundleid cache

* fix cache prune

* fix merge

* fix removing wrong file

* move create-dmg to brew

---------

Co-authored-by: Xyct <87l46110@gmail.com>
Co-authored-by: ytai <653297351@qq.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
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: 金铲铲之战 (jkchess) Crash [Bug]: Mobile legend - black screen when loading
2 participants