mirror of
https://github.com/PlayCover/PlayCover.git
synced 2026-04-26 16:25:54 +03:00
[PR #95] [MERGED] [May be breaking] Adding option to disable display timeout per-app #1457
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#1457
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/95
Author: @ohaiibuzzle
Created: 7/24/2022
Status: ✅ Merged
Merged: 7/31/2022
Merged by: @Depal1
Base:
develop← Head:feat/disable-timeout📝 Commits (3)
dbee5adfeat!: disabling display sleep per-app35149a2chore: remove unused importsc54cf85fix: move timeout settings to App Settings📊 Changes
4 files changed (+53 additions, -2 deletions)
View changed files
📝
PlayCover/Model/AppSettings.swift(+13 -0)📝
PlayCover/Model/PlayApp.swift(+30 -1)📝
PlayCover/View/AppSettingsView.swift(+9 -1)📝
PlayCover/View/PlayAppView.swift(+1 -0)📄 Description
This feature was suggested in issue #85
This gives the user an option to completely disable display sleep when a specific app is running. However, because of this, we had to change to using
NSWorkspace.shared.openApplicationto give PlayCover a handler to the running app and enable/disable display sleep accordingly, so this PR is may have unintended issues.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.