mirror of
https://github.com/PlayCover/PlayCover.git
synced 2026-04-26 00:05:52 +03:00
[PR #1100] [MERGED] Use Application ID when storing apps #1814
Labels
No labels
UI
app-support
bug
bug
documentation
duplicate
enhancement
game-support
good first issue
help wanted / caution
inactive
invalid
macos-beta
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/PlayCover#1814
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/PlayCover/PlayCover/pull/1100
Author: @TheMoonThatRises
Created: 9/19/2023
Status: ✅ Merged
Merged: 12/8/2023
Merged by: @XuYicong
Base:
develop← Head:fix/use-application-id📝 Commits (9)
d3a5e11feat: init of using app id7b7b3a2fix: discord rpcb2d51f1Merge branch 'fix/swordrpc' into fix/use-application-idb9b8029add and move alias function0b4b27aupdate bundleid cache5e3efe8fix cache pruned5b150dMerge branch 'develop' into fix/use-application-idcd100affix mergea79a68ffix removing wrong file📊 Changes
7 files changed (+160 additions, -68 deletions)
View changed files
📝
PlayCover/AppInstaller/Installer.swift(+2 -2)📝
PlayCover/Model/PlayApp.swift(+19 -28)📝
PlayCover/Utils/Extensions/PlayAppExtensions.swift(+19 -0)📝
PlayCover/ViewModel/AppsVM.swift(+67 -3)📝
PlayCover/Views/AppSettingsView.swift(+5 -10)📝
PlayCover/Views/Uninstaller.swift(+47 -23)📝
PlayCover/en.lproj/Localizable.strings(+1 -2)📄 Description
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: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:
All the features in this PR are subject to change and are not final.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.