mirror of
https://github.com/PlayCover/PlayCover.git
synced 2026-04-26 08:15:56 +03:00
[PR #538] [MERGED] feat: (slightly) more robust uri handler #1653
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#1653
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/538
Author: @ohaiibuzzle
Created: 11/24/2022
Status: ✅ Merged
Merged: 2/23/2023
Merged by: @Depal1
Base:
develop← Head:feat/uri-handler📝 Commits (6)
4af5902feat: (slightly) more robust URI Handler1fbf718fix: behavior tweaks3d052e5chore: undo Cartfile.resolved changesc1437b8fix: use host instead of path for uri parsing9db7839chore: remove print statement5912b93fix: even tighter checks📊 Changes
6 files changed (+131 additions, -12 deletions)
View changed files
📝
PlayCover.xcodeproj/project.pbxproj(+4 -0)➕
PlayCover/Utils/URLHandler.swift(+101 -0)📝
PlayCover/Views/MainView.swift(+7 -1)📝
PlayCover/Views/PlayCoverApp.swift(+1 -11)📝
PlayCover/Views/Settings/IPASourceSettings.swift(+10 -0)📝
PlayCover/Views/Sidebar Views/IPALibraryView.swift(+8 -0)📄 Description
This PR proposes a new, (slightly) more robust URI handler for the
playcover:URI scheme, with support for adding sources directly from other applicationsAlso 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>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.