d19d812ccb
<!-- Please provide as much information as possible about what your PR aims to do. PRs with no description will most likely be closed until more information is provided. If you're planing on changing fundamental behaviour or add big new features, please open a GitHub Issue first before starting to work on it. If it's not something big and you still want to contact us about it, feel free to do so ! --> ### Problem description <!-- Describe the bug that you fixed/feature request that you implemented, or link to an existing issue describing it --> When starting ImHex on a MacBook model with both integrated and discrete graphics, it will force the computer to use the discrete graphics card. This causes increased power usage, meaning the fans will spin up, the battery will drain faster, etc. This program is not very graphics intensive, so using the discrete graphics card shouldn't be needed. ### Implementation description <!-- Explain what you did to correct the problem --> I changed the [`GLFW_COCOA_GRAPHICS_SWITCHING`](https://www.glfw.org/docs/latest/window_guide.html#window_hints_osx) setting in GLFW to not enforce using the discrete graphics. ### Screenshots <!-- If your change is visual, take a screenshot showing it. Ideally, make before/after sceenshots --> ### Additional things <!-- Anything else you would like to say --> My editor is configured to automatically remove trailing whitespace, so I hope that those whitespace changes are ok
52 lines
1.7 KiB
XML
52 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
<plist version="1.0">
|
|
<dict>
|
|
<key>CFBundleDevelopmentRegion</key>
|
|
<string>English</string>
|
|
<key>CFBundleExecutable</key>
|
|
<string>${MACOSX_BUNDLE_EXECUTABLE_NAME}</string>
|
|
<key>CFBundleGetInfoString</key>
|
|
<string>${MACOSX_BUNDLE_INFO_STRING}</string>
|
|
<key>CFBundleIconFile</key>
|
|
<string>${MACOSX_BUNDLE_ICON_FILE}</string>
|
|
<key>CFBundleDocumentTypes</key>
|
|
<array>
|
|
<dict>
|
|
<key>CFBundleTypeExtensions</key>
|
|
<array>
|
|
<string>*</string>
|
|
</array>
|
|
<key>CFBundleTypeRole</key>
|
|
<string>Editor</string>
|
|
<key>NSDocumentClass</key>
|
|
<string>HexDocument</string>
|
|
<key>CFBundleTypeName</key>
|
|
<string>All Files</string>
|
|
</dict>
|
|
</array>
|
|
<key>CFBundleIdentifier</key>
|
|
<string>${MACOSX_BUNDLE_GUI_IDENTIFIER}</string>
|
|
<key>CFBundleInfoDictionaryVersion</key>
|
|
<string>6.0</string>
|
|
<key>CFBundleLongVersionString</key>
|
|
<string>${MACOSX_BUNDLE_LONG_VERSION_STRING}</string>
|
|
<key>CFBundleName</key>
|
|
<string>${MACOSX_BUNDLE_BUNDLE_NAME}</string>
|
|
<key>CFBundlePackageType</key>
|
|
<string>APPL</string>
|
|
<key>CFBundleShortVersionString</key>
|
|
<string>${MACOSX_BUNDLE_SHORT_VERSION_STRING}</string>
|
|
<key>CFBundleSignature</key>
|
|
<string>????</string>
|
|
<key>CFBundleVersion</key>
|
|
<string>${MACOSX_BUNDLE_BUNDLE_VERSION}</string>
|
|
<key>CSResourcesFileMapped</key>
|
|
<true/>
|
|
<key>NSSupportsAutomaticGraphicsSwitching</key>
|
|
<true/>
|
|
<key>NSHumanReadableCopyright</key>
|
|
<string>${MACOSX_BUNDLE_COPYRIGHT}</string>
|
|
</dict>
|
|
</plist>
|