Mac: Add wua filetype to info.plist #1039

Merged
shinra-electric merged 4 commits from mac-filetypes into main 2023-12-10 04:30:08 -03:00
shinra-electric commented 2023-12-09 08:19:44 -03:00 (Migrated from github.com)

Declaring support for wua filetypes in the info.plist will associate wua files with Cemu.

Needs testing with the CI:

  • Viewing a wua file in Finder should display a document icon with a Cemu icon superimposed on it.

Example from OpenEmu:
Screenshot 2023-12-09 at 12 16 42

  • Double-clicking on a wua file should now cause Cemu to open.

The action we would expect is to run the wua on launch.
Edit: Or else to first add to the games list and then launch...
Edit 2: Cemu opens, but nothing else happens. Functionality can be added in a separate PR.

Declaring support for `wua` filetypes in the info.plist will associate wua files with Cemu. Needs testing with the CI: - [x] Viewing a `wua` file in Finder should display a document icon with a Cemu icon superimposed on it. Example from OpenEmu: <img width="206" alt="Screenshot 2023-12-09 at 12 16 42" src="https://github.com/cemu-project/Cemu/assets/50119606/8ce586d6-4a3e-4786-a364-7ee0f56a5a93"> - [x] Double-clicking on a `wua` file should now cause Cemu to open. The action we would expect is to run the `wua` on launch. Edit: Or else to first add to the games list and then launch... Edit 2: Cemu opens, but nothing else happens. Functionality can be added in a separate PR.
shinra-electric commented 2023-12-09 09:02:40 -03:00 (Migrated from github.com)

I checked the CI:

  • The association is working
  • The icon is the full Cemu icon, not the document one I was expecting
  • Double-clicking the wua file simply opens Cemu. Will need to add a new function to handle this properly.
Screenshot 2023-12-09 at 13 00 17
I checked the CI: - The association is working - ~~The icon is the full Cemu icon, not the document one I was expecting~~ - Double-clicking the wua file simply opens Cemu. Will need to add a new function to handle this properly. <img width="234" alt="Screenshot 2023-12-09 at 13 00 17" src="https://github.com/cemu-project/Cemu/assets/50119606/6e8cb0a6-614c-49e2-8df0-3de31c7a39cd">
shinra-electric commented 2023-12-09 09:25:14 -03:00 (Migrated from github.com)

Removing explicit mention of cemu.icns gives the expected document icon:

Screenshot 2023-12-09 at 13 16 20

I think maybe the function for opening the file can be done in another PR.

Removing explicit mention of `cemu.icns` gives the expected document icon: <img width="227" alt="Screenshot 2023-12-09 at 13 16 20" src="https://github.com/cemu-project/Cemu/assets/50119606/35ee667e-6cda-4e69-8d74-2d453d92f498"> I think maybe the function for opening the file can be done in another PR.
Exzap commented 2023-12-10 04:30:02 -03:00 (Migrated from github.com)

I assume the issue with games not launching is that Cemu expects the -g option in front of the launch path. But I agree that this can be solved as a separate PR. Thanks!

I assume the issue with games not launching is that Cemu expects the `-g` option in front of the launch path. But I agree that this can be solved as a separate PR. Thanks!
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: cemu-project_Mirror/Cemu-2024-03-05#1039
No description provided.