├── .github
└── FUNDING.yml
├── Vendor
└── Sparkle.framework
│ ├── Versions
│ ├── Current
│ └── A
│ │ ├── Resources
│ │ ├── fr_CA.lproj
│ │ ├── pt.lproj
│ │ ├── Autoupdate.app
│ │ │ └── Contents
│ │ │ │ ├── PkgInfo
│ │ │ │ ├── MacOS
│ │ │ │ ├── fileop
│ │ │ │ └── Autoupdate
│ │ │ │ ├── Resources
│ │ │ │ ├── AppIcon.icns
│ │ │ │ ├── SUStatus.nib
│ │ │ │ ├── ar.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── ca.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── cs.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── da.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── de.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── el.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── en.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── es.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── fi.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── fr.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── he.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── hr.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── hu.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── is.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── it.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── ja.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── ko.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── nb.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── nl.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── pl.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── ro.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── ru.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── sk.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── sl.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── sv.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── th.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── tr.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── uk.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── pt_BR.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── pt_PT.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── zh_CN.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ └── zh_TW.lproj
│ │ │ │ │ └── Sparkle.strings
│ │ │ │ ├── Info.plist
│ │ │ │ └── _CodeSignature
│ │ │ │ └── CodeResources
│ │ ├── SUStatus.nib
│ │ ├── DarkAqua.css
│ │ ├── ar.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── ca.lproj
│ │ │ └── Sparkle.strings
│ │ ├── cs.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── da.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── de.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── el.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── en.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── es.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── fi.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── fr.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── he.lproj
│ │ │ └── Sparkle.strings
│ │ ├── hr.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── hu.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── is.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── it.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── ja.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── ko.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── nb.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── nl.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── pl.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── ro.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── ru.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── sk.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── sl.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── sv.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── th.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── tr.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── uk.lproj
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── pt_BR.lproj
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── pt_PT.lproj
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── zh_CN.lproj
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── zh_TW.lproj
│ │ │ ├── Sparkle.strings
│ │ │ ├── SUUpdateAlert.nib
│ │ │ ├── SUAutomaticUpdateAlert.nib
│ │ │ └── SUUpdatePermissionPrompt.nib
│ │ ├── Info.plist
│ │ └── SUModelTranslation.plist
│ │ ├── Sparkle
│ │ ├── Modules
│ │ └── module.modulemap
│ │ ├── Headers
│ │ ├── SPUDownloaderDeprecated.h
│ │ ├── SUExport.h
│ │ ├── SPUDownloaderSession.h
│ │ ├── SUCodeSigningVerifier.h
│ │ ├── SUVersionDisplayProtocol.h
│ │ ├── SPUDownloader.h
│ │ ├── SUAppcast.h
│ │ ├── SPUDownloaderProtocol.h
│ │ ├── SUVersionComparisonProtocol.h
│ │ ├── Sparkle.h
│ │ ├── SPUURLRequest.h
│ │ ├── SPUDownloadData.h
│ │ ├── SPUDownloaderDelegate.h
│ │ ├── SUStandardVersionComparator.h
│ │ ├── SUErrors.h
│ │ ├── SUAppcastItem.h
│ │ ├── SUUpdater.h
│ │ └── SUUpdaterDelegate.h
│ │ └── PrivateHeaders
│ │ └── SUUnarchiver.h
│ ├── Headers
│ ├── Modules
│ ├── Sparkle
│ ├── Resources
│ └── PrivateHeaders
├── Assets
├── icon-small.png
└── screenshot3.png
├── Config
├── Identifiers.xcconfig
├── _MAIN_.xcconfig
├── Debug.xcconfig
└── Versions.xcconfig
├── DarkModeBuddy
├── Resources
│ ├── Assets.xcassets
│ │ ├── Contents.json
│ │ ├── AppIcon.appiconset
│ │ │ ├── icon_16x16.png
│ │ │ ├── icon_32x32.png
│ │ │ ├── icon_128x128.png
│ │ │ ├── icon_16x16@2x.png
│ │ │ ├── icon_256x256.png
│ │ │ ├── icon_32x32@2x.png
│ │ │ ├── icon_512x512.png
│ │ │ ├── icon_128x128@2x.png
│ │ │ ├── icon_256x256@2x.png
│ │ │ ├── icon_512x512@2x.png
│ │ │ └── Contents.json
│ │ └── AccentColor.colorset
│ │ │ └── Contents.json
│ ├── DarkModeBuddy.entitlements
│ └── Info.plist
├── Preview Content
│ └── Preview Assets.xcassets
│ │ └── Contents.json
├── Views
│ ├── UnsupportedMacView.swift
│ └── SettingsView.swift
└── Bootstrap
│ └── AppDelegate.swift
├── streamlogs.sh
├── DarkModeBuddy.xcodeproj
├── project.xcworkspace
│ ├── contents.xcworkspacedata
│ └── xcshareddata
│ │ └── IDEWorkspaceChecks.plist
├── xcuserdata
│ └── insidegui.xcuserdatad
│ │ └── xcschemes
│ │ └── xcschememanagement.plist
└── xcshareddata
│ └── xcschemes
│ └── DarkModeBuddy.xcscheme
├── .gitignore
├── DarkModeBuddyCore
├── Source
│ ├── AmbientLight
│ │ ├── DMBAmbientLightSensor.h
│ │ ├── DMBAmbientLightSensorReader.swift
│ │ └── DMBAmbientLightSensor.m
│ ├── Utilities
│ │ ├── SharedFileList.h
│ │ ├── ClamshellStateChecker.swift
│ │ └── SharedFileList.m
│ ├── System
│ │ └── DMBSystemAppearanceSwitcher.swift
│ └── Storage
│ │ └── DMBSettings.swift
├── Info.plist
└── DarkModeBuddyCore.h
├── LICENSE
└── README.md
/.github/FUNDING.yml:
--------------------------------------------------------------------------------
1 | github: insidegui
2 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/Current:
--------------------------------------------------------------------------------
1 | A
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Headers:
--------------------------------------------------------------------------------
1 | Versions/Current/Headers
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Modules:
--------------------------------------------------------------------------------
1 | Versions/Current/Modules
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Sparkle:
--------------------------------------------------------------------------------
1 | Versions/Current/Sparkle
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Resources:
--------------------------------------------------------------------------------
1 | Versions/Current/Resources
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/fr_CA.lproj:
--------------------------------------------------------------------------------
1 | fr.lproj
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/pt.lproj:
--------------------------------------------------------------------------------
1 | pt_BR.lproj
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/PrivateHeaders:
--------------------------------------------------------------------------------
1 | Versions/Current/PrivateHeaders
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/PkgInfo:
--------------------------------------------------------------------------------
1 | APPL????
--------------------------------------------------------------------------------
/Assets/icon-small.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Assets/icon-small.png
--------------------------------------------------------------------------------
/Assets/screenshot3.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Assets/screenshot3.png
--------------------------------------------------------------------------------
/Config/Identifiers.xcconfig:
--------------------------------------------------------------------------------
1 | // Change to your reverse DNS to build locally without conflicts.
2 | DMB_BUNDLE_ID_PREFIX=codes.rambo.
3 |
--------------------------------------------------------------------------------
/DarkModeBuddy/Resources/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "author" : "xcode",
4 | "version" : 1
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Sparkle:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Sparkle
--------------------------------------------------------------------------------
/Config/_MAIN_.xcconfig:
--------------------------------------------------------------------------------
1 | // Main configuration file, used for all build types.
2 |
3 | #include "Identifiers.xcconfig"
4 | #include "Versions.xcconfig"
5 |
--------------------------------------------------------------------------------
/DarkModeBuddy/Preview Content/Preview Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "author" : "xcode",
4 | "version" : 1
5 | }
6 | }
7 |
--------------------------------------------------------------------------------
/streamlogs.sh:
--------------------------------------------------------------------------------
1 | #!/bin/bash
2 |
3 | log stream --color always --level debug --style compact --predicate "subsystem contains 'codes.rambo.DarkModeBuddyCore'"
--------------------------------------------------------------------------------
/Config/Debug.xcconfig:
--------------------------------------------------------------------------------
1 | // Configurations applied only to debug builds
2 |
3 | GCC_PREPROCESSOR_DEFINITIONS = DEBUG=1 $(inherited)
4 |
5 | OTHER_SWIFT_FLAGS = -D DEBUG
6 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/SUStatus.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/SUStatus.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Modules/module.modulemap:
--------------------------------------------------------------------------------
1 | framework module Sparkle {
2 | umbrella header "Sparkle.h"
3 |
4 | export *
5 | module * { export * }
6 | }
7 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/DarkAqua.css:
--------------------------------------------------------------------------------
1 | html {
2 | color: #FFFFFFD8;
3 | }
4 | :link {
5 | color: #419CFF;
6 | }
7 | :link:active {
8 | color: #FF1919;
9 | }
10 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/ar.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/ar.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/ar.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/ar.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/ca.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/ca.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/cs.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/cs.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/cs.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/cs.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/da.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/da.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/da.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/da.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/de.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/de.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/el.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/el.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/el.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/el.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/en.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/en.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/es.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/es.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/fi.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/fi.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/fi.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/fi.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/fr.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/fr.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/he.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/he.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/hr.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/hr.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/hr.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/hr.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/hu.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/hu.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/hu.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/hu.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/is.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/is.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/is.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/is.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/it.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/it.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/ja.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/ja.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/ja.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/ja.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/ko.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/ko.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/ko.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/ko.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/nb.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/nb.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/nb.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/nb.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/nl.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/nl.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/pl.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/pl.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/pl.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/pl.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/ro.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/ro.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/ro.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/ro.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/ru.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/ru.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/sk.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/sk.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/sk.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/sk.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/sl.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/sl.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/sl.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/sl.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/sv.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/sv.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/th.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/th.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/th.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/th.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/tr.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/tr.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/tr.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/tr.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/uk.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/uk.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/uk.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/uk.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/DarkModeBuddy/Resources/Assets.xcassets/AppIcon.appiconset/icon_16x16.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/DarkModeBuddy/Resources/Assets.xcassets/AppIcon.appiconset/icon_16x16.png
--------------------------------------------------------------------------------
/DarkModeBuddy/Resources/Assets.xcassets/AppIcon.appiconset/icon_32x32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/DarkModeBuddy/Resources/Assets.xcassets/AppIcon.appiconset/icon_32x32.png
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/pt_BR.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/pt_BR.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/pt_PT.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/pt_PT.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/zh_CN.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/zh_CN.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/zh_TW.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/zh_TW.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/DarkModeBuddy/Resources/Assets.xcassets/AppIcon.appiconset/icon_128x128.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/DarkModeBuddy/Resources/Assets.xcassets/AppIcon.appiconset/icon_128x128.png
--------------------------------------------------------------------------------
/DarkModeBuddy/Resources/Assets.xcassets/AppIcon.appiconset/icon_16x16@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/DarkModeBuddy/Resources/Assets.xcassets/AppIcon.appiconset/icon_16x16@2x.png
--------------------------------------------------------------------------------
/DarkModeBuddy/Resources/Assets.xcassets/AppIcon.appiconset/icon_256x256.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/DarkModeBuddy/Resources/Assets.xcassets/AppIcon.appiconset/icon_256x256.png
--------------------------------------------------------------------------------
/DarkModeBuddy/Resources/Assets.xcassets/AppIcon.appiconset/icon_32x32@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/DarkModeBuddy/Resources/Assets.xcassets/AppIcon.appiconset/icon_32x32@2x.png
--------------------------------------------------------------------------------
/DarkModeBuddy/Resources/Assets.xcassets/AppIcon.appiconset/icon_512x512.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/DarkModeBuddy/Resources/Assets.xcassets/AppIcon.appiconset/icon_512x512.png
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/pt_BR.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/pt_BR.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/pt_PT.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/pt_PT.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/zh_CN.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/zh_CN.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/zh_TW.lproj/SUUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/zh_TW.lproj/SUUpdateAlert.nib
--------------------------------------------------------------------------------
/DarkModeBuddy/Resources/Assets.xcassets/AppIcon.appiconset/icon_128x128@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/DarkModeBuddy/Resources/Assets.xcassets/AppIcon.appiconset/icon_128x128@2x.png
--------------------------------------------------------------------------------
/DarkModeBuddy/Resources/Assets.xcassets/AppIcon.appiconset/icon_256x256@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/DarkModeBuddy/Resources/Assets.xcassets/AppIcon.appiconset/icon_256x256@2x.png
--------------------------------------------------------------------------------
/DarkModeBuddy/Resources/Assets.xcassets/AppIcon.appiconset/icon_512x512@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/DarkModeBuddy/Resources/Assets.xcassets/AppIcon.appiconset/icon_512x512@2x.png
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/MacOS/fileop:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/MacOS/fileop
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/ar.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/ar.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/cs.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/cs.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/da.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/da.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/de.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/de.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/el.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/el.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/en.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/es.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/es.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/fi.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/fi.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/fr.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/fr.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/hr.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/hr.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/hu.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/hu.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/is.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/is.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/it.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/it.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/ja.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/ja.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/ko.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/ko.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/nb.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/nb.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/nl.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/nl.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/pl.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/pl.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/ro.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/ro.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/ru.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/ru.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/sk.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/sk.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/sl.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/sl.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/sv.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/sv.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/th.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/th.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/tr.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/tr.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/uk.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/uk.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/ar.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/ar.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/cs.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/cs.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/da.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/da.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/de.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/el.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/el.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/en.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/es.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/fi.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/fi.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/fr.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/hr.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/hr.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/hu.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/hu.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/is.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/is.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/it.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/ja.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/ja.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/ko.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/ko.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/nb.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/nb.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/nl.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/pl.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/pl.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/pt_BR.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/pt_BR.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/pt_PT.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/pt_PT.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/ro.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/ro.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/ru.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/sk.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/sk.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/sl.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/sl.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/sv.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/th.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/th.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/tr.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/tr.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/uk.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/uk.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/zh_CN.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/zh_CN.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/zh_TW.lproj/SUAutomaticUpdateAlert.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/zh_TW.lproj/SUAutomaticUpdateAlert.nib
--------------------------------------------------------------------------------
/DarkModeBuddy.xcodeproj/project.xcworkspace/contents.xcworkspacedata:
--------------------------------------------------------------------------------
1 |
2 |
4 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/MacOS/Autoupdate:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/MacOS/Autoupdate
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/pt_BR.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/pt_BR.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/pt_PT.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/pt_PT.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/zh_CN.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/zh_CN.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/zh_TW.lproj/SUUpdatePermissionPrompt.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/zh_TW.lproj/SUUpdatePermissionPrompt.nib
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/AppIcon.icns:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/AppIcon.icns
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/SUStatus.nib:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/SUStatus.nib
--------------------------------------------------------------------------------
/DarkModeBuddy/Resources/DarkModeBuddy.entitlements:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/ar.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/ar.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/ca.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/ca.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/cs.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/cs.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/da.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/da.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/de.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/de.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/el.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/el.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/en.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/en.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/es.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/es.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/fi.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/fi.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/fr.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/fr.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/he.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/he.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/hr.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/hr.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/hu.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/hu.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/is.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/is.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/it.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/it.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/ja.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/ja.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/ko.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/ko.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/nb.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/nb.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/nl.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/nl.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/pl.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/pl.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/ro.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/ro.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/ru.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/ru.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/sk.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/sk.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/sl.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/sl.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/sv.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/sv.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/th.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/th.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/tr.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/tr.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/uk.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/uk.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/pt_BR.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/pt_BR.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/pt_PT.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/pt_PT.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/zh_CN.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/zh_CN.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/zh_TW.lproj/Sparkle.strings:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/insidegui/DarkModeBuddy/HEAD/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Resources/zh_TW.lproj/Sparkle.strings
--------------------------------------------------------------------------------
/Config/Versions.xcconfig:
--------------------------------------------------------------------------------
1 | // Configuration file for marketing and build versions.
2 |
3 | VERSIONING_SYSTEM = apple-generic
4 |
5 | MARKETING_VERSION = 1.2 // Applies to all targets
6 |
7 | CURRENT_PROJECT_VERSION = 13 // Applies to all targets
8 |
9 | DYLIB_CURRENT_VERSION = $(CURRENT_PROJECT_VERSION)
10 |
--------------------------------------------------------------------------------
/DarkModeBuddy.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | IDEDidComputeMac32BitWarning
6 |
7 |
8 |
9 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Headers/SPUDownloaderDeprecated.h:
--------------------------------------------------------------------------------
1 | //
2 | // SPUDownloaderDeprecated.h
3 | // Sparkle
4 | //
5 | // Created by Deadpikle on 12/20/17.
6 | // Copyright © 2017 Sparkle Project. All rights reserved.
7 | //
8 |
9 | #import "SPUDownloader.h"
10 |
11 | @interface SPUDownloaderDeprecated : SPUDownloader
12 |
13 | @end
14 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Headers/SUExport.h:
--------------------------------------------------------------------------------
1 | //
2 | // SUExport.h
3 | // Sparkle
4 | //
5 | // Created by Jake Petroules on 2014-08-23.
6 | // Copyright (c) 2014 Sparkle Project. All rights reserved.
7 | //
8 |
9 | #ifndef SUEXPORT_H
10 | #define SUEXPORT_H
11 |
12 | #ifdef BUILDING_SPARKLE
13 | #define SU_EXPORT __attribute__((visibility("default")))
14 | #else
15 | #define SU_EXPORT
16 | #endif
17 |
18 | #endif
19 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | __MACOSX
3 | *.pbxuser
4 | !default.pbxuser
5 | *.mode1v3
6 | !default.mode1v3
7 | *.mode2v3
8 | !default.mode2v3
9 | *.perspectivev3
10 | !default.perspectivev3
11 | *.xcworkspace
12 | !default.xcworkspace
13 | xcuserdata
14 | profile
15 | *.moved-aside
16 | DerivedData
17 | .idea/
18 | Crashlytics.sh
19 | generatechangelog.sh
20 | Pods/
21 | Carthage
22 | Provisioning
23 | Crashlytics.sh
24 | Sharing.h
25 | Tests/Private
26 | Design/Icon
27 | Build/
28 | MockServer/
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Headers/SPUDownloaderSession.h:
--------------------------------------------------------------------------------
1 | //
2 | // SPUDownloaderSession.h
3 | // Sparkle
4 | //
5 | // Created by Deadpikle on 12/20/17.
6 | // Copyright © 2017 Sparkle Project. All rights reserved.
7 | //
8 |
9 | #if __has_feature(modules)
10 | @import Foundation;
11 | #else
12 | #import
13 | #endif
14 | #import "SPUDownloader.h"
15 | #import "SPUDownloaderProtocol.h"
16 |
17 | NS_CLASS_AVAILABLE(NSURLSESSION_AVAILABLE, 7_0)
18 | @interface SPUDownloaderSession : SPUDownloader
19 |
20 | @end
21 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/PrivateHeaders/SUUnarchiver.h:
--------------------------------------------------------------------------------
1 | //
2 | // SUUnarchiver.h
3 | // Sparkle
4 | //
5 | // Created by Andy Matuschak on 3/16/06.
6 | // Copyright 2006 Andy Matuschak. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | NS_ASSUME_NONNULL_BEGIN
12 |
13 | @protocol SUUnarchiverProtocol;
14 |
15 | @interface SUUnarchiver : NSObject
16 |
17 | + (nullable id )unarchiverForPath:(NSString *)path updatingHostBundlePath:(nullable NSString *)hostPath decryptionPassword:(nullable NSString *)decryptionPassword;
18 |
19 | @end
20 |
21 | NS_ASSUME_NONNULL_END
22 |
--------------------------------------------------------------------------------
/DarkModeBuddyCore/Source/AmbientLight/DMBAmbientLightSensor.h:
--------------------------------------------------------------------------------
1 | //
2 | // DMBAmbientLightSensor.h
3 | // DarkModeBuddyCore
4 | //
5 | // Created by Guilherme Rambo on 23/02/21.
6 | //
7 |
8 | #import
9 |
10 | NS_ASSUME_NONNULL_BEGIN
11 |
12 | @interface DMBAmbientLightSensor : NSObject
13 |
14 | @property (nonatomic, readonly) double value;
15 | @property (nonatomic, assign) NSTimeInterval updateInterval;
16 |
17 | - (void)activate;
18 | - (void)invalidate;
19 | - (void)update;
20 |
21 | @property (nonatomic, readonly) BOOL isPresent;
22 |
23 | + (BOOL)hardwareUsesLegacySensor;
24 |
25 |
26 | @end
27 |
28 | NS_ASSUME_NONNULL_END
29 |
--------------------------------------------------------------------------------
/DarkModeBuddyCore/Source/Utilities/SharedFileList.h:
--------------------------------------------------------------------------------
1 | //
2 | // SharedFileList.h
3 | // NoiseBuddy
4 | //
5 | // Created by Guilherme Rambo on 13/11/19.
6 | // Copyright © 2019 Guilherme Rambo. All rights reserved.
7 | //
8 |
9 | #import
10 |
11 | NS_ASSUME_NONNULL_BEGIN
12 |
13 | @interface SharedFileList : NSObject
14 |
15 | + (instancetype)sessionLoginItems;
16 |
17 | @property (nonatomic, readonly) NSSet *items;
18 |
19 | @property (nonatomic, copy, nullable) void(^changeHandler)(SharedFileList *);
20 |
21 | - (BOOL)containsItem:(NSURL *)url;
22 | - (void)addItem:(NSURL *)url;
23 | - (void)removeItem:(NSURL *)url;
24 |
25 | @end
26 |
27 | NS_ASSUME_NONNULL_END
28 |
--------------------------------------------------------------------------------
/DarkModeBuddy.xcodeproj/xcuserdata/insidegui.xcuserdatad/xcschemes/xcschememanagement.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | SchemeUserState
6 |
7 | DarkModeBuddy.xcscheme_^#shared#^_
8 |
9 | orderHint
10 | 0
11 |
12 | DarkModeBuddyCore.xcscheme_^#shared#^_
13 |
14 | orderHint
15 | 1
16 |
17 |
18 | SuppressBuildableAutocreation
19 |
20 | F479410525E5EA5A001BB982
21 |
22 | primary
23 |
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/DarkModeBuddyCore/Source/Utilities/ClamshellStateChecker.swift:
--------------------------------------------------------------------------------
1 | //
2 | // ClamshellStateChecker.swift
3 | // clamshellstate
4 | //
5 | // Created by Guilherme Rambo on 25/02/21.
6 | //
7 |
8 | import Foundation
9 |
10 | final class ClamshellStateChecker {
11 |
12 | static func isClamshellClosed() -> Bool {
13 | let process = Process()
14 | process.launchPath = "/bin/sh"
15 | process.arguments = ["-c", "ioreg -r -k AppleClamshellState -d 4 | grep AppleClamshellState | head -1"]
16 | let pipe = Pipe()
17 | process.standardOutput = pipe
18 |
19 | process.launch()
20 |
21 | let data = pipe.fileHandleForReading.readDataToEndOfFile()
22 |
23 | return String(decoding: data, as: UTF8.self).contains("Yes")
24 | }
25 |
26 | }
27 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Headers/SUCodeSigningVerifier.h:
--------------------------------------------------------------------------------
1 | //
2 | // SUCodeSigningVerifier.h
3 | // Sparkle
4 | //
5 | // Created by Andy Matuschak on 7/5/12.
6 | //
7 | //
8 |
9 | #ifndef SUCODESIGNINGVERIFIER_H
10 | #define SUCODESIGNINGVERIFIER_H
11 |
12 | #if __has_feature(modules)
13 | @import Foundation;
14 | #else
15 | #import
16 | #endif
17 | #import "SUExport.h"
18 |
19 | SU_EXPORT @interface SUCodeSigningVerifier : NSObject
20 | + (BOOL)codeSignatureAtBundleURL:(NSURL *)oldBundlePath matchesSignatureAtBundleURL:(NSURL *)newBundlePath error:(NSError **)error;
21 | + (BOOL)codeSignatureIsValidAtBundleURL:(NSURL *)bundlePath error:(NSError **)error;
22 | + (BOOL)bundleAtURLIsCodeSigned:(NSURL *)bundlePath;
23 | + (NSDictionary *)codeSignatureInfoAtBundleURL:(NSURL *)bundlePath;
24 | @end
25 |
26 | #endif
27 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Headers/SUVersionDisplayProtocol.h:
--------------------------------------------------------------------------------
1 | //
2 | // SUVersionDisplayProtocol.h
3 | // EyeTV
4 | //
5 | // Created by Uli Kusterer on 08.12.09.
6 | // Copyright 2009 Elgato Systems GmbH. All rights reserved.
7 | //
8 |
9 | #if __has_feature(modules)
10 | @import Foundation;
11 | #else
12 | #import
13 | #endif
14 | #import "SUExport.h"
15 |
16 | /*!
17 | Applies special display formatting to version numbers.
18 | */
19 | @protocol SUVersionDisplay
20 |
21 | /*!
22 | Formats two version strings.
23 |
24 | Both versions are provided so that important distinguishing information
25 | can be displayed while also leaving out unnecessary/confusing parts.
26 | */
27 | - (void)formatVersion:(NSString *_Nonnull*_Nonnull)inOutVersionA andVersion:(NSString *_Nonnull*_Nonnull)inOutVersionB;
28 |
29 | @end
30 |
--------------------------------------------------------------------------------
/DarkModeBuddyCore/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIdentifier
10 | $(PRODUCT_BUNDLE_IDENTIFIER)
11 | CFBundleInfoDictionaryVersion
12 | 6.0
13 | CFBundleName
14 | $(PRODUCT_NAME)
15 | CFBundlePackageType
16 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
17 | CFBundleShortVersionString
18 | $(MARKETING_VERSION)
19 | CFBundleVersion
20 | $(CURRENT_PROJECT_VERSION)
21 |
22 |
23 |
--------------------------------------------------------------------------------
/DarkModeBuddyCore/DarkModeBuddyCore.h:
--------------------------------------------------------------------------------
1 | //
2 | // DarkModeBuddyCore.h
3 | // DarkModeBuddyCore
4 | //
5 | // Created by Guilherme Rambo on 23/02/21.
6 | //
7 |
8 | #import
9 |
10 | //! Project version number for DarkModeBuddyCore.
11 | FOUNDATION_EXPORT double DarkModeBuddyCoreVersionNumber;
12 |
13 | //! Project version string for DarkModeBuddyCore.
14 | FOUNDATION_EXPORT const unsigned char DarkModeBuddyCoreVersionString[];
15 |
16 | // In this header, you should import all the public headers of your framework using statements like #import
17 |
18 | extern int SLSGetAppearanceThemeLegacy(void);
19 | extern void SLSSetAppearanceThemeLegacy(int);
20 |
21 | #define kDarkModeBuddyCoreSubsystemName "codes.rambo.DarkModeBuddyCore"
22 |
23 | #import
24 | #import
25 |
--------------------------------------------------------------------------------
/DarkModeBuddy/Resources/Assets.xcassets/AccentColor.colorset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "colors" : [
3 | {
4 | "color" : {
5 | "color-space" : "display-p3",
6 | "components" : {
7 | "alpha" : "1.000",
8 | "blue" : "0x8D",
9 | "green" : "0xBE",
10 | "red" : "0x00"
11 | }
12 | },
13 | "idiom" : "universal"
14 | },
15 | {
16 | "appearances" : [
17 | {
18 | "appearance" : "luminosity",
19 | "value" : "dark"
20 | }
21 | ],
22 | "color" : {
23 | "color-space" : "display-p3",
24 | "components" : {
25 | "alpha" : "1.000",
26 | "blue" : "0.397",
27 | "green" : "0.535",
28 | "red" : "0.000"
29 | }
30 | },
31 | "idiom" : "universal"
32 | }
33 | ],
34 | "info" : {
35 | "author" : "xcode",
36 | "version" : 1
37 | }
38 | }
39 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Headers/SPUDownloader.h:
--------------------------------------------------------------------------------
1 | //
2 | // SPUDownloader.h
3 | // Downloader
4 | //
5 | // Created by Mayur Pawashe on 4/1/16.
6 | // Copyright © 2016 Sparkle Project. All rights reserved.
7 | //
8 |
9 | #if __has_feature(modules)
10 | @import Foundation;
11 | #else
12 | #import
13 | #endif
14 | #import "SPUDownloaderProtocol.h"
15 |
16 | @protocol SPUDownloaderDelegate;
17 |
18 | // This object implements the protocol which we have defined. It provides the actual behavior for the service. It is 'exported' by the service to make it available to the process hosting the service over an NSXPCConnection.
19 | @interface SPUDownloader : NSObject
20 |
21 | // Due to XPC remote object reasons, this delegate is strongly referenced
22 | // Invoke cleanup when done with this instance
23 | - (instancetype)initWithDelegate:(id )delegate;
24 |
25 | @end
26 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Headers/SUAppcast.h:
--------------------------------------------------------------------------------
1 | //
2 | // SUAppcast.h
3 | // Sparkle
4 | //
5 | // Created by Andy Matuschak on 3/12/06.
6 | // Copyright 2006 Andy Matuschak. All rights reserved.
7 | //
8 |
9 | #ifndef SUAPPCAST_H
10 | #define SUAPPCAST_H
11 |
12 | #if __has_feature(modules)
13 | @import Foundation;
14 | #else
15 | #import
16 | #endif
17 | #import "SUExport.h"
18 |
19 | NS_ASSUME_NONNULL_BEGIN
20 |
21 | @class SUAppcastItem;
22 | SU_EXPORT @interface SUAppcast : NSObject
23 |
24 | @property (copy, nullable) NSString *userAgentString;
25 | @property (copy, nullable) NSDictionary *httpHeaders;
26 |
27 | - (void)fetchAppcastFromURL:(NSURL *)url inBackground:(BOOL)bg completionBlock:(void (^)(NSError *_Nullable))err;
28 | - (SUAppcast *)copyWithoutDeltaUpdates;
29 |
30 | @property (readonly, copy, nullable) NSArray *items;
31 | @end
32 |
33 | NS_ASSUME_NONNULL_END
34 |
35 | #endif
36 |
--------------------------------------------------------------------------------
/DarkModeBuddy/Views/UnsupportedMacView.swift:
--------------------------------------------------------------------------------
1 | //
2 | // UnsupportedMacView.swift
3 | // DarkModeBuddy
4 | //
5 | // Created by Guilherme Rambo on 24/02/21.
6 | //
7 |
8 | import SwiftUI
9 |
10 | struct UnsupportedMacView: View {
11 | var body: some View {
12 | VStack {
13 | Text("Sorry, I couldn't find an ambient light sensor on your Mac.")
14 | .multilineTextAlignment(.center)
15 | .lineLimit(nil)
16 | .foregroundColor(Color(NSColor.secondaryLabelColor))
17 | .font(.system(size: 12, weight: .medium))
18 |
19 | Button(action: {
20 | NSApp.sendAction(#selector(NSApplication.terminate(_:)), to: nil, from: nil)
21 | }, label: {
22 | Text("Quit")
23 | })
24 | }
25 | }
26 | }
27 |
28 | struct UnsupportedMacView_Previews: PreviewProvider {
29 | static var previews: some View {
30 | UnsupportedMacView()
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Headers/SPUDownloaderProtocol.h:
--------------------------------------------------------------------------------
1 | //
2 | // SPUDownloaderProtocol.h
3 | // PersistentDownloader
4 | //
5 | // Created by Mayur Pawashe on 4/1/16.
6 | // Copyright © 2016 Sparkle Project. All rights reserved.
7 | //
8 |
9 | #if __has_feature(modules)
10 | @import Foundation;
11 | #else
12 | #import
13 | #endif
14 |
15 | NS_ASSUME_NONNULL_BEGIN
16 |
17 | @class SPUURLRequest;
18 |
19 | // The protocol that this service will vend as its API. This header file will also need to be visible to the process hosting the service.
20 | @protocol SPUDownloaderProtocol
21 |
22 | - (void)startPersistentDownloadWithRequest:(SPUURLRequest *)request bundleIdentifier:(NSString *)bundleIdentifier desiredFilename:(NSString *)desiredFilename;
23 |
24 | - (void)startTemporaryDownloadWithRequest:(SPUURLRequest *)request;
25 |
26 | - (void)downloadDidFinish;
27 |
28 | - (void)cleanup;
29 |
30 | - (void)cancel;
31 |
32 | @end
33 |
34 | NS_ASSUME_NONNULL_END
35 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Headers/SUVersionComparisonProtocol.h:
--------------------------------------------------------------------------------
1 | //
2 | // SUVersionComparisonProtocol.h
3 | // Sparkle
4 | //
5 | // Created by Andy Matuschak on 12/21/07.
6 | // Copyright 2007 Andy Matuschak. All rights reserved.
7 | //
8 |
9 | #ifndef SUVERSIONCOMPARISONPROTOCOL_H
10 | #define SUVERSIONCOMPARISONPROTOCOL_H
11 |
12 | #if __has_feature(modules)
13 | @import Foundation;
14 | #else
15 | #import
16 | #endif
17 | #import "SUExport.h"
18 |
19 | NS_ASSUME_NONNULL_BEGIN
20 |
21 | /*!
22 | Provides version comparison facilities for Sparkle.
23 | */
24 | @protocol SUVersionComparison
25 |
26 | /*!
27 | An abstract method to compare two version strings.
28 |
29 | Should return NSOrderedAscending if b > a, NSOrderedDescending if b < a,
30 | and NSOrderedSame if they are equivalent.
31 | */
32 | - (NSComparisonResult)compareVersion:(NSString *)versionA toVersion:(NSString *)versionB; // *** MAY BE CALLED ON NON-MAIN THREAD!
33 |
34 | @end
35 |
36 | NS_ASSUME_NONNULL_END
37 | #endif
38 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Headers/Sparkle.h:
--------------------------------------------------------------------------------
1 | //
2 | // Sparkle.h
3 | // Sparkle
4 | //
5 | // Created by Andy Matuschak on 3/16/06. (Modified by CDHW on 23/12/07)
6 | // Copyright 2006 Andy Matuschak. All rights reserved.
7 | //
8 |
9 | #ifndef SPARKLE_H
10 | #define SPARKLE_H
11 |
12 | // This list should include the shared headers. It doesn't matter if some of them aren't shared (unless
13 | // there are name-space collisions) so we can list all of them to start with:
14 |
15 | #import "SUAppcast.h"
16 | #import "SUAppcastItem.h"
17 | #import "SUStandardVersionComparator.h"
18 | #import "SUUpdater.h"
19 | #import "SUUpdaterDelegate.h"
20 | #import "SUVersionComparisonProtocol.h"
21 | #import "SUVersionDisplayProtocol.h"
22 | #import "SUErrors.h"
23 |
24 | #import "SPUDownloader.h"
25 | #import "SPUDownloaderDelegate.h"
26 | #import "SPUDownloaderDeprecated.h"
27 | #import "SPUDownloadData.h"
28 | #import "SPUDownloaderProtocol.h"
29 | #import "SPUDownloaderSession.h"
30 | #import "SPUURLRequest.h"
31 | #import "SUCodeSigningVerifier.h"
32 |
33 | #endif
34 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Headers/SPUURLRequest.h:
--------------------------------------------------------------------------------
1 | //
2 | // SPUURLRequest.h
3 | // Sparkle
4 | //
5 | // Created by Mayur Pawashe on 5/19/16.
6 | // Copyright © 2016 Sparkle Project. All rights reserved.
7 | //
8 |
9 | #if __has_feature(modules)
10 | @import Foundation;
11 | #else
12 | #import
13 | #endif
14 |
15 | NS_ASSUME_NONNULL_BEGIN
16 |
17 | // A class that wraps NSURLRequest and implements NSSecureCoding
18 | // This class exists because NSURLRequest did not support NSSecureCoding in macOS 10.8
19 | // I have not verified if NSURLRequest in 10.9 implements NSSecureCoding or not
20 | @interface SPUURLRequest : NSObject
21 |
22 | // Creates a new URL request
23 | // Only these properties are currently tracked:
24 | // * URL
25 | // * Cache policy
26 | // * Timeout interval
27 | // * HTTP header fields
28 | // * networkServiceType
29 | + (instancetype)URLRequestWithRequest:(NSURLRequest *)request;
30 |
31 | @property (nonatomic, readonly) NSURLRequest *request;
32 |
33 | @end
34 |
35 | NS_ASSUME_NONNULL_END
36 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Headers/SPUDownloadData.h:
--------------------------------------------------------------------------------
1 | //
2 | // SPUDownloadData.h
3 | // Sparkle
4 | //
5 | // Created by Mayur Pawashe on 8/10/16.
6 | // Copyright © 2016 Sparkle Project. All rights reserved.
7 | //
8 |
9 | #if __has_feature(modules)
10 | @import Foundation;
11 | #else
12 | #import
13 | #endif
14 |
15 | #import "SUExport.h"
16 |
17 | NS_ASSUME_NONNULL_BEGIN
18 |
19 | /*!
20 | * A class for containing downloaded data along with some information about it.
21 | */
22 | SU_EXPORT @interface SPUDownloadData : NSObject
23 |
24 | - (instancetype)initWithData:(NSData *)data textEncodingName:(NSString * _Nullable)textEncodingName MIMEType:(NSString * _Nullable)MIMEType;
25 |
26 | /*!
27 | * The raw data that was downloaded.
28 | */
29 | @property (nonatomic, readonly) NSData *data;
30 |
31 | /*!
32 | * The IANA charset encoding name if available. Eg: "utf-8"
33 | */
34 | @property (nonatomic, readonly, nullable, copy) NSString *textEncodingName;
35 |
36 | /*!
37 | * The MIME type if available. Eg: "text/plain"
38 | */
39 | @property (nonatomic, readonly, nullable, copy) NSString *MIMEType;
40 |
41 | @end
42 |
43 | NS_ASSUME_NONNULL_END
44 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | Copyright (c) 2021 Guilherme Rambo
2 |
3 | Redistribution and use in source and binary forms, with or without
4 | modification, are permitted provided that the following conditions are met:
5 |
6 | - Redistributions of source code must retain the above copyright notice, this
7 | list of conditions and the following disclaimer.
8 |
9 | - Redistributions in binary form must reproduce the above copyright notice,
10 | this list of conditions and the following disclaimer in the documentation
11 | and/or other materials provided with the distribution.
12 |
13 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
14 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
16 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
17 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
19 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
20 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
21 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
22 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Headers/SPUDownloaderDelegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // SPUDownloaderDelegate.h
3 | // Sparkle
4 | //
5 | // Created by Mayur Pawashe on 4/1/16.
6 | // Copyright © 2016 Sparkle Project. All rights reserved.
7 | //
8 |
9 | #if __has_feature(modules)
10 | @import Foundation;
11 | #else
12 | #import
13 | #endif
14 |
15 | NS_ASSUME_NONNULL_BEGIN
16 |
17 | @class SPUDownloadData;
18 |
19 | @protocol SPUDownloaderDelegate
20 |
21 | // This is only invoked for persistent downloads
22 | - (void)downloaderDidSetDestinationName:(NSString *)destinationName temporaryDirectory:(NSString *)temporaryDirectory;
23 |
24 | // Under rare cases, this may be called more than once, in which case the current progress should be reset back to 0
25 | // This is only invoked for persistent downloads
26 | - (void)downloaderDidReceiveExpectedContentLength:(int64_t)expectedContentLength;
27 |
28 | // This is only invoked for persistent downloads
29 | - (void)downloaderDidReceiveDataOfLength:(uint64_t)length;
30 |
31 | // downloadData is nil if this is a persisent download, otherwise it's non-nil if it's a temporary download
32 | - (void)downloaderDidFinishWithTemporaryDownloadData:(SPUDownloadData * _Nullable)downloadData;
33 |
34 | - (void)downloaderDidFailWithError:(NSError *)error;
35 |
36 | @end
37 |
38 | NS_ASSUME_NONNULL_END
39 |
--------------------------------------------------------------------------------
/DarkModeBuddy/Resources/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | CFBundleDevelopmentRegion
6 | $(DEVELOPMENT_LANGUAGE)
7 | CFBundleExecutable
8 | $(EXECUTABLE_NAME)
9 | CFBundleIconFile
10 |
11 | CFBundleIdentifier
12 | $(PRODUCT_BUNDLE_IDENTIFIER)
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | $(PRODUCT_NAME)
17 | CFBundlePackageType
18 | $(PRODUCT_BUNDLE_PACKAGE_TYPE)
19 | CFBundleShortVersionString
20 | $(MARKETING_VERSION)
21 | CFBundleVersion
22 | $(CURRENT_PROJECT_VERSION)
23 | LSApplicationCategoryType
24 | public.app-category.utilities
25 | LSMinimumSystemVersion
26 | $(MACOSX_DEPLOYMENT_TARGET)
27 | LSUIElement
28 |
29 | NSMainStoryboardFile
30 | Main
31 | NSPrincipalClass
32 | NSApplication
33 | SUFeedURL
34 | https://su.darkmodebuddy.app/appcast.xml
35 | SUPublicEDKey
36 | dj8ljUPnwoLj/dLs6HyJg5Ayw+t8zWtgjQUfQsH56ww=
37 |
38 |
39 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Headers/SUStandardVersionComparator.h:
--------------------------------------------------------------------------------
1 | //
2 | // SUStandardVersionComparator.h
3 | // Sparkle
4 | //
5 | // Created by Andy Matuschak on 12/21/07.
6 | // Copyright 2007 Andy Matuschak. All rights reserved.
7 | //
8 |
9 | #ifndef SUSTANDARDVERSIONCOMPARATOR_H
10 | #define SUSTANDARDVERSIONCOMPARATOR_H
11 |
12 | #if __has_feature(modules)
13 | @import Foundation;
14 | #else
15 | #import
16 | #endif
17 | #import "SUExport.h"
18 | #import "SUVersionComparisonProtocol.h"
19 |
20 | NS_ASSUME_NONNULL_BEGIN
21 |
22 | /*!
23 | Sparkle's default version comparator.
24 |
25 | This comparator is adapted from MacPAD, by Kevin Ballard.
26 | It's "dumb" in that it does essentially string comparison,
27 | in components split by character type.
28 | */
29 | SU_EXPORT @interface SUStandardVersionComparator : NSObject
30 |
31 | /*!
32 | Initializes a new instance of the standard version comparator.
33 | */
34 | - (instancetype)init;
35 |
36 | /*!
37 | Returns a singleton instance of the comparator.
38 |
39 | It is usually preferred to alloc/init new a comparator instead.
40 | */
41 | + (SUStandardVersionComparator *)defaultComparator;
42 |
43 | /*!
44 | Compares version strings through textual analysis.
45 |
46 | See the implementation for more details.
47 | */
48 | - (NSComparisonResult)compareVersion:(NSString *)versionA toVersion:(NSString *)versionB;
49 | @end
50 |
51 | NS_ASSUME_NONNULL_END
52 | #endif
53 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Headers/SUErrors.h:
--------------------------------------------------------------------------------
1 | //
2 | // SUErrors.h
3 | // Sparkle
4 | //
5 | // Created by C.W. Betts on 10/13/14.
6 | // Copyright (c) 2014 Sparkle Project. All rights reserved.
7 | //
8 |
9 | #ifndef SUERRORS_H
10 | #define SUERRORS_H
11 |
12 | #if __has_feature(modules)
13 | @import Foundation;
14 | #else
15 | #import
16 | #endif
17 | #import "SUExport.h"
18 |
19 | /**
20 | * Error domain used by Sparkle
21 | */
22 | SU_EXPORT extern NSString *const SUSparkleErrorDomain;
23 |
24 | #pragma clang diagnostic push
25 | #pragma clang diagnostic ignored "-Wc++98-compat"
26 | typedef NS_ENUM(OSStatus, SUError) {
27 | // Appcast phase errors.
28 | SUAppcastParseError = 1000,
29 | SUNoUpdateError = 1001,
30 | SUAppcastError = 1002,
31 | SURunningFromDiskImageError = 1003,
32 | SURunningTranslocated = 1004,
33 |
34 | // Download phase errors.
35 | SUTemporaryDirectoryError = 2000,
36 | SUDownloadError = 2001,
37 |
38 | // Extraction phase errors.
39 | SUUnarchivingError = 3000,
40 | SUSignatureError = 3001,
41 |
42 | // Installation phase errors.
43 | SUFileCopyFailure = 4000,
44 | SUAuthenticationFailure = 4001,
45 | SUMissingUpdateError = 4002,
46 | SUMissingInstallerToolError = 4003,
47 | SURelaunchError = 4004,
48 | SUInstallationError = 4005,
49 | SUDowngradeError = 4006,
50 | SUInstallationCancelledError = 4007,
51 |
52 | // System phase errors
53 | SUSystemPowerOffError = 5000
54 | };
55 | #pragma clang diagnostic pop
56 |
57 | #endif
58 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | BuildMachineOSBuild
6 | 19G2021
7 | CFBundleDevelopmentRegion
8 | en
9 | CFBundleExecutable
10 | Sparkle
11 | CFBundleIdentifier
12 | org.sparkle-project.Sparkle
13 | CFBundleInfoDictionaryVersion
14 | 6.0
15 | CFBundleName
16 | Sparkle
17 | CFBundlePackageType
18 | FMWK
19 | CFBundleShortVersionString
20 | 1.24.0 a
21 | CFBundleSignature
22 | ????
23 | CFBundleSupportedPlatforms
24 |
25 | MacOSX
26 |
27 | CFBundleVersion
28 | 1.24.0
29 | DTCompiler
30 | com.apple.compilers.llvm.clang.1_0
31 | DTPlatformBuild
32 | 12A8189h
33 | DTPlatformName
34 | macosx
35 | DTPlatformVersion
36 | 11.0
37 | DTSDKBuild
38 | 20A5354g
39 | DTSDKName
40 | macosx11.0
41 | DTXcode
42 | 1200
43 | DTXcodeBuild
44 | 12A8189h
45 | LSMinimumSystemVersion
46 | 10.14
47 |
48 |
49 |
--------------------------------------------------------------------------------
/DarkModeBuddy/Resources/Assets.xcassets/AppIcon.appiconset/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "author" : "xcode",
4 | "version" : 1
5 | },
6 | "images" : [
7 | {
8 | "size" : "16x16",
9 | "filename" : "icon_16x16.png",
10 | "scale" : "1x",
11 | "idiom" : "mac"
12 | },
13 | {
14 | "size" : "16x16",
15 | "filename" : "icon_16x16@2x.png",
16 | "scale" : "2x",
17 | "idiom" : "mac"
18 | },
19 | {
20 | "size" : "32x32",
21 | "filename" : "icon_32x32.png",
22 | "idiom" : "mac",
23 | "scale" : "1x"
24 | },
25 | {
26 | "filename" : "icon_32x32@2x.png",
27 | "size" : "32x32",
28 | "idiom" : "mac",
29 | "scale" : "2x"
30 | },
31 | {
32 | "scale" : "1x",
33 | "idiom" : "mac",
34 | "size" : "128x128",
35 | "filename" : "icon_128x128.png"
36 | },
37 | {
38 | "filename" : "icon_128x128@2x.png",
39 | "size" : "128x128",
40 | "idiom" : "mac",
41 | "scale" : "2x"
42 | },
43 | {
44 | "idiom" : "mac",
45 | "size" : "256x256",
46 | "filename" : "icon_256x256.png",
47 | "scale" : "1x"
48 | },
49 | {
50 | "size" : "256x256",
51 | "scale" : "2x",
52 | "idiom" : "mac",
53 | "filename" : "icon_256x256@2x.png"
54 | },
55 | {
56 | "scale" : "1x",
57 | "idiom" : "mac",
58 | "size" : "512x512",
59 | "filename" : "icon_512x512.png"
60 | },
61 | {
62 | "size" : "512x512",
63 | "idiom" : "mac",
64 | "scale" : "2x",
65 | "filename" : "icon_512x512@2x.png"
66 | }
67 | ]
68 | }
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/Info.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | BuildMachineOSBuild
6 | 19G2021
7 | CFBundleDevelopmentRegion
8 | English
9 | CFBundleExecutable
10 | Autoupdate
11 | CFBundleIconFile
12 | AppIcon.icns
13 | CFBundleIdentifier
14 | org.sparkle-project.Sparkle.Autoupdate
15 | CFBundleInfoDictionaryVersion
16 | 6.0
17 | CFBundlePackageType
18 | APPL
19 | CFBundleShortVersionString
20 | 1.24.0 a
21 | CFBundleSignature
22 | ????
23 | CFBundleSupportedPlatforms
24 |
25 | MacOSX
26 |
27 | CFBundleVersion
28 | 1.24.0
29 | DTCompiler
30 | com.apple.compilers.llvm.clang.1_0
31 | DTPlatformBuild
32 | 12A8189h
33 | DTPlatformName
34 | macosx
35 | DTPlatformVersion
36 | 11.0
37 | DTSDKBuild
38 | 20A5354g
39 | DTSDKName
40 | macosx11.0
41 | DTXcode
42 | 1200
43 | DTXcodeBuild
44 | 12A8189h
45 | LSBackgroundOnly
46 | 1
47 | LSMinimumSystemVersion
48 | 10.14
49 | LSUIElement
50 | 1
51 | NSMainNibFile
52 | MainMenu
53 | NSPrincipalClass
54 | NSApplication
55 |
56 |
57 |
--------------------------------------------------------------------------------
/DarkModeBuddyCore/Source/AmbientLight/DMBAmbientLightSensorReader.swift:
--------------------------------------------------------------------------------
1 | //
2 | // DMBAmbientLightSensorReader.swift
3 | // DarkModeBuddyCore
4 | //
5 | // Created by Guilherme Rambo on 23/02/21.
6 | //
7 |
8 | import Foundation
9 | import Combine
10 | import os.log
11 |
12 | public final class DMBAmbientLightSensorReader: ObservableObject {
13 |
14 | private let log = OSLog(subsystem: kDarkModeBuddyCoreSubsystemName, category: String(describing: DMBAmbientLightSensorReader.self))
15 |
16 | public enum UpdateFrequency: TimeInterval {
17 | case realtime = 0.1
18 | case fast = 5
19 | case slow = 10
20 | }
21 |
22 | let sensor: DMBAmbientLightSensor
23 |
24 | public var isSensorReady: Bool { sensor.isPresent }
25 |
26 | @Published public var ambientLightValue: Double = 0
27 |
28 | private var sensorObservation: NSKeyValueObservation?
29 |
30 | public init(frequency: UpdateFrequency = .fast, sensor: DMBAmbientLightSensor = DMBAmbientLightSensor()) {
31 | self.sensor = sensor
32 | self.sensor.updateInterval = frequency.rawValue
33 |
34 | sensorObservation = sensor.observe(\.value, options: [.initial, .new, .old]) { [weak self] sensor, change in
35 | guard let self = self else { return }
36 |
37 | guard change.oldValue != change.newValue else { return }
38 |
39 | self.ambientLightValue = sensor.value
40 | }
41 | }
42 |
43 | public func activate() {
44 | os_log("%{public}@", log: log, type: .debug, #function)
45 |
46 | sensor.activate()
47 | }
48 |
49 | public func invalidate() {
50 | os_log("%{public}@", log: log, type: .debug, #function)
51 |
52 | sensor.invalidate()
53 | }
54 |
55 | public func update() {
56 | sensor.update()
57 | }
58 |
59 | deinit { invalidate() }
60 |
61 | }
62 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Headers/SUAppcastItem.h:
--------------------------------------------------------------------------------
1 | //
2 | // SUAppcastItem.h
3 | // Sparkle
4 | //
5 | // Created by Andy Matuschak on 3/12/06.
6 | // Copyright 2006 Andy Matuschak. All rights reserved.
7 | //
8 |
9 | #ifndef SUAPPCASTITEM_H
10 | #define SUAPPCASTITEM_H
11 |
12 | #if __has_feature(modules)
13 | @import Foundation;
14 | #else
15 | #import
16 | #endif
17 | #import "SUExport.h"
18 | @class SUSignatures;
19 |
20 | SU_EXPORT @interface SUAppcastItem : NSObject
21 | @property (copy, readonly) NSString *title;
22 | @property (copy, readonly) NSString *dateString;
23 | @property (copy, readonly) NSDate *date;
24 | @property (copy, readonly) NSString *itemDescription;
25 | @property (strong, readonly) NSURL *releaseNotesURL;
26 | @property (strong, readonly) SUSignatures *signatures;
27 | @property (copy, readonly) NSString *minimumSystemVersion;
28 | @property (copy, readonly) NSString *maximumSystemVersion;
29 | @property (strong, readonly) NSURL *fileURL;
30 | @property (nonatomic, readonly) uint64_t contentLength;
31 | @property (copy, readonly) NSString *versionString;
32 | @property (copy, readonly) NSString *osString;
33 | @property (copy, readonly) NSString *displayVersionString;
34 | @property (copy, readonly) NSDictionary *deltaUpdates;
35 | @property (strong, readonly) NSURL *infoURL;
36 | @property (copy, readonly) NSNumber* phasedRolloutInterval;
37 |
38 | // Initializes with data from a dictionary provided by the RSS class.
39 | - (instancetype)initWithDictionary:(NSDictionary *)dict;
40 | - (instancetype)initWithDictionary:(NSDictionary *)dict failureReason:(NSString **)error;
41 |
42 | @property (getter=isDeltaUpdate, readonly) BOOL deltaUpdate;
43 | @property (getter=isCriticalUpdate, readonly) BOOL criticalUpdate;
44 | @property (getter=isMacOsUpdate, readonly) BOOL macOsUpdate;
45 | @property (getter=isInformationOnlyUpdate, readonly) BOOL informationOnlyUpdate;
46 |
47 | // Returns the dictionary provided in initWithDictionary; this might be useful later for extensions.
48 | @property (readonly, copy) NSDictionary *propertiesDictionary;
49 |
50 | - (NSURL *)infoURL;
51 |
52 | @end
53 |
54 | #endif
55 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | # DarkModeBuddy
4 |
5 | Automatically switch your Mac between light and dark modes based on the ambient light sensor.
6 |
7 | I've never been a fan of the built-in "Auto" mode on macOS because it's based on time of day and it will not switch the Mac to Dark Mode while I'm actively using it (which is a problem, since I'm pretty much always using my Mac).
8 |
9 | The solution for that is DarkModeBuddy. It's a tiny app that keeps running in the background and reads the ambient light sensor on your Mac (the same one it uses to adjust the brightness of your screen). When the ambient light level falls below the configured value, DarkModeBuddy automatically switches the Mac into Dark Mode. When the ambient light level rises above the configured value, it goes back into Light mode. This does not happen instantaneously: in order to prevent flickering, the change in ambient light level must persist for a certain amount of time, which can also be configured in the app's settings.
10 |
11 |
12 |
13 | # Compatibility
14 |
15 | **DarkModeBuddy requires macOS Catalina or later and a Mac with a built-in ambient light sensor. External displays with ambient light sensors are not currently supported.**
16 |
17 | Below is a non-exhaustive list of Mac models that have been verified to work with DarkModeBuddy. If your Mac is newer than any of the models on the list, it is likely to be supported as well.
18 |
19 | - MacBook Air (M1, 2020)
20 | - MacBook Air (13-inch, Mid 2013)
21 | - MacBook Pro (M1, 2020)
22 | - iMac (Retina 5K, 27-inch, 2020)
23 | - iMac (27-inch, Late 2012)
24 | - MacBook Pro 16" (2019)
25 | - MacBook Pro 13" (2019)
26 | - MacBook Pro 13" (2018)
27 | - MacBook Pro (13-inch, 2016, Four Thunderbolt 3 Ports)
28 | - MacBook Pro (Retina, 15-inch, Mid 2015)
29 | - MacBook Pro (Retina, 13-inch, Early 2015)
30 | - MacBook Pro (Retina, 15-inch, Mid 2014)
31 |
32 | Pull requests adding support to hardware that's not currently supported are more than welcome.
33 |
34 | # Download
35 |
36 | DarkModeBuddy is available for free (it's also open-source). If you prefer, you can pay any amount you'd like in order to support my work.
37 |
38 | [You can always get the latest build on Gumroad](https://darkmodebuddy.app).
39 |
--------------------------------------------------------------------------------
/DarkModeBuddy.xcodeproj/xcshareddata/xcschemes/DarkModeBuddy.xcscheme:
--------------------------------------------------------------------------------
1 |
2 |
5 |
8 |
9 |
15 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
43 |
45 |
51 |
52 |
53 |
54 |
57 |
58 |
61 |
62 |
65 |
66 |
67 |
68 |
74 |
76 |
82 |
83 |
84 |
85 |
87 |
88 |
91 |
92 |
93 |
--------------------------------------------------------------------------------
/DarkModeBuddyCore/Source/Utilities/SharedFileList.m:
--------------------------------------------------------------------------------
1 | //
2 | // SharedFileList.m
3 | // SyzygyKit
4 | //
5 | // Created by Dave DeLong on 9/22/18.
6 | // Copyright © 2018 Syzygy. All rights reserved.
7 | //
8 |
9 | #import "SharedFileList.h"
10 |
11 | #import
12 |
13 | #pragma clang diagnostic push
14 | #pragma clang diagnostic ignored "-Wdeprecated-declarations"
15 |
16 | void sharedFileListDidChange(LSSharedFileListRef inList, void *context);
17 |
18 | @implementation SharedFileList {
19 | LSSharedFileListRef _listRef;
20 |
21 | NSSet *_listSnapshot;
22 | }
23 |
24 | + (BOOL)automaticallyNotifiesObserversOfItems { return NO; }
25 |
26 | + (instancetype)sessionLoginItems {
27 | return [[self alloc] initWithType:kLSSharedFileListSessionLoginItems];
28 | }
29 |
30 | - (instancetype)initWithType:(CFStringRef)type {
31 | self = [super init];
32 | if (self) {
33 | _listRef = LSSharedFileListCreate(NULL, type, NULL);
34 | _listSnapshot = [self _snapshot];
35 |
36 | LSSharedFileListAddObserver(_listRef,
37 | CFRunLoopGetMain(),
38 | (CFStringRef)NSDefaultRunLoopMode,
39 | sharedFileListDidChange,
40 | (voidPtr)CFBridgingRetain(self));
41 | }
42 | return self;
43 | }
44 |
45 | - (void)dealloc {
46 | LSSharedFileListRemoveObserver(_listRef,
47 | CFRunLoopGetMain(),
48 | (CFStringRef)NSDefaultRunLoopMode,
49 | sharedFileListDidChange,
50 | (__bridge void *)(self));
51 | CFRelease(_listRef);
52 | }
53 |
54 | - (NSSet *)items { return [_listSnapshot copy]; }
55 |
56 | - (NSSet *)_snapshot {
57 | NSMutableSet *snapshot = [NSMutableSet set];
58 |
59 | NSArray *listSnapshot = (NSArray *)CFBridgingRelease(LSSharedFileListCopySnapshot(_listRef, NULL));
60 | for (id itemObject in listSnapshot) {
61 | LSSharedFileListItemRef item = (__bridge LSSharedFileListItemRef)itemObject;
62 | UInt32 resolutionFlags = kLSSharedFileListNoUserInteraction | kLSSharedFileListDoNotMountVolumes;
63 | CFURLRef currentItemURL = NULL;
64 | LSSharedFileListItemResolve(item, resolutionFlags, ¤tItemURL, NULL);
65 | NSURL *itemURL = CFBridgingRelease(currentItemURL);
66 | if (itemURL != nil) {
67 | [snapshot addObject:itemURL];
68 | }
69 | }
70 |
71 | return snapshot;
72 | }
73 |
74 | - (void)_listDidChange {
75 | NSSet *newSnapshot = [self _snapshot];
76 |
77 | [self willChangeValueForKey:@"items"];
78 | _listSnapshot = newSnapshot;
79 | [self didChangeValueForKey:@"items"];
80 |
81 | if (self.changeHandler != nil) {
82 | self.changeHandler(self);
83 | }
84 | }
85 |
86 | - (BOOL)containsItem:(NSURL *)url { return [_listSnapshot containsObject:url]; }
87 |
88 | - (void)addItem:(NSURL *)url {
89 | if ([self containsItem:url] == YES) { return; }
90 | LSSharedFileListInsertItemURL(_listRef, kLSSharedFileListItemLast, NULL, NULL, (__bridge CFURLRef)url, NULL, NULL);
91 | }
92 |
93 | - (void)removeItem:(NSURL *)url {
94 | if ([self containsItem:url] == NO) { return; }
95 |
96 | NSArray *listSnapshot = (NSArray *)CFBridgingRelease(LSSharedFileListCopySnapshot(_listRef, NULL));
97 | for (id itemObject in listSnapshot) {
98 | LSSharedFileListItemRef item = (__bridge LSSharedFileListItemRef)itemObject;
99 | UInt32 resolutionFlags = kLSSharedFileListNoUserInteraction | kLSSharedFileListDoNotMountVolumes;
100 | CFURLRef currentItemURL = NULL;
101 | LSSharedFileListItemResolve(item, resolutionFlags, ¤tItemURL, NULL);
102 | NSURL *itemURL = CFBridgingRelease(currentItemURL);
103 | if ([itemURL isEqual:url]) {
104 | LSSharedFileListItemRemove(_listRef, item);
105 | }
106 | }
107 | }
108 |
109 | @end
110 |
111 | void sharedFileListDidChange(LSSharedFileListRef inList, void *context) {
112 | SharedFileList *list = (__bridge id)context;
113 | [list _listDidChange];
114 | }
115 |
116 | #pragma clang diagnostic pop
117 |
--------------------------------------------------------------------------------
/DarkModeBuddy/Bootstrap/AppDelegate.swift:
--------------------------------------------------------------------------------
1 | //
2 | // AppDelegate.swift
3 | // DarkModeBuddy
4 | //
5 | // Created by Guilherme Rambo on 23/02/21.
6 | //
7 |
8 | import Cocoa
9 | import SwiftUI
10 | import DarkModeBuddyCore
11 | import Sparkle
12 |
13 | @main
14 | class AppDelegate: NSObject, NSApplicationDelegate {
15 |
16 | var window: NSWindow!
17 |
18 | let settings = DMBSettings()
19 |
20 | lazy var switcher: DMBSystemAppearanceSwitcher = {
21 | DMBSystemAppearanceSwitcher(settings: settings)
22 | }()
23 |
24 | private var shouldShowUI: Bool {
25 | !settings.hasLaunchedAppBefore
26 | || shouldShowSettingsOnNextLaunch
27 | || UserDefaults.standard.bool(forKey: "ShowSettings")
28 | }
29 |
30 | func applicationWillFinishLaunching(_ notification: Notification) {
31 | SUUpdater.shared()?.delegate = self
32 | }
33 |
34 | func applicationDidFinishLaunching(_ aNotification: Notification) {
35 | if shouldShowUI {
36 | settings.hasLaunchedAppBefore = true
37 | showSettingsWindow(nil)
38 | }
39 |
40 | switcher.activate()
41 |
42 | NSWorkspace.shared.notificationCenter.addObserver(
43 | self,
44 | selector: #selector(receivedShutdownNotification),
45 | name: NSWorkspace.willPowerOffNotification,
46 | object: nil
47 | )
48 | }
49 |
50 | private lazy var sensorReader = DMBAmbientLightSensorReader(frequency: .realtime)
51 |
52 | @IBAction func showSettingsWindow(_ sender: Any?) {
53 | NSApp.setActivationPolicy(.regular)
54 |
55 | window = NSWindow(
56 | contentRect: NSRect(x: 0, y: 0, width: 385, height: 360),
57 | styleMask: [.titled, .closable, .miniaturizable, .fullSizeContentView],
58 | backing: .buffered, defer: false)
59 | window.center()
60 | window.setFrameAutosaveName("Settings")
61 | window.titlebarAppearsTransparent = true
62 | window.title = "DarkModeBuddy Settings"
63 | window.isMovableByWindowBackground = true
64 | window.delegate = self
65 | window.isReleasedWhenClosed = false
66 |
67 | let view = SettingsView()
68 | .environmentObject(sensorReader)
69 | .environmentObject(settings)
70 |
71 | window.contentView = NSHostingView(rootView: view)
72 |
73 | window.makeKeyAndOrderFront(nil)
74 | window.center()
75 |
76 | NSApp.activate(ignoringOtherApps: true)
77 | }
78 |
79 | @IBAction func terminate(_ sender: Any?) {
80 | // No need to confirm on quit if the user's Mac is not supported.
81 | shouldSkipTerminationConfirmation = !sensorReader.isSensorReady
82 |
83 | NSApp.terminate(sender)
84 | }
85 |
86 | private var isShowingSettingsWindow: Bool {
87 | guard let window = window else { return false }
88 | return window.isVisible
89 | }
90 |
91 | func applicationShouldHandleReopen(_ sender: NSApplication, hasVisibleWindows flag: Bool) -> Bool {
92 | guard !isShowingSettingsWindow else { return true }
93 |
94 | showSettingsWindow(nil)
95 |
96 | return true
97 | }
98 |
99 | private var shouldShowSettingsOnNextLaunch: Bool {
100 | get {
101 | let value = UserDefaults.standard.bool(forKey: #function)
102 |
103 | if value {
104 | // Reset flag
105 | UserDefaults.standard.set(false, forKey: #function)
106 | }
107 |
108 | return value
109 | }
110 | set {
111 | UserDefaults.standard.set(newValue, forKey: #function)
112 | UserDefaults.standard.synchronize()
113 | }
114 | }
115 |
116 | private var shouldSkipTerminationConfirmation = false
117 |
118 | func applicationShouldTerminate(_ sender: NSApplication) -> NSApplication.TerminateReply {
119 | guard !shouldSkipTerminationConfirmation else { return .terminateNow }
120 |
121 | let alert = NSAlert()
122 | alert.messageText = "Quit DarkModeBuddy?"
123 | alert.informativeText = "If you quit DarkModeBuddy, it won't be able to monitor your ambient light level and change the system theme automatically. Would you like to hide DarkModeBuddy instead?"
124 | alert.addButton(withTitle: "Hide DarkModeBuddy")
125 | alert.addButton(withTitle: "Quit")
126 |
127 | let result = alert.runModal()
128 |
129 | if result == .alertSecondButtonReturn {
130 | return .terminateNow
131 | } else {
132 | window?.close()
133 |
134 | return .terminateCancel
135 | }
136 | }
137 |
138 | @objc func receivedShutdownNotification(_ note: Notification) {
139 | shouldSkipTerminationConfirmation = true
140 | }
141 |
142 | }
143 |
144 | extension AppDelegate: NSWindowDelegate {
145 |
146 | func windowWillClose(_ notification: Notification) {
147 | NSApp.setActivationPolicy(.accessory)
148 |
149 | window = nil
150 | }
151 |
152 | }
153 |
154 | extension AppDelegate: SUUpdaterDelegate {
155 |
156 | func updaterWillRelaunchApplication(_ updater: SUUpdater) {
157 | shouldSkipTerminationConfirmation = true
158 | shouldShowSettingsOnNextLaunch = true
159 | }
160 |
161 | func updater(_ updater: SUUpdater, didCancelInstallUpdateOnQuit item: SUAppcastItem) {
162 | shouldSkipTerminationConfirmation = false
163 | }
164 |
165 | }
166 |
--------------------------------------------------------------------------------
/DarkModeBuddyCore/Source/AmbientLight/DMBAmbientLightSensor.m:
--------------------------------------------------------------------------------
1 | //
2 | // DMBAmbientLightSensor.m
3 | // DarkModeBuddyCore
4 | //
5 | // Created by Guilherme Rambo on 23/02/21.
6 | //
7 |
8 | #import
9 |
10 | @import os.log;
11 |
12 | #import
13 | #import
14 |
15 | typedef struct __IOHIDEvent *IOHIDEventRef;
16 |
17 | #define kAmbientLightSensorEvent 12
18 |
19 | #define IOHIDEventFieldBase(type) (type << 16)
20 |
21 | extern IOHIDEventRef IOHIDServiceClientCopyEvent(IOHIDServiceClientRef, int64_t, int32_t, int64_t);
22 | extern double IOHIDEventGetFloatValue(IOHIDEventRef, int32_t);
23 |
24 | // BezelServices.framework
25 | extern IOHIDServiceClientRef ALCALSCopyALSServiceClient(void);
26 |
27 | @interface DMBAmbientLightSensor ()
28 |
29 | @property (nonatomic, assign) double value;
30 |
31 | @property (nonatomic, strong) NSTimer *updateTimer;
32 | @property (nonatomic, strong) os_log_t log;
33 |
34 | @end
35 |
36 | @implementation DMBAmbientLightSensor
37 | {
38 | IOHIDServiceClientRef _client;
39 | IOHIDEventRef _event;
40 |
41 | io_connect_t _legacySensorDataPort;
42 | BOOL _legacySensorInitializedSuccessfully;
43 | }
44 |
45 | - (instancetype)init
46 | {
47 | if (!(self = [super init])) return nil;
48 |
49 | _value = -1;
50 | _updateInterval = 5;
51 | _legacySensorInitializedSuccessfully = NO;
52 |
53 | self.log = os_log_create(kDarkModeBuddyCoreSubsystemName, "AmbientLightSensor");
54 |
55 | return self;
56 | }
57 |
58 | - (IOHIDEventRef)copyHIDEvent
59 | {
60 | #if DEBUG
61 | if ([[NSUserDefaults standardUserDefaults] boolForKey:@"DMBFakeSystemUsesLegacySensor"]) return NULL;
62 | #endif
63 |
64 | if (!_client) _client = ALCALSCopyALSServiceClient();
65 |
66 | if (_client) {
67 | _event = IOHIDServiceClientCopyEvent(_client, kAmbientLightSensorEvent, 0, 0);
68 | }
69 |
70 | return _event;
71 | }
72 |
73 | - (void)update
74 | {
75 | [self _read];
76 | }
77 |
78 | - (void)_read
79 | {
80 | IOHIDEventRef event = [self copyHIDEvent];
81 |
82 | if (!event) {
83 | [self _readLegacy];
84 | return;
85 | }
86 |
87 | self.value = IOHIDEventGetFloatValue(event, IOHIDEventFieldBase(kAmbientLightSensorEvent));
88 |
89 | CFRelease(event);
90 | }
91 |
92 | - (void)_initializeLegacySensorObject
93 | {
94 | if (_legacySensorInitializedSuccessfully) return;
95 |
96 | io_service_t legacySensorObject = 0;
97 |
98 | if (!_legacySensorInitializedSuccessfully) {
99 | legacySensorObject = IOServiceGetMatchingService(kIOMasterPortDefault, IOServiceMatching("AppleLMUController"));
100 | if (!legacySensorObject) {
101 | os_log_fault(self.log, "Failed to initialize AppleLMUController");
102 | return;
103 | }
104 | }
105 |
106 | if (IOServiceOpen(legacySensorObject, mach_task_self(), 0, &_legacySensorDataPort) != KERN_SUCCESS) {
107 | os_log_fault(self.log, "Failed to open AppleLMUController service");
108 | return;
109 | }
110 |
111 | IOObjectRelease(legacySensorObject);
112 |
113 | _legacySensorInitializedSuccessfully = YES;
114 |
115 | os_log_debug(self.log, "Initialized legacy sensor");
116 | }
117 |
118 | - (void)_readLegacy
119 | {
120 | [self _initializeLegacySensorObject];
121 |
122 | if (!_legacySensorInitializedSuccessfully) {
123 | self.value = -1;
124 | return;
125 | }
126 |
127 | uint32_t outputs = 2;
128 | uint64_t values[outputs];
129 |
130 | if (IOConnectCallMethod(_legacySensorDataPort, 0, nil, 0, nil, 0, values, &outputs, nil, 0) == KERN_SUCCESS) {
131 | double v = (double)(3 * values[0] / 100000 - 1.5);
132 | double lux = (v > 0) ? v : 0.0;
133 |
134 | self.value = lux;
135 |
136 | // os_log_debug(self.log, "New value (legacy): %{public}.2f", self.value);
137 | } else {
138 | os_log_fault(self.log, "Failed to read legacy sensor value");
139 | }
140 | }
141 |
142 | - (void)setUpdateInterval:(NSTimeInterval)updateInterval
143 | {
144 | if (updateInterval == _updateInterval) return;
145 |
146 | assert(updateInterval > 0);
147 |
148 | _updateInterval = updateInterval;
149 |
150 | if (self.updateTimer) [self _setupUpdateTimer];
151 | }
152 |
153 | - (void)activate
154 | {
155 | [self _setupUpdateTimer];
156 | [self _read];
157 | }
158 |
159 | - (void)invalidate
160 | {
161 | [self _tearDownUpdateTimer];
162 | }
163 |
164 | - (BOOL)_canGetHIDEvent
165 | {
166 | IOHIDEventRef event = [self copyHIDEvent];
167 | BOOL eventOK = event != NULL;
168 | if (event) CFRelease(event);
169 | return eventOK;
170 | }
171 |
172 | - (BOOL)isPresent
173 | {
174 | if ([[NSUserDefaults standardUserDefaults] boolForKey:@"DMBFakeSensorSupported"]) return YES;
175 |
176 | return [self _canGetHIDEvent] || _legacySensorInitializedSuccessfully;
177 | }
178 |
179 | + (BOOL)hardwareUsesLegacySensor
180 | {
181 | static BOOL _usesLegacySensor;
182 | static dispatch_once_t onceToken;
183 | dispatch_once(&onceToken, ^{
184 | _usesLegacySensor = (ALCALSCopyALSServiceClient() == NULL);
185 | });
186 | return _usesLegacySensor;
187 | }
188 |
189 | - (void)_tearDownUpdateTimer
190 | {
191 | [self.updateTimer invalidate];
192 | self.updateTimer = nil;
193 | }
194 |
195 | - (void)_setupUpdateTimer
196 | {
197 | self.updateTimer = [NSTimer scheduledTimerWithTimeInterval:self.updateInterval
198 | target:self
199 | selector:@selector(_read)
200 | userInfo:nil
201 | repeats:YES];
202 | self.updateTimer.tolerance = self.updateInterval / 2;
203 | }
204 |
205 | - (void)dealloc
206 | {
207 | [self _tearDownUpdateTimer];
208 | if (_client) CFRelease(_client);
209 | if (_legacySensorInitializedSuccessfully) IOConnectRelease(_legacySensorDataPort);
210 | }
211 |
212 | @end
213 |
--------------------------------------------------------------------------------
/DarkModeBuddyCore/Source/System/DMBSystemAppearanceSwitcher.swift:
--------------------------------------------------------------------------------
1 | //
2 | // DMBSystemAppearanceSwitcher.swift
3 | // DarkModeBuddyCore
4 | //
5 | // Created by Guilherme Rambo on 23/02/21.
6 | //
7 |
8 | import Cocoa
9 | import Combine
10 | import os.log
11 |
12 | public final class DMBSystemAppearanceSwitcher: ObservableObject {
13 |
14 | enum Appearance: Int32, CustomStringConvertible {
15 | case light
16 | case dark
17 |
18 | var description: String {
19 | switch self {
20 | case .dark:
21 | return "Dark"
22 | case .light:
23 | return "Light"
24 | }
25 | }
26 |
27 | static var current: Appearance { Appearance(rawValue: SLSGetAppearanceThemeLegacy()) ?? .light }
28 | }
29 |
30 | private let log = OSLog(subsystem: kDarkModeBuddyCoreSubsystemName, category: String(describing: DMBSystemAppearanceSwitcher.self))
31 |
32 | let settings: DMBSettings
33 | let reader: DMBAmbientLightSensorReader
34 |
35 | private var cancellables = Set()
36 |
37 | public init(settings: DMBSettings,
38 | reader: DMBAmbientLightSensorReader = DMBAmbientLightSensorReader(frequency: .fast))
39 | {
40 | self.settings = settings
41 | self.reader = reader
42 | }
43 |
44 | public func activate() {
45 | reader.$ambientLightValue.sink { [weak self] newValue in
46 | self?.ambientLightChanged(to: newValue)
47 | }.store(in: &cancellables)
48 |
49 | settings.$darknessThresholdIntervalInSeconds.sink { [weak self] _ in
50 | self?.reset()
51 | }.store(in: &cancellables)
52 |
53 | settings.$darknessThreshold.sink { [weak self] _ in
54 | self?.reset()
55 | }.store(in: &cancellables)
56 |
57 | setupUpdateAppearanceOnWake()
58 |
59 | reader.activate()
60 | }
61 |
62 | private func setupUpdateAppearanceOnWake() {
63 | NSWorkspace.shared.notificationCenter.addObserver(forName: NSWorkspace.didWakeNotification, object: nil, queue: .main) { [weak self] _ in
64 | DispatchQueue.main.asyncAfter(deadline: .now() + 2) {
65 | self?.attemptAppearanceChangeOnWake()
66 | }
67 | }
68 | }
69 |
70 | private func attemptAppearanceChangeOnWake() {
71 | guard settings.isImmediateChangeOnComputerWakeEnabled else { return }
72 |
73 | reader.update()
74 |
75 | os_log("%{public}@ %.2f", log: log, type: .debug, #function, reader.ambientLightValue)
76 |
77 | if reader.ambientLightValue < settings.darknessThreshold {
78 | changeSystemAppearance(to: .dark)
79 | } else {
80 | changeSystemAppearance(to: .light)
81 | }
82 | }
83 |
84 | private func reset() {
85 | candidateAppearance = nil
86 | cancelScheduledApperanceChange()
87 |
88 | evaluateAmbientLight(with: reader.ambientLightValue)
89 | }
90 |
91 | /// The current appearance that we'll change to, assuming the conditions stay favorable.
92 | private var candidateAppearance: Appearance?
93 |
94 | /// Scheduled appearance change, might be cancelled if conditions change.
95 | private var changeAppearanceWorkItem: DispatchWorkItem?
96 |
97 | private func ambientLightChanged(to value: Double) {
98 | guard abs(value - reader.ambientLightValue) > settings.ambientLightSmoothingConstant else { return }
99 |
100 | os_log("%{public}@ %.2f", log: log, type: .debug, #function, value)
101 |
102 | evaluateAmbientLight(with: value)
103 | }
104 |
105 | private func cancelScheduledApperanceChange() {
106 | guard changeAppearanceWorkItem != nil else { return }
107 |
108 | changeAppearanceWorkItem?.cancel()
109 | changeAppearanceWorkItem = nil
110 |
111 | os_log("Cancelled scheduled appearance change", log: self.log, type: .debug)
112 | }
113 |
114 | private func evaluateAmbientLight(with value: Double) {
115 | #if DEBUG
116 | os_log("%{public}@ %{public}.2f", log: log, type: .debug, #function, value)
117 | #endif
118 |
119 | guard value != -1 else { return }
120 |
121 | let newAppearance: Appearance
122 |
123 | if value < settings.darknessThreshold {
124 | newAppearance = .dark
125 | } else {
126 | if Appearance.current == .dark {
127 | guard value > (settings.darknessThreshold + settings.extraThresholdBeforeRevertingToLightMode) else {
128 | return
129 | }
130 | }
131 | newAppearance = .light
132 | }
133 |
134 | guard newAppearance != candidateAppearance else { return }
135 | candidateAppearance = newAppearance
136 |
137 | cancelScheduledApperanceChange()
138 |
139 | guard newAppearance != .current else { return }
140 |
141 | os_log("New candidate appearance is %@", log: self.log, type: .debug, newAppearance.description)
142 |
143 | let workItem = DispatchWorkItem { [weak self] in
144 | guard let self = self else { return }
145 | self.changeSystemAppearance(to: newAppearance)
146 | }
147 | changeAppearanceWorkItem = workItem
148 |
149 | DispatchQueue.main.asyncAfter(deadline: .now() + settings.darknessThresholdIntervalInSeconds, execute: workItem)
150 |
151 | os_log("Scheduled appearance change to %{public}@ for %{public}@, if conditions remain favorable (interval = %{public}.2f)", log: self.log, type: .debug, newAppearance.description, Date().addingTimeInterval(settings.darknessThresholdIntervalInSeconds).description, settings.darknessThresholdIntervalInSeconds)
152 | }
153 |
154 | private func changeSystemAppearance(to newAppearance: Appearance) {
155 | guard newAppearance != .current else { return }
156 |
157 | if settings.isDisableAppearanceChangeInClamshellModeEnabled {
158 | guard !ClamshellStateChecker.isClamshellClosed() else {
159 | os_log("Skipping appearance change because the Mac is in clamshell mode", log: self.log, type: .debug)
160 | return
161 | }
162 | }
163 |
164 | os_log("%{public}@ %{public}@", log: log, type: .debug, #function, newAppearance.description)
165 |
166 | guard settings.isChangeSystemAppearanceBasedOnAmbientLightEnabled else {
167 | os_log("Automatic appearance change disabled in settings", log: self.log, type: .debug)
168 | return
169 | }
170 |
171 | SLSSetAppearanceThemeLegacy(newAppearance.rawValue)
172 | }
173 |
174 | }
175 |
--------------------------------------------------------------------------------
/DarkModeBuddy/Views/SettingsView.swift:
--------------------------------------------------------------------------------
1 | //
2 | // SettingsView.swift
3 | // DarkModeBuddy
4 | //
5 | // Created by Guilherme Rambo on 23/02/21.
6 | //
7 |
8 | import SwiftUI
9 | import DarkModeBuddyCore
10 |
11 | struct SettingsView: View {
12 | @EnvironmentObject var reader: DMBAmbientLightSensorReader
13 | @EnvironmentObject var settings: DMBSettings
14 |
15 | private let darknessInterval: ClosedRange = 0...3000
16 |
17 | @State private var isShowingDarknessValueOutOfBoundsAlert = false
18 | @State private var isEditingAmbientLightLevelManually = false
19 | @State private var editingAmbientLightManuallyTextFieldStore = ""
20 |
21 | var body: some View {
22 | Group {
23 | if reader.isSensorReady {
24 | settingsControls
25 | } else {
26 | UnsupportedMacView()
27 | }
28 | }
29 | .frame(maxWidth: .infinity, maxHeight: .infinity)
30 | .padding([.top, .bottom])
31 | .padding([.leading, .trailing], 22)
32 | .onAppear { reader.activate() }
33 | }
34 |
35 | private var settingsControls: some View {
36 | VStack(alignment: .leading, spacing: 32) {
37 | Toggle(
38 | "Launch at Login",
39 | isOn: $settings.isLaunchAtLoginEnabled
40 | )
41 |
42 | Toggle(
43 | "Change Theme Automatically",
44 | isOn: $settings.isChangeSystemAppearanceBasedOnAmbientLightEnabled
45 | )
46 |
47 | Group {
48 | VStack(alignment: .leading, spacing: 2) {
49 | Text("Go Dark When Ambient Light Falls Below:")
50 |
51 | HStack(alignment: .firstTextBaseline) {
52 | Slider(value: $settings.darknessThreshold, in: darknessInterval)
53 | .frame(maxWidth: 300)
54 | if isEditingAmbientLightLevelManually {
55 | TextField("", text: $editingAmbientLightManuallyTextFieldStore, onCommit: {
56 | guard let newValue = Double(editingAmbientLightManuallyTextFieldStore),
57 | newValue >= darknessInterval.lowerBound,
58 | newValue <= darknessInterval.upperBound else {
59 | isShowingDarknessValueOutOfBoundsAlert = true
60 | return
61 | }
62 | settings.darknessThreshold = newValue
63 | isEditingAmbientLightLevelManually = false
64 | })
65 | .frame(maxWidth: 40)
66 | } else {
67 | Text("\(settings.darknessThreshold.formattedNoFractionDigits)")
68 | .font(.system(size: 12, weight: .medium).monospacedDigit())
69 | .onTapGesture(count: 2) {
70 | self.editingAmbientLightManuallyTextFieldStore = "\(settings.darknessThreshold.formattedNoFractionDigits)"
71 | isEditingAmbientLightLevelManually = true
72 | }
73 | }
74 | }
75 | .alert(isPresented: $isShowingDarknessValueOutOfBoundsAlert) {
76 | Alert(title: Text("Error"),
77 | message: Text("The threshold value must be in the interval [\(darknessInterval.lowerBound.formattedNoFractionDigits), \(darknessInterval.upperBound.formattedNoFractionDigits)]"),
78 | dismissButton: .default(Text("OK")))
79 | }
80 |
81 | HStack(alignment: .firstTextBaseline) {
82 | Text("Current Ambient Light Level:")
83 | Text("\(reader.ambientLightValue.formattedNoFractionDigits)")
84 | .font(.system(size: 12).monospacedDigit())
85 | }
86 | .font(.system(size: 12))
87 | .foregroundColor(Color(NSColor.secondaryLabelColor))
88 |
89 |
90 | Text("Delay Time:")
91 | .padding(.top, 22)
92 |
93 | HStack(alignment: .firstTextBaseline) {
94 | Slider(value: $settings.darknessThresholdIntervalInSeconds, in: 15...600, step: 15)
95 | Text(settings.darknessThresholdIntervalInSeconds.formattedTime)
96 | .font(.system(size: 12, weight: .medium).monospacedDigit())
97 | .frame(width: 50, alignment: .trailing)
98 | }
99 | }
100 | }
101 | .disabled(!settings.isChangeSystemAppearanceBasedOnAmbientLightEnabled)
102 |
103 | Text(settings.currentSettingsDescription)
104 | .font(.system(size: 11))
105 | .foregroundColor(Color(NSColor.tertiaryLabelColor))
106 | // .multilineTextAlignment(.center)
107 | .lineLimit(nil)
108 | }
109 | }
110 | }
111 |
112 | extension NumberFormatter {
113 | static let noFractionDigits: NumberFormatter = {
114 | let f = NumberFormatter()
115 |
116 | f.numberStyle = .decimal
117 | f.maximumFractionDigits = 0
118 |
119 | return f
120 | }()
121 | }
122 |
123 | extension Double {
124 | var formattedNoFractionDigits: String {
125 | NumberFormatter.noFractionDigits.string(from: NSNumber(value: self)) ?? "!!!"
126 | }
127 | var formattedTime: String {
128 | let formatter = DateComponentsFormatter()
129 | formatter.unitsStyle = .positional
130 | return (formatter.string(from: self) ?? "!!!" ) + "s"
131 | }
132 | var formattedLongTime: String {
133 | let formatter = DateComponentsFormatter()
134 | formatter.unitsStyle = .full
135 | return formatter.string(from: self) ?? "!!!"
136 | }
137 | }
138 |
139 | extension DMBSettings {
140 | var currentSettingsDescription: String {
141 | guard isChangeSystemAppearanceBasedOnAmbientLightEnabled else {
142 | return "Dark Mode will not be enabled automatically based on ambient light."
143 | }
144 |
145 | return "Dark Mode will be enabled when the ambient light stays below \(darknessThreshold.formattedNoFractionDigits) for over \(darknessThresholdIntervalInSeconds.formattedLongTime)."
146 | }
147 | }
148 |
149 | struct ContentView_Previews: PreviewProvider {
150 | static var previews: some View {
151 | SettingsView()
152 | .frame(maxWidth: 385)
153 | .environmentObject(DMBAmbientLightSensorReader(frequency: .realtime))
154 | .environmentObject(DMBSettings(forPreview: true))
155 | .previewLayout(.sizeThatFits)
156 | }
157 | }
158 |
--------------------------------------------------------------------------------
/DarkModeBuddyCore/Source/Storage/DMBSettings.swift:
--------------------------------------------------------------------------------
1 | //
2 | // DMBSettings.swift
3 | // DarkModeBuddyCore
4 | //
5 | // Created by Guilherme Rambo on 23/02/21.
6 | //
7 |
8 | import Foundation
9 | import SwiftUI
10 |
11 | public final class DMBSettings: ObservableObject {
12 |
13 | private struct Keys {
14 | static let darknessThreshold = "darknessThreshold"
15 | static let isChangeSystemAppearanceBasedOnAmbientLightEnabled = "isChangeSystemAppearanceBasedOnAmbientLightEnabled"
16 | static let darknessThresholdIntervalInSeconds = "darknessThresholdIntervalInSeconds"
17 | static let ambientLightSmoothingConstant = "ambientLightSmoothingConstant"
18 | static let hasLaunchedAppBefore = "hasLaunchedAppBefore"
19 | static let disableAppearanceChangeInClamshellMode = "disableAppearanceChangeInClamshellMode"
20 | static let enableImmediateChangeOnComputerWake = "enableImmediateChangeOnComputerWake"
21 | static let extraThresholdBeforeRevertingToLightMode = "extraThresholdBeforeRevertingToLightMode"
22 |
23 | static let defaultDarknessThreshold: Double = {
24 | DMBAmbientLightSensor.hardwareUsesLegacySensor() ? 20.0 : 52.0
25 | }()
26 |
27 | static let defaultAmbientLightSmoothingConstant: Double = {
28 | DMBAmbientLightSensor.hardwareUsesLegacySensor() ? 5.0 : 3.0
29 | }()
30 |
31 | static let defaultExtraThresholdBeforeRevertingToLightMode: Double = {
32 | DMBAmbientLightSensor.hardwareUsesLegacySensor() ? 30.0 : 10.0
33 | }()
34 |
35 | static let defaultDarknessThresholdIntervalInSeconds = 60.0
36 | }
37 |
38 | private let defaults: UserDefaults
39 |
40 | let isPreviewing: Bool
41 |
42 | public init(forPreview isPreviewing: Bool = false, defaults: UserDefaults = .standard) {
43 | self.isPreviewing = isPreviewing
44 | self.defaults = defaults
45 |
46 | defaults.register(defaults: [
47 | Keys.darknessThreshold: Keys.defaultDarknessThreshold,
48 | Keys.isChangeSystemAppearanceBasedOnAmbientLightEnabled: true,
49 | Keys.darknessThresholdIntervalInSeconds: Keys.defaultDarknessThresholdIntervalInSeconds,
50 | Keys.ambientLightSmoothingConstant: Keys.defaultAmbientLightSmoothingConstant,
51 | Keys.disableAppearanceChangeInClamshellMode: true,
52 | Keys.enableImmediateChangeOnComputerWake: true,
53 | Keys.extraThresholdBeforeRevertingToLightMode: Keys.defaultExtraThresholdBeforeRevertingToLightMode
54 | ])
55 |
56 | self.isChangeSystemAppearanceBasedOnAmbientLightEnabled = defaults.bool(forKey: Keys.isChangeSystemAppearanceBasedOnAmbientLightEnabled)
57 | self.hasLaunchedAppBefore = defaults.bool(forKey: Keys.hasLaunchedAppBefore)
58 | self.darknessThreshold = defaults.optionalDoubleValue(forKey: Keys.darknessThreshold) ?? Keys.defaultDarknessThreshold
59 | self.darknessThresholdIntervalInSeconds = defaults.optionalDoubleValue(forKey: Keys.darknessThresholdIntervalInSeconds) ?? Keys.defaultDarknessThresholdIntervalInSeconds
60 | self.ambientLightSmoothingConstant = defaults.optionalDoubleValue(forKey: Keys.ambientLightSmoothingConstant) ?? Keys.defaultAmbientLightSmoothingConstant
61 | self.extraThresholdBeforeRevertingToLightMode = defaults.optionalDoubleValue(forKey: Keys.extraThresholdBeforeRevertingToLightMode) ?? Keys.defaultExtraThresholdBeforeRevertingToLightMode
62 |
63 | if isPreviewing {
64 | self.isLaunchAtLoginEnabled = false
65 | } else {
66 | self.isLaunchAtLoginEnabled = Self.isAppInLoginItems
67 |
68 | SharedFileList.sessionLoginItems().changeHandler = { [weak self] _ in
69 | self?.updateLaunchAtLoginEnabled()
70 | }
71 | }
72 | }
73 |
74 | var isDisableAppearanceChangeInClamshellModeEnabled: Bool {
75 | defaults.bool(forKey: Keys.disableAppearanceChangeInClamshellMode)
76 | }
77 |
78 | var isImmediateChangeOnComputerWakeEnabled: Bool {
79 | defaults.bool(forKey: Keys.enableImmediateChangeOnComputerWake)
80 | }
81 |
82 | @Published public var hasLaunchedAppBefore: Bool {
83 | didSet {
84 | defaults.set(
85 | hasLaunchedAppBefore,
86 | forKey: Keys.hasLaunchedAppBefore
87 | )
88 | }
89 | }
90 |
91 | /// Whether to change system appearance automatically based on ambient light.
92 | @Published public var isChangeSystemAppearanceBasedOnAmbientLightEnabled: Bool {
93 | didSet {
94 | defaults.set(
95 | isChangeSystemAppearanceBasedOnAmbientLightEnabled,
96 | forKey: Keys.isChangeSystemAppearanceBasedOnAmbientLightEnabled
97 | )
98 | }
99 | }
100 |
101 | /// The threshold below which the ambient light is considered "dark".
102 | @Published public var darknessThreshold: Double {
103 | didSet {
104 | defaults.set(
105 | darknessThreshold,
106 | forKey: Keys.darknessThreshold
107 | )
108 | }
109 | }
110 |
111 | /// For how long the ambient light must be below `darknessThreshold` or above
112 | /// it for the system appearance to be changed based on that.
113 | @Published public var darknessThresholdIntervalInSeconds: TimeInterval {
114 | didSet {
115 | defaults.set(
116 | darknessThresholdIntervalInSeconds,
117 | forKey: Keys.darknessThresholdIntervalInSeconds
118 | )
119 | }
120 | }
121 |
122 | /// Changes in ambient light will be ignored if the change is less than this amount.
123 | /// Not currently exposed in the UI.
124 | @Published public var ambientLightSmoothingConstant: Double {
125 | didSet {
126 | defaults.set(
127 | ambientLightSmoothingConstant,
128 | forKey: Keys.ambientLightSmoothingConstant
129 | )
130 | }
131 | }
132 |
133 | /// When reverting from Dark Mode to Light Mode, the ambient light level must be
134 | /// above the user's `darknessThreshold` plus this additional threshold,
135 | /// in order to prevent frequent changes when at the edge of the transition.
136 | @Published public var extraThresholdBeforeRevertingToLightMode: Double {
137 | didSet {
138 | defaults.set(
139 | extraThresholdBeforeRevertingToLightMode,
140 | forKey: Keys.extraThresholdBeforeRevertingToLightMode
141 | )
142 | }
143 | }
144 |
145 | // MARK: - Launch at login
146 |
147 | private static var isAppInLoginItems: Bool {
148 | SharedFileList.sessionLoginItems().containsItem(Self.appURL)
149 | }
150 |
151 | private func updateLaunchAtLoginEnabled() {
152 | isLaunchAtLoginEnabled = Self.isAppInLoginItems
153 | }
154 |
155 | private static var appURL: URL { Bundle.main.bundleURL }
156 |
157 | @Published public var isLaunchAtLoginEnabled: Bool {
158 | didSet {
159 | guard !isPreviewing else { return }
160 |
161 | guard isLaunchAtLoginEnabled != oldValue else { return }
162 |
163 | if isLaunchAtLoginEnabled {
164 | SharedFileList.sessionLoginItems().addItem(Self.appURL)
165 | } else {
166 | SharedFileList.sessionLoginItems().removeItem(Self.appURL)
167 | }
168 | }
169 | }
170 |
171 | }
172 |
173 | fileprivate extension UserDefaults {
174 | func optionalDoubleValue(forKey key: String) -> Double? {
175 | guard let number = object(forKey: key) as? NSNumber else { return nil }
176 | return number.doubleValue
177 | }
178 | }
179 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Headers/SUUpdater.h:
--------------------------------------------------------------------------------
1 | //
2 | // SUUpdater.h
3 | // Sparkle
4 | //
5 | // Created by Andy Matuschak on 1/4/06.
6 | // Copyright 2006 Andy Matuschak. All rights reserved.
7 | //
8 |
9 | #ifndef SUUPDATER_H
10 | #define SUUPDATER_H
11 |
12 | #if __has_feature(modules)
13 | @import Cocoa;
14 | #else
15 | #import
16 | #endif
17 | #import "SUExport.h"
18 | #import "SUVersionComparisonProtocol.h"
19 | #import "SUVersionDisplayProtocol.h"
20 |
21 | @class SUAppcastItem, SUAppcast;
22 |
23 | @protocol SUUpdaterDelegate;
24 |
25 | /*!
26 | The main API in Sparkle for controlling the update mechanism.
27 |
28 | This class is used to configure the update paramters as well as manually
29 | and automatically schedule and control checks for updates.
30 | */
31 | SU_EXPORT @interface SUUpdater : NSObject
32 |
33 | @property (unsafe_unretained) IBOutlet id delegate;
34 |
35 | /*!
36 | The shared updater for the main bundle.
37 |
38 | This is equivalent to passing [NSBundle mainBundle] to SUUpdater::updaterForBundle:
39 | */
40 | + (SUUpdater *)sharedUpdater;
41 |
42 | /*!
43 | The shared updater for a specified bundle.
44 |
45 | If an updater has already been initialized for the provided bundle, that shared instance will be returned.
46 | */
47 | + (SUUpdater *)updaterForBundle:(NSBundle *)bundle;
48 |
49 | /*!
50 | Designated initializer for SUUpdater.
51 |
52 | If an updater has already been initialized for the provided bundle, that shared instance will be returned.
53 | */
54 | - (instancetype)initForBundle:(NSBundle *)bundle;
55 |
56 | /*!
57 | Explicitly checks for updates and displays a progress dialog while doing so.
58 |
59 | This method is meant for a main menu item.
60 | Connect any menu item to this action in Interface Builder,
61 | and Sparkle will check for updates and report back its findings verbosely
62 | when it is invoked.
63 |
64 | This will find updates that the user has opted into skipping.
65 | */
66 | - (IBAction)checkForUpdates:(id)sender;
67 |
68 | /*!
69 | The menu item validation used for the -checkForUpdates: action
70 | */
71 | - (BOOL)validateMenuItem:(NSMenuItem *)menuItem;
72 |
73 | /*!
74 | Checks for updates, but does not display any UI unless an update is found.
75 |
76 | This is meant for programmatically initating a check for updates. That is,
77 | it will display no UI unless it actually finds an update, in which case it
78 | proceeds as usual.
79 |
80 | If automatic downloading of updates it turned on and allowed, however,
81 | this will invoke that behavior, and if an update is found, it will be downloaded
82 | in the background silently and will be prepped for installation.
83 |
84 | This will not find updates that the user has opted into skipping.
85 | */
86 | - (void)checkForUpdatesInBackground;
87 |
88 | /*!
89 | A property indicating whether or not to check for updates automatically.
90 |
91 | Setting this property will persist in the host bundle's user defaults.
92 | The update schedule cycle will be reset in a short delay after the property's new value is set.
93 | This is to allow reverting this property without kicking off a schedule change immediately
94 | */
95 | @property BOOL automaticallyChecksForUpdates;
96 |
97 | /*!
98 | A property indicating whether or not updates can be automatically downloaded in the background.
99 |
100 | Note that automatic downloading of updates can be disallowed by the developer
101 | or by the user's system if silent updates cannot be done (eg: if they require authentication).
102 | In this case, -automaticallyDownloadsUpdates will return NO regardless of how this property is set.
103 |
104 | Setting this property will persist in the host bundle's user defaults.
105 | */
106 | @property BOOL automaticallyDownloadsUpdates;
107 |
108 | /*!
109 | A property indicating the current automatic update check interval.
110 |
111 | Setting this property will persist in the host bundle's user defaults.
112 | The update schedule cycle will be reset in a short delay after the property's new value is set.
113 | This is to allow reverting this property without kicking off a schedule change immediately
114 | */
115 | @property NSTimeInterval updateCheckInterval;
116 |
117 | /*!
118 | Begins a "probing" check for updates which will not actually offer to
119 | update to that version.
120 |
121 | However, the delegate methods
122 | SUUpdaterDelegate::updater:didFindValidUpdate: and
123 | SUUpdaterDelegate::updaterDidNotFindUpdate: will be called,
124 | so you can use that information in your UI.
125 |
126 | Updates that have been skipped by the user will not be found.
127 | */
128 | - (void)checkForUpdateInformation;
129 |
130 | /*!
131 | The URL of the appcast used to download update information.
132 |
133 | Setting this property will persist in the host bundle's user defaults.
134 | If you don't want persistence, you may want to consider instead implementing
135 | SUUpdaterDelegate::feedURLStringForUpdater: or SUUpdaterDelegate::feedParametersForUpdater:sendingSystemProfile:
136 |
137 | This property must be called on the main thread.
138 | */
139 | @property (copy) NSURL *feedURL;
140 |
141 | /*!
142 | The host bundle that is being updated.
143 | */
144 | @property (readonly, strong) NSBundle *hostBundle;
145 |
146 | /*!
147 | The bundle this class (SUUpdater) is loaded into.
148 | */
149 | @property (strong, readonly) NSBundle *sparkleBundle;
150 |
151 | /*!
152 | The user agent used when checking for updates.
153 |
154 | The default implementation can be overrided.
155 | */
156 | @property (nonatomic, copy) NSString *userAgentString;
157 |
158 | /*!
159 | The HTTP headers used when checking for updates.
160 |
161 | The keys of this dictionary are HTTP header fields (NSString) and values are corresponding values (NSString)
162 | */
163 | @property (copy) NSDictionary *httpHeaders;
164 |
165 | /*!
166 | A property indicating whether or not the user's system profile information is sent when checking for updates.
167 |
168 | Setting this property will persist in the host bundle's user defaults.
169 | */
170 | @property BOOL sendsSystemProfile;
171 |
172 | /*!
173 | A property indicating the decryption password used for extracting updates shipped as Apple Disk Images (dmg)
174 | */
175 | @property (nonatomic, copy) NSString *decryptionPassword;
176 |
177 | /*!
178 | This function ignores normal update schedule, ignores user preferences,
179 | and interrupts users with an unwanted immediate app update.
180 |
181 | WARNING: this function should not be used in regular apps. This function
182 | is a user-unfriendly hack only for very special cases, like unstable
183 | rapidly-changing beta builds that would not run correctly if they were
184 | even one day out of date.
185 |
186 | Instead of this function you should set `SUAutomaticallyUpdate` to `YES`,
187 | which will gracefully install updates when the app quits.
188 |
189 | For UI-less/daemon apps that aren't usually quit, instead of this function,
190 | you can use the delegate method
191 | SUUpdaterDelegate::updater:willInstallUpdateOnQuit:immediateInstallationInvocation:
192 | or
193 | SUUpdaterDelegate::updater:willInstallUpdateOnQuit:immediateInstallationBlock:
194 | to immediately start installation when an update was found.
195 |
196 | A progress dialog is shown but the user will never be prompted to read the
197 | release notes.
198 |
199 | This function will cause update to be downloaded twice if automatic updates are
200 | enabled.
201 |
202 | You may want to respond to the userDidCancelDownload delegate method in case
203 | the user clicks the "Cancel" button while the update is downloading.
204 | */
205 | - (void)installUpdatesIfAvailable;
206 |
207 | /*!
208 | Returns the date of last update check.
209 |
210 | \returns \c nil if no check has been performed.
211 | */
212 | @property (readonly, copy) NSDate *lastUpdateCheckDate;
213 |
214 | /*!
215 | Appropriately schedules or cancels the update checking timer according to
216 | the preferences for time interval and automatic checks.
217 |
218 | This call does not change the date of the next check,
219 | but only the internal NSTimer.
220 | */
221 | - (void)resetUpdateCycle;
222 |
223 | /*!
224 | A property indicating whether or not an update is in progress.
225 |
226 | Note this property is not indicative of whether or not user initiated updates can be performed.
227 | Use SUUpdater::validateMenuItem: for that instead.
228 | */
229 | @property (readonly) BOOL updateInProgress;
230 |
231 | @end
232 |
233 | #endif
234 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/SUModelTranslation.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | ADP2,1
6 | Developer Transition Kit
7 | iMac1,1
8 | iMac G3 (Rev A-D)
9 | iMac4,1
10 | iMac (Core Duo)
11 | iMac4,2
12 | iMac for Education (17 inch, Core Duo)
13 | iMac5,1
14 | iMac (Core 2 Duo, 17 or 20 inch, SuperDrive)
15 | iMac5,2
16 | iMac (Core 2 Duo, 17 inch, Combo Drive)
17 | iMac6,1
18 | iMac (Core 2 Duo, 24 inch, SuperDrive)
19 | iMac7,1
20 | iMac Intel Core 2 Duo (aluminum enclosure)
21 | iMac8,1
22 | iMac (Core 2 Duo, 20 or 24 inch, Early 2008 )
23 | iMac9,1
24 | iMac (Core 2 Duo, 20 or 24 inch, Early or Mid 2009 )
25 | iMac10,1
26 | iMac (Core 2 Duo, 21.5 or 27 inch, Late 2009 )
27 | iMac11,1
28 | iMac (Core i5 or i7, 27 inch Late 2009)
29 | iMac11,2
30 | 21.5" iMac (mid 2010)
31 | iMac11,3
32 | iMac (Core i5 or i7, 27 inch Mid 2010)
33 | iMac12,1
34 | iMac (Core i3 or i5 or i7, 21.5 inch Mid 2010 or Late 2011)
35 | iMac12,2
36 | iMac (Core i5 or i7, 27 inch Mid 2011)
37 | iMac13,1
38 | iMac (Core i3 or i5 or i7, 21.5 inch Late 2012 or Early 2013)
39 | iMac13,2
40 | iMac (Core i5 or i7, 27 inch Late 2012)
41 | iMac14,1
42 | iMac (Core i5, 21.5 inch Late 2013)
43 | iMac14,2
44 | iMac (Core i5 or i7, 27 inch Late 2013)
45 | iMac14,3
46 | iMac (Core i5 or i7, 21.5 inch Late 2013)
47 | iMac14,4
48 | iMac (Core i5, 21.5 inch Mid 2014)
49 | iMac15,1
50 | iMac (Retina 5K Core i5 or i7, 27 inch Late 2014 or Mid 2015)
51 | iMac16,1
52 | iMac (Core i5, 21,5 inch Late 2015)
53 | iMac16,2
54 | iMac (Retina 4K Core i5 or i7, 21.5 inch Late 2015)
55 | iMac17,1
56 | iMac (Retina 5K Core i5 or i7, 27 inch Late 2015)
57 | MacBook1,1
58 | MacBook (Core Duo)
59 | MacBook2,1
60 | MacBook (Core 2 Duo)
61 | MacBook4,1
62 | MacBook (Core 2 Duo Feb 2008)
63 | MacBook5,1
64 | MacBook (Core 2 Duo, Late 2008, Unibody)
65 | MacBook5,2
66 | MacBook (Core 2 Duo, Early 2009, White)
67 | MacBook6,1
68 | MacBook (Core 2 Duo, Late 2009, Unibody)
69 | MacBook7,1
70 | MacBook (Core 2 Duo, Mid 2010, White)
71 | MacBook8,1
72 | MacBook (Core M, 12 inch, Early 2015)
73 | MacBookAir1,1
74 | MacBook Air (Core 2 Duo, 13 inch, Early 2008)
75 | MacBookAir2,1
76 | MacBook Air (Core 2 Duo, 13 inch, Mid 2009)
77 | MacBookAir3,1
78 | MacBook Air (Core 2 Duo, 11 inch, Late 2010)
79 | MacBookAir3,2
80 | MacBook Air (Core 2 Duo, 13 inch, Late 2010)
81 | MacBookAir4,1
82 | MacBook Air (Core i5 or i7, 11 inch, Mid 2011)
83 | MacBookAir4,2
84 | MacBook Air (Core i5 or i7, 13 inch, Mid 2011)
85 | MacBookAir5,1
86 | MacBook Air (Core i5 or i7, 11 inch, Mid 2012)
87 | MacBookAir5,2
88 | MacBook Air (Core i5 or i7, 13 inch, Mid 2012)
89 | MacBookAir6,1
90 | MacBook Air (Core i5 or i7, 11 inch, Mid 2013 or Early 2014)
91 | MacBookAir6,2
92 | MacBook Air (Core i5 or i7, 13 inch, Mid 2013 or Early 2014)
93 | MacBookAir7,1
94 | MacBook Air (Core i5 or i7, 11 inch, Early 2015)
95 | MacBookAir7,2
96 | MacBook Air (Core i5 or i7, 13 inch, Early 2015)
97 | MacBookPro1,1
98 | MacBook Pro Core Duo (15-inch)
99 | MacBookPro1,2
100 | MacBook Pro Core Duo (17-inch)
101 | MacBookPro2,1
102 | MacBook Pro Core 2 Duo (17-inch)
103 | MacBookPro2,2
104 | MacBook Pro Core 2 Duo (15-inch)
105 | MacBookPro3,1
106 | MacBook Pro Core 2 Duo (15-inch LED, Core 2 Duo)
107 | MacBookPro3,2
108 | MacBook Pro Core 2 Duo (17-inch HD, Core 2 Duo)
109 | MacBookPro4,1
110 | MacBook Pro (Core 2 Duo Feb 2008)
111 | MacBookPro5,1
112 | MacBook Pro Intel Core 2 Duo (aluminum unibody)
113 | MacBookPro5,2
114 | MacBook Pro Intel Core 2 Duo (aluminum unibody)
115 | MacBookPro5,3
116 | MacBook Pro Intel Core 2 Duo (aluminum unibody)
117 | MacBookPro5,4
118 | MacBook Pro Intel Core 2 Duo (aluminum unibody)
119 | MacBookPro5,5
120 | MacBook Pro Intel Core 2 Duo (aluminum unibody)
121 | MacBookPro6,1
122 | MacBook Pro Intel Core i5, Intel Core i7 (mid 2010)
123 | MacBookPro6,2
124 | MacBook Pro Intel Core i5, Intel Core i7 (mid 2010)
125 | MacBookPro7,1
126 | MacBook Pro Intel Core 2 Duo (mid 2010)
127 | MacBookPro8,1
128 | MacBook Pro Intel Core i5, Intel Core i7, 13" (early 2011)
129 | MacBookPro8,2
130 | MacBook Pro Intel Core i7, 15" (early 2011)
131 | MacBookPro8,3
132 | MacBook Pro Intel Core i7, 17" (early 2011)
133 | MacBookPro9,1
134 | MacBook Pro (15-inch, Mid 2012)
135 | MacBookPro9,2
136 | MacBook Pro (13-inch, Mid 2012)
137 | MacBookPro10,1
138 | MacBook Pro (Retina, Mid 2012)
139 | MacBookPro10,2
140 | MacBook Pro (Retina, 13-inch, Late 2012)
141 | MacBookPro11,1
142 | MacBook Pro (Retina, 13-inch, Late 2013)
143 | MacBookPro11,2
144 | MacBook Pro (Retina, 15-inch, Late 2013)
145 | MacBookPro11,3
146 | MacBook Pro (Retina, 15-inch, Late 2013)
147 | MacbookPro11,4
148 | MacBook Pro (Retina, 15-inch, Mid 2015)
149 | MacbookPro11,5
150 | MacBook Pro (Retina, 15-inch, Mid 2015)
151 | MacbookPro12,1
152 | MacBook Pro (Retina, 13-inch, Early 2015)
153 | Macmini1,1
154 | Mac Mini (Core Solo/Duo)
155 | Macmini2,1
156 | Mac mini Intel Core
157 | Macmini3,1
158 | Mac mini Intel Core
159 | Macmini4,1
160 | Mac mini Intel Core (Mid 2010)
161 | Macmini5,1
162 | Mac mini (Core i5, Mid 2011)
163 | Macmini5,2
164 | Mac mini (Core i5 or Core i7, Mid 2011)
165 | Macmini5,3
166 | Mac mini (Core i7, Server, Mid 2011)
167 | Macmini6,1
168 | Mac mini (Core i5, Late 2012)
169 | Macmini6,2
170 | Mac mini (Core i7, Normal or Server, Late 2012)
171 | Macmini7,1
172 | Mac mini (Core i5 or Core i7, Late 2014)
173 | MacPro1,1,Quad
174 | Mac Pro
175 | MacPro1,1
176 | Mac Pro (four-core)
177 | MacPro2,1
178 | Mac Pro (eight-core)
179 | MacPro3,1
180 | Mac Pro (January 2008 4- or 8- core "Harpertown")
181 | MacPro4,1
182 | Mac Pro (March 2009)
183 | MacPro5,1
184 | Mac Pro (2010 or 2012)
185 | MacPro6,1
186 | Mac Pro (Late 2013)
187 | PowerBook1,1
188 | PowerBook G3
189 | PowerBook2,1
190 | iBook G3
191 | PowerBook2,2
192 | iBook G3 (FireWire)
193 | PowerBook2,3
194 | iBook G3
195 | PowerBook2,4
196 | iBook G3
197 | PowerBook3,1
198 | PowerBook G3 (FireWire)
199 | PowerBook3,2
200 | PowerBook G4
201 | PowerBook3,3
202 | PowerBook G4 (Gigabit Ethernet)
203 | PowerBook3,4
204 | PowerBook G4 (DVI)
205 | PowerBook3,5
206 | PowerBook G4 (1GHz / 867MHz)
207 | PowerBook4,1
208 | iBook G3 (Dual USB, Late 2001)
209 | PowerBook4,2
210 | iBook G3 (16MB VRAM)
211 | PowerBook4,3
212 | iBook G3 Opaque 16MB VRAM, 32MB VRAM, Early 2003)
213 | PowerBook5,1
214 | PowerBook G4 (17 inch)
215 | PowerBook5,2
216 | PowerBook G4 (15 inch FW 800)
217 | PowerBook5,3
218 | PowerBook G4 (17-inch 1.33GHz)
219 | PowerBook5,4
220 | PowerBook G4 (15 inch 1.5/1.33GHz)
221 | PowerBook5,5
222 | PowerBook G4 (17-inch 1.5GHz)
223 | PowerBook5,6
224 | PowerBook G4 (15 inch 1.67GHz/1.5GHz)
225 | PowerBook5,7
226 | PowerBook G4 (17-inch 1.67GHz)
227 | PowerBook5,8
228 | PowerBook G4 (Double layer SD, 15 inch)
229 | PowerBook5,9
230 | PowerBook G4 (Double layer SD, 17 inch)
231 | PowerBook6,1
232 | PowerBook G4 (12 inch)
233 | PowerBook6,2
234 | PowerBook G4 (12 inch, DVI)
235 | PowerBook6,3
236 | iBook G4
237 | PowerBook6,4
238 | PowerBook G4 (12 inch 1.33GHz)
239 | PowerBook6,5
240 | iBook G4 (Early-Late 2004)
241 | PowerBook6,7
242 | iBook G4 (Mid 2005)
243 | PowerBook6,8
244 | PowerBook G4 (12 inch 1.5GHz)
245 | PowerMac1,1
246 | Power Macintosh G3 (Blue & White)
247 | PowerMac1,2
248 | Power Macintosh G4 (PCI Graphics)
249 | PowerMac2,1
250 | iMac G3 (Slot-loading CD-ROM)
251 | PowerMac2,2
252 | iMac G3 (Summer 2000)
253 | PowerMac3,1
254 | Power Macintosh G4 (AGP Graphics)
255 | PowerMac3,2
256 | Power Macintosh G4 (AGP Graphics)
257 | PowerMac3,3
258 | Power Macintosh G4 (Gigabit Ethernet)
259 | PowerMac3,4
260 | Power Macintosh G4 (Digital Audio)
261 | PowerMac3,5
262 | Power Macintosh G4 (Quick Silver)
263 | PowerMac3,6
264 | Power Macintosh G4 (Mirrored Drive Door)
265 | PowerMac4,1
266 | iMac G3 (Early/Summer 2001)
267 | PowerMac4,2
268 | iMac G4 (Flat Panel)
269 | PowerMac4,4
270 | eMac
271 | PowerMac4,5
272 | iMac G4 (17-inch Flat Panel)
273 | PowerMac5,1
274 | Power Macintosh G4 Cube
275 | PowerMac5,2
276 | Power Mac G4 Cube
277 | PowerMac6,1
278 | iMac G4 (USB 2.0)
279 | PowerMac6,3
280 | iMac G4 (20-inch Flat Panel)
281 | PowerMac6,4
282 | eMac (USB 2.0, 2005)
283 | PowerMac7,2
284 | Power Macintosh G5
285 | PowerMac7,3
286 | Power Macintosh G5
287 | PowerMac8,1
288 | iMac G5
289 | PowerMac8,2
290 | iMac G5 (Ambient Light Sensor)
291 | PowerMac9,1
292 | Power Macintosh G5 (Late 2005)
293 | PowerMac10,1
294 | Mac Mini G4
295 | PowerMac10,2
296 | Mac Mini (Late 2005)
297 | PowerMac11,2
298 | Power Macintosh G5 (Late 2005)
299 | PowerMac12,1
300 | iMac G5 (iSight)
301 | RackMac1,1
302 | Xserve G4
303 | RackMac1,2
304 | Xserve G4 (slot-loading, cluster node)
305 | RackMac3,1
306 | Xserve G5
307 | Xserve1,1
308 | Xserve (Intel Xeon)
309 | Xserve2,1
310 | Xserve (January 2008 quad-core)
311 | Xserve3,1
312 | Xserve (early 2009)
313 |
314 |
315 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Headers/SUUpdaterDelegate.h:
--------------------------------------------------------------------------------
1 | //
2 | // SUUpdaterDelegate.h
3 | // Sparkle
4 | //
5 | // Created by Mayur Pawashe on 12/25/16.
6 | // Copyright © 2016 Sparkle Project. All rights reserved.
7 | //
8 |
9 | #if __has_feature(modules)
10 | @import Foundation;
11 | #else
12 | #import
13 | #endif
14 |
15 | #import "SUExport.h"
16 |
17 | @protocol SUVersionComparison, SUVersionDisplay;
18 | @class SUUpdater, SUAppcast, SUAppcastItem;
19 |
20 | NS_ASSUME_NONNULL_BEGIN
21 |
22 | // -----------------------------------------------------------------------------
23 | // SUUpdater Notifications for events that might be interesting to more than just the delegate
24 | // The updater will be the notification object
25 | // -----------------------------------------------------------------------------
26 | SU_EXPORT extern NSString *const SUUpdaterDidFinishLoadingAppCastNotification;
27 | SU_EXPORT extern NSString *const SUUpdaterDidFindValidUpdateNotification;
28 | SU_EXPORT extern NSString *const SUUpdaterDidNotFindUpdateNotification;
29 | SU_EXPORT extern NSString *const SUUpdaterWillRestartNotification;
30 | #define SUUpdaterWillRelaunchApplicationNotification SUUpdaterWillRestartNotification;
31 | #define SUUpdaterWillInstallUpdateNotification SUUpdaterWillRestartNotification;
32 |
33 | // Key for the SUAppcastItem object in the SUUpdaterDidFindValidUpdateNotification userInfo
34 | SU_EXPORT extern NSString *const SUUpdaterAppcastItemNotificationKey;
35 | // Key for the SUAppcast object in the SUUpdaterDidFinishLoadingAppCastNotification userInfo
36 | SU_EXPORT extern NSString *const SUUpdaterAppcastNotificationKey;
37 |
38 | // -----------------------------------------------------------------------------
39 | // SUUpdater Delegate:
40 | // -----------------------------------------------------------------------------
41 |
42 | /*!
43 | Provides methods to control the behavior of an SUUpdater object.
44 | */
45 | @protocol SUUpdaterDelegate
46 | @optional
47 |
48 | /*!
49 | Returns whether to allow Sparkle to pop up.
50 |
51 | For example, this may be used to prevent Sparkle from interrupting a setup assistant.
52 |
53 | \param updater The SUUpdater instance.
54 | */
55 | - (BOOL)updaterMayCheckForUpdates:(SUUpdater *)updater;
56 |
57 | /*!
58 | Returns additional parameters to append to the appcast URL's query string.
59 |
60 | This is potentially based on whether or not Sparkle will also be sending along the system profile.
61 |
62 | \param updater The SUUpdater instance.
63 | \param sendingProfile Whether the system profile will also be sent.
64 |
65 | \return An array of dictionaries with keys: "key", "value", "displayKey", "displayValue", the latter two being specifically for display to the user.
66 | */
67 | - (NSArray *> *)feedParametersForUpdater:(SUUpdater *)updater sendingSystemProfile:(BOOL)sendingProfile;
68 |
69 | /*!
70 | Returns a custom appcast URL.
71 |
72 | Override this to dynamically specify the entire URL.
73 |
74 | An alternative may be to use SUUpdaterDelegate::feedParametersForUpdater:sendingSystemProfile:
75 | and let the server handle what kind of feed to provide.
76 |
77 | \param updater The SUUpdater instance.
78 | */
79 | - (nullable NSString *)feedURLStringForUpdater:(SUUpdater *)updater;
80 |
81 | /*!
82 | Returns whether Sparkle should prompt the user about automatic update checks.
83 |
84 | Use this to override the default behavior.
85 |
86 | \param updater The SUUpdater instance.
87 | */
88 | - (BOOL)updaterShouldPromptForPermissionToCheckForUpdates:(SUUpdater *)updater;
89 |
90 | /*!
91 | Called after Sparkle has downloaded the appcast from the remote server.
92 |
93 | Implement this if you want to do some special handling with the appcast once it finishes loading.
94 |
95 | \param updater The SUUpdater instance.
96 | \param appcast The appcast that was downloaded from the remote server.
97 | */
98 | - (void)updater:(SUUpdater *)updater didFinishLoadingAppcast:(SUAppcast *)appcast;
99 |
100 | /*!
101 | Returns the item in the appcast corresponding to the update that should be installed.
102 |
103 | If you're using special logic or extensions in your appcast,
104 | implement this to use your own logic for finding a valid update, if any,
105 | in the given appcast.
106 |
107 | \param appcast The appcast that was downloaded from the remote server.
108 | \param updater The SUUpdater instance.
109 | */
110 | - (nullable SUAppcastItem *)bestValidUpdateInAppcast:(SUAppcast *)appcast forUpdater:(SUUpdater *)updater;
111 |
112 | /*!
113 | Called when a valid update is found by the update driver.
114 |
115 | \param updater The SUUpdater instance.
116 | \param item The appcast item corresponding to the update that is proposed to be installed.
117 | */
118 | - (void)updater:(SUUpdater *)updater didFindValidUpdate:(SUAppcastItem *)item;
119 |
120 | /*!
121 | Called just before the scheduled update driver prompts the user to install an update.
122 |
123 | \param updater The SUUpdater instance.
124 |
125 | \return YES to allow the update prompt to be shown (the default behavior), or NO to suppress it.
126 | */
127 | - (BOOL)updaterShouldShowUpdateAlertForScheduledUpdate:(SUUpdater *)updater forItem:(SUAppcastItem *)item;
128 |
129 | /*!
130 | Called after the user dismisses the update alert.
131 |
132 | \param updater The SUUpdater instance.
133 | \param permanently YES if the alert will not appear again for this update; NO if it may reappear.
134 | */
135 | - (void)updater:(SUUpdater *)updater didDismissUpdateAlertPermanently:(BOOL)permanently forItem:(SUAppcastItem *)item;
136 |
137 | /*!
138 | Called when a valid update is not found.
139 |
140 | \param updater The SUUpdater instance.
141 | */
142 | - (void)updaterDidNotFindUpdate:(SUUpdater *)updater;
143 |
144 | /*!
145 | Called when the user clicks the Skip This Version button.
146 |
147 | \param updater The SUUpdater instance.
148 | */
149 | - (void)updater:(SUUpdater *)updater userDidSkipThisVersion:(SUAppcastItem *)item;
150 |
151 | /*!
152 | Called immediately before downloading the specified update.
153 |
154 | \param updater The SUUpdater instance.
155 | \param item The appcast item corresponding to the update that is proposed to be downloaded.
156 | \param request The mutable URL request that will be used to download the update.
157 | */
158 | - (void)updater:(SUUpdater *)updater willDownloadUpdate:(SUAppcastItem *)item withRequest:(NSMutableURLRequest *)request;
159 |
160 | /*!
161 | Called immediately after succesfull download of the specified update.
162 |
163 | \param updater The SUUpdater instance.
164 | \param item The appcast item corresponding to the update that has been downloaded.
165 | */
166 | - (void)updater:(SUUpdater *)updater didDownloadUpdate:(SUAppcastItem *)item;
167 |
168 | /*!
169 | Called after the specified update failed to download.
170 |
171 | \param updater The SUUpdater instance.
172 | \param item The appcast item corresponding to the update that failed to download.
173 | \param error The error generated by the failed download.
174 | */
175 | - (void)updater:(SUUpdater *)updater failedToDownloadUpdate:(SUAppcastItem *)item error:(NSError *)error;
176 |
177 | /*!
178 | Called when the user clicks the cancel button while and update is being downloaded.
179 |
180 | \param updater The SUUpdater instance.
181 | */
182 | - (void)userDidCancelDownload:(SUUpdater *)updater;
183 |
184 | /*!
185 | Called immediately before extracting the specified downloaded update.
186 |
187 | \param updater The SUUpdater instance.
188 | \param item The appcast item corresponding to the update that is proposed to be extracted.
189 | */
190 | - (void)updater:(SUUpdater *)updater willExtractUpdate:(SUAppcastItem *)item;
191 |
192 | /*!
193 | Called immediately after extracting the specified downloaded update.
194 |
195 | \param updater The SUUpdater instance.
196 | \param item The appcast item corresponding to the update that has been extracted.
197 | */
198 | - (void)updater:(SUUpdater *)updater didExtractUpdate:(SUAppcastItem *)item;
199 |
200 | /*!
201 | Called immediately before installing the specified update.
202 |
203 | \param updater The SUUpdater instance.
204 | \param item The appcast item corresponding to the update that is proposed to be installed.
205 | */
206 | - (void)updater:(SUUpdater *)updater willInstallUpdate:(SUAppcastItem *)item;
207 |
208 | /*!
209 | Returns whether the relaunch should be delayed in order to perform other tasks.
210 |
211 | This is not called if the user didn't relaunch on the previous update,
212 | in that case it will immediately restart.
213 |
214 | \param updater The SUUpdater instance.
215 | \param item The appcast item corresponding to the update that is proposed to be installed.
216 | \param invocation The invocation that must be completed with `[invocation invoke]` before continuing with the relaunch.
217 |
218 | \return \c YES to delay the relaunch until \p invocation is invoked.
219 | */
220 | - (BOOL)updater:(SUUpdater *)updater shouldPostponeRelaunchForUpdate:(SUAppcastItem *)item untilInvoking:(NSInvocation *)invocation;
221 |
222 | /*!
223 | Returns whether the relaunch should be delayed in order to perform other tasks.
224 |
225 | This is not called if the user didn't relaunch on the previous update,
226 | in that case it will immediately restart.
227 |
228 | This method acts as a simpler alternative to SUUpdaterDelegate::updater:shouldPostponeRelaunchForUpdate:untilInvoking: avoiding usage of NSInvocation, which is not available in Swift environments.
229 |
230 | \param updater The SUUpdater instance.
231 | \param item The appcast item corresponding to the update that is proposed to be installed.
232 |
233 | \return \c YES to delay the relaunch.
234 | */
235 | - (BOOL)updater:(SUUpdater *)updater shouldPostponeRelaunchForUpdate:(SUAppcastItem *)item;
236 |
237 | /*!
238 | Returns whether the application should be relaunched at all.
239 |
240 | Some apps \b cannot be relaunched under certain circumstances.
241 | This method can be used to explicitly prevent a relaunch.
242 |
243 | \param updater The SUUpdater instance.
244 | */
245 | - (BOOL)updaterShouldRelaunchApplication:(SUUpdater *)updater;
246 |
247 | /*!
248 | Called immediately before relaunching.
249 |
250 | \param updater The SUUpdater instance.
251 | */
252 | - (void)updaterWillRelaunchApplication:(SUUpdater *)updater;
253 |
254 | /*!
255 | Called immediately after relaunching. SUUpdater delegate must be set before applicationDidFinishLaunching: to catch this event.
256 |
257 | \param updater The SUUpdater instance.
258 | */
259 | - (void)updaterDidRelaunchApplication:(SUUpdater *)updater;
260 |
261 | /*!
262 | Returns an object that compares version numbers to determine their arithmetic relation to each other.
263 |
264 | This method allows you to provide a custom version comparator.
265 | If you don't implement this method or return \c nil,
266 | the standard version comparator will be used.
267 |
268 | \sa SUStandardVersionComparator
269 |
270 | \param updater The SUUpdater instance.
271 | */
272 | - (nullable id)versionComparatorForUpdater:(SUUpdater *)updater;
273 |
274 | /*!
275 | Returns an object that formats version numbers for display to the user.
276 |
277 | If you don't implement this method or return \c nil,
278 | the standard version formatter will be used.
279 |
280 | \sa SUUpdateAlert
281 |
282 | \param updater The SUUpdater instance.
283 | */
284 | - (nullable id)versionDisplayerForUpdater:(SUUpdater *)updater;
285 |
286 | /*!
287 | Returns the path which is used to relaunch the client after the update is installed.
288 |
289 | The default is the path of the host bundle.
290 |
291 | \param updater The SUUpdater instance.
292 | */
293 | - (nullable NSString *)pathToRelaunchForUpdater:(SUUpdater *)updater;
294 |
295 | /*!
296 | Called before an updater shows a modal alert window,
297 | to give the host the opportunity to hide attached windows that may get in the way.
298 |
299 | \param updater The SUUpdater instance.
300 | */
301 | - (void)updaterWillShowModalAlert:(SUUpdater *)updater;
302 |
303 | /*!
304 | Called after an updater shows a modal alert window,
305 | to give the host the opportunity to hide attached windows that may get in the way.
306 |
307 | \param updater The SUUpdater instance.
308 | */
309 | - (void)updaterDidShowModalAlert:(SUUpdater *)updater;
310 |
311 | /*!
312 | Called when an update is scheduled to be silently installed on quit.
313 | This is after an update has been automatically downloaded in the background.
314 | (i.e. SUUpdater::automaticallyDownloadsUpdates is YES)
315 |
316 | \param updater The SUUpdater instance.
317 | \param item The appcast item corresponding to the update that is proposed to be installed.
318 | \param invocation Can be used to trigger an immediate silent install and relaunch.
319 | */
320 | - (void)updater:(SUUpdater *)updater willInstallUpdateOnQuit:(SUAppcastItem *)item immediateInstallationInvocation:(NSInvocation *)invocation;
321 |
322 | /*!
323 | Called when an update is scheduled to be silently installed on quit.
324 | This is after an update has been automatically downloaded in the background.
325 | (i.e. SUUpdater::automaticallyDownloadsUpdates is YES)
326 | This method acts as a more modern alternative to SUUpdaterDelegate::updater:willInstallUpdateOnQuit:immediateInstallationInvocation: using a block instead of NSInvocation, which is not available in Swift environments.
327 |
328 | \param updater The SUUpdater instance.
329 | \param item The appcast item corresponding to the update that is proposed to be installed.
330 | \param installationBlock Can be used to trigger an immediate silent install and relaunch.
331 | */
332 | - (void)updater:(SUUpdater *)updater willInstallUpdateOnQuit:(SUAppcastItem *)item immediateInstallationBlock:(void (^)(void))installationBlock;
333 |
334 | /*!
335 | Calls after an update that was scheduled to be silently installed on quit has been canceled.
336 |
337 | \param updater The SUUpdater instance.
338 | \param item The appcast item corresponding to the update that was proposed to be installed.
339 | */
340 | - (void)updater:(SUUpdater *)updater didCancelInstallUpdateOnQuit:(SUAppcastItem *)item;
341 |
342 | /*!
343 | Called after an update is aborted due to an error.
344 |
345 | \param updater The SUUpdater instance.
346 | \param error The error that caused the abort
347 | */
348 | - (void)updater:(SUUpdater *)updater didAbortWithError:(NSError *)error;
349 |
350 | @end
351 |
352 | NS_ASSUME_NONNULL_END
353 |
--------------------------------------------------------------------------------
/Vendor/Sparkle.framework/Versions/A/Resources/Autoupdate.app/Contents/_CodeSignature/CodeResources:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | files
6 |
7 | Resources/AppIcon.icns
8 |
9 | 4McwRDEss5BzWwUMG2Xf93+ze08=
10 |
11 | Resources/SUStatus.nib
12 |
13 | SQXrLQWnOUECCAE/1XaZ6rWQHA8=
14 |
15 | Resources/ar.lproj/Sparkle.strings
16 |
17 | hash
18 |
19 | Rf4jjdgTqvfw5JO/6f9jHMURv/U=
20 |
21 | optional
22 |
23 |
24 | Resources/ca.lproj/Sparkle.strings
25 |
26 | hash
27 |
28 | wGGx+QzPg/20zZTq7jwCTgf/Ubc=
29 |
30 | optional
31 |
32 |
33 | Resources/cs.lproj/Sparkle.strings
34 |
35 | hash
36 |
37 | OjCfTDR+NbVLvirUPiJKJF6UiS0=
38 |
39 | optional
40 |
41 |
42 | Resources/da.lproj/Sparkle.strings
43 |
44 | hash
45 |
46 | 0t7SuLDMBZVsY240PAEsVfH/1qw=
47 |
48 | optional
49 |
50 |
51 | Resources/de.lproj/Sparkle.strings
52 |
53 | hash
54 |
55 | fsC7FJvExHE/2681tuUrjkSF2+A=
56 |
57 | optional
58 |
59 |
60 | Resources/el.lproj/Sparkle.strings
61 |
62 | hash
63 |
64 | NbIN+TRHORCL5Gfj68VRq4KdPXo=
65 |
66 | optional
67 |
68 |
69 | Resources/en.lproj/Sparkle.strings
70 |
71 | hash
72 |
73 | i3TNbMzmKR52wTyfnD/bkZ12elE=
74 |
75 | optional
76 |
77 |
78 | Resources/es.lproj/Sparkle.strings
79 |
80 | hash
81 |
82 | QPG88BN+x/l2Qk1NLLe3wRa26mQ=
83 |
84 | optional
85 |
86 |
87 | Resources/fi.lproj/Sparkle.strings
88 |
89 | hash
90 |
91 | yd6pIoSj19HMDIUos4Td1Fch7bs=
92 |
93 | optional
94 |
95 |
96 | Resources/fr.lproj/Sparkle.strings
97 |
98 | hash
99 |
100 | X3URilwJPVqMTGbtrYdorODwrMA=
101 |
102 | optional
103 |
104 |
105 | Resources/he.lproj/Sparkle.strings
106 |
107 | hash
108 |
109 | U2WmlYGYmeeIlSW66R8awwmNXIE=
110 |
111 | optional
112 |
113 |
114 | Resources/hr.lproj/Sparkle.strings
115 |
116 | hash
117 |
118 | vyI2nHyZlhhSXXrQGoflg8oB9Ig=
119 |
120 | optional
121 |
122 |
123 | Resources/hu.lproj/Sparkle.strings
124 |
125 | hash
126 |
127 | bNEmsO2LyUsMjTESH1I42V9sAOo=
128 |
129 | optional
130 |
131 |
132 | Resources/is.lproj/Sparkle.strings
133 |
134 | hash
135 |
136 | 8fxzD9ZhrvIZVZB1+QSJaPzg80M=
137 |
138 | optional
139 |
140 |
141 | Resources/it.lproj/Sparkle.strings
142 |
143 | hash
144 |
145 | bk1J6vpZjWeUFhBYWuWZf8TDv1A=
146 |
147 | optional
148 |
149 |
150 | Resources/ja.lproj/Sparkle.strings
151 |
152 | hash
153 |
154 | f4EbR/GfMsKeWJ5DN/vhwg/lUoE=
155 |
156 | optional
157 |
158 |
159 | Resources/ko.lproj/Sparkle.strings
160 |
161 | hash
162 |
163 | FRHRQPCWEk9GdJawYTuccg+E2tA=
164 |
165 | optional
166 |
167 |
168 | Resources/nb.lproj/Sparkle.strings
169 |
170 | hash
171 |
172 | sgrDElwUxXtzdw8WaUFWyK3pG9Y=
173 |
174 | optional
175 |
176 |
177 | Resources/nl.lproj/Sparkle.strings
178 |
179 | hash
180 |
181 | PWbC08zHFLROqivY2MAklDh6gkA=
182 |
183 | optional
184 |
185 |
186 | Resources/pl.lproj/Sparkle.strings
187 |
188 | hash
189 |
190 | o7deBXE2Ct8/vQxouej5KkwTcUA=
191 |
192 | optional
193 |
194 |
195 | Resources/pt_BR.lproj/Sparkle.strings
196 |
197 | hash
198 |
199 | /adUv04OXQkCFv+Oed6qktFVQ3E=
200 |
201 | optional
202 |
203 |
204 | Resources/pt_PT.lproj/Sparkle.strings
205 |
206 | hash
207 |
208 | Mji9loJOJvuDY9hz3FhQ4H+HY5E=
209 |
210 | optional
211 |
212 |
213 | Resources/ro.lproj/Sparkle.strings
214 |
215 | hash
216 |
217 | 9U+OTz29kXKZHY/nmvbtemMsB3g=
218 |
219 | optional
220 |
221 |
222 | Resources/ru.lproj/Sparkle.strings
223 |
224 | hash
225 |
226 | VpSLGNvZ6sbRYsF23L8m6TG+P6E=
227 |
228 | optional
229 |
230 |
231 | Resources/sk.lproj/Sparkle.strings
232 |
233 | hash
234 |
235 | qn/mo2EFOyw6keezS64Wo5ZGZXU=
236 |
237 | optional
238 |
239 |
240 | Resources/sl.lproj/Sparkle.strings
241 |
242 | hash
243 |
244 | kwvdisufBenuQzrVg8tYKTX+qgg=
245 |
246 | optional
247 |
248 |
249 | Resources/sv.lproj/Sparkle.strings
250 |
251 | hash
252 |
253 | 98/sk+A2Ew1fmKpuKZ3rq8eS1EM=
254 |
255 | optional
256 |
257 |
258 | Resources/th.lproj/Sparkle.strings
259 |
260 | hash
261 |
262 | HQwGW1Ebf0i+Bl4synks3x2SY2M=
263 |
264 | optional
265 |
266 |
267 | Resources/tr.lproj/Sparkle.strings
268 |
269 | hash
270 |
271 | whUQco5F2wcYdjc+cPKlk+mtx7Q=
272 |
273 | optional
274 |
275 |
276 | Resources/uk.lproj/Sparkle.strings
277 |
278 | hash
279 |
280 | JXhpqvLkX0yDWjbWgsk2wbSObKU=
281 |
282 | optional
283 |
284 |
285 | Resources/zh_CN.lproj/Sparkle.strings
286 |
287 | hash
288 |
289 | 0vdFowZuJ1qLE3rDgG3BZ9SlNRw=
290 |
291 | optional
292 |
293 |
294 | Resources/zh_TW.lproj/Sparkle.strings
295 |
296 | hash
297 |
298 | 1FLKoM5jZ8JGBG/nmyEIA+/aalA=
299 |
300 | optional
301 |
302 |
303 |
304 | files2
305 |
306 | MacOS/fileop
307 |
308 | cdhash
309 |
310 | BQMGXpdmZNvwPG1EAdoSu2wWuwY=
311 |
312 | requirement
313 | identifier fileop and anchor apple generic and certificate leaf[subject.CN] = "Apple Development: Guilherme Rambo (6XE654FHAW)" and certificate 1[field.1.2.840.113635.100.6.2.1] /* exists */
314 |
315 | Resources/AppIcon.icns
316 |
317 | hash2
318 |
319 | nq7j0ugQwyNbJn/7zGFwxIR0njwU3i7hAYKEyZhvUfE=
320 |
321 |
322 | Resources/SUStatus.nib
323 |
324 | hash2
325 |
326 | jHFrj2N4s1f20vKK/2HQ5vwSkGem9qhnW4xPyy+J2LY=
327 |
328 |
329 | Resources/ar.lproj/Sparkle.strings
330 |
331 | hash2
332 |
333 | 2cAJJ5NTxwpRgp24Ca3EuTXfaIIzsYdH3Y9cNCalZfc=
334 |
335 | optional
336 |
337 |
338 | Resources/ca.lproj/Sparkle.strings
339 |
340 | hash2
341 |
342 | om5I6jKleuRoCwjfrRRqKWQbs2l8lLj8QGKS47cxybA=
343 |
344 | optional
345 |
346 |
347 | Resources/cs.lproj/Sparkle.strings
348 |
349 | hash2
350 |
351 | 06z1nY8VfM4M1SdHCc1jqewmP5Ue0g3mPDcNbeDVNIM=
352 |
353 | optional
354 |
355 |
356 | Resources/da.lproj/Sparkle.strings
357 |
358 | hash2
359 |
360 | wu0CpGqE79+TXKIQm+q7ycPTuXhOlwRr/wD5uGHJzLM=
361 |
362 | optional
363 |
364 |
365 | Resources/de.lproj/Sparkle.strings
366 |
367 | hash2
368 |
369 | XUpgsFH8KmcbgggpdYbJScCg0tBic9tNLdFh+8cbPyw=
370 |
371 | optional
372 |
373 |
374 | Resources/el.lproj/Sparkle.strings
375 |
376 | hash2
377 |
378 | wt+2xyusmWAQuJ5kAQlRlvFb1wO4L7/rFdG+VmNjl+Y=
379 |
380 | optional
381 |
382 |
383 | Resources/en.lproj/Sparkle.strings
384 |
385 | hash2
386 |
387 | Xl/5yA/K9T7cscvPi/4/lWUtjJlIvO+esCF4SRaguz4=
388 |
389 | optional
390 |
391 |
392 | Resources/es.lproj/Sparkle.strings
393 |
394 | hash2
395 |
396 | mtOoKdoTpGzeTNyzxkVGOMsE0Z3ZZOsmIKDfgA9aj8c=
397 |
398 | optional
399 |
400 |
401 | Resources/fi.lproj/Sparkle.strings
402 |
403 | hash2
404 |
405 | +AiiKWEdH3lesozLJBn3tfK6vi/VSI1/TnWVmIdVVsc=
406 |
407 | optional
408 |
409 |
410 | Resources/fr.lproj/Sparkle.strings
411 |
412 | hash2
413 |
414 | fyqJl0MhXYRILalxRHpv/JorWLOVLPtNcJioiPtlnYg=
415 |
416 | optional
417 |
418 |
419 | Resources/he.lproj/Sparkle.strings
420 |
421 | hash2
422 |
423 | 4gUlWkwTANV/jd7n4OZoXyT8CAcgWVk/tI3a25wmuLg=
424 |
425 | optional
426 |
427 |
428 | Resources/hr.lproj/Sparkle.strings
429 |
430 | hash2
431 |
432 | I1njQLVyH2bFsJecQOLDAB9N8q8niH7u+hqzxRqqerA=
433 |
434 | optional
435 |
436 |
437 | Resources/hu.lproj/Sparkle.strings
438 |
439 | hash2
440 |
441 | sRkp8c3Bx1qWdhhSNdOap1PbfmiTziINy1HxGea3SWU=
442 |
443 | optional
444 |
445 |
446 | Resources/is.lproj/Sparkle.strings
447 |
448 | hash2
449 |
450 | xcV1yh/zU3U3TsRUT6vGybvIQitf+ThrogN/uOWmD8k=
451 |
452 | optional
453 |
454 |
455 | Resources/it.lproj/Sparkle.strings
456 |
457 | hash2
458 |
459 | Y+caNW+g0mt7HP4JrBxJw+uDwN3j19UYb+q5r9ch4Ow=
460 |
461 | optional
462 |
463 |
464 | Resources/ja.lproj/Sparkle.strings
465 |
466 | hash2
467 |
468 | dSPIvpFbelHRv8liJjN3TUVPbgD1DfhVSGmE+S99quI=
469 |
470 | optional
471 |
472 |
473 | Resources/ko.lproj/Sparkle.strings
474 |
475 | hash2
476 |
477 | +bxn0NPgkxdHLa1MHRT+JRlYmy1jpIuaenpst5RT+RA=
478 |
479 | optional
480 |
481 |
482 | Resources/nb.lproj/Sparkle.strings
483 |
484 | hash2
485 |
486 | FG+w+OnLI7nwnNCWiMT50LU98VWj1d08ElfX4k7Ok4w=
487 |
488 | optional
489 |
490 |
491 | Resources/nl.lproj/Sparkle.strings
492 |
493 | hash2
494 |
495 | xnQkqxaO8zP1xpjY3nyjOd4Fe0gJon2Dbt456ukd/Gw=
496 |
497 | optional
498 |
499 |
500 | Resources/pl.lproj/Sparkle.strings
501 |
502 | hash2
503 |
504 | pDq+41jhfESgJauedrYncFY1O5EMEU3nRyl7mmyYj+s=
505 |
506 | optional
507 |
508 |
509 | Resources/pt_BR.lproj/Sparkle.strings
510 |
511 | hash2
512 |
513 | lY5EZJwPc/Rmfhw1gotkeEKB+ANXqZUlM2G92sZwdJc=
514 |
515 | optional
516 |
517 |
518 | Resources/pt_PT.lproj/Sparkle.strings
519 |
520 | hash2
521 |
522 | RUq6VJjn/QyydkNbpklLwfCgRF62+uHhXen2dYLBNuQ=
523 |
524 | optional
525 |
526 |
527 | Resources/ro.lproj/Sparkle.strings
528 |
529 | hash2
530 |
531 | NNvDsecglQ/utR6YEqxyMj5K976YRWieCIC/PZuWCtQ=
532 |
533 | optional
534 |
535 |
536 | Resources/ru.lproj/Sparkle.strings
537 |
538 | hash2
539 |
540 | wJZ5NG+mvj4anRFPUFyvSD0kGrg+ZAqklsPfHuCxLQY=
541 |
542 | optional
543 |
544 |
545 | Resources/sk.lproj/Sparkle.strings
546 |
547 | hash2
548 |
549 | e3cyzJ87ohC1ff/BzZ5O00MnwRE02U+J1KwXlSZeSSg=
550 |
551 | optional
552 |
553 |
554 | Resources/sl.lproj/Sparkle.strings
555 |
556 | hash2
557 |
558 | t8QC+9TBONwKLQvV3fKV0umsnAS8ZDpqPikVksFPtWc=
559 |
560 | optional
561 |
562 |
563 | Resources/sv.lproj/Sparkle.strings
564 |
565 | hash2
566 |
567 | mJY6aeXFnSx38bF630z5lNPmPtsoYVAwadh0KC+9vfQ=
568 |
569 | optional
570 |
571 |
572 | Resources/th.lproj/Sparkle.strings
573 |
574 | hash2
575 |
576 | nlP7repbMz6EqHo3sZWnK3tzx47WKSWnULdUHCYPgKk=
577 |
578 | optional
579 |
580 |
581 | Resources/tr.lproj/Sparkle.strings
582 |
583 | hash2
584 |
585 | xEXUfrylPld+eFGrPyj4wTRPj7vUWOZ2f94sWydq03M=
586 |
587 | optional
588 |
589 |
590 | Resources/uk.lproj/Sparkle.strings
591 |
592 | hash2
593 |
594 | u0572QZYh6sB0GQdMGMePalOf4zkxE7YQG7pp898SEg=
595 |
596 | optional
597 |
598 |
599 | Resources/zh_CN.lproj/Sparkle.strings
600 |
601 | hash2
602 |
603 | ecJXF6vvj1f80iCr+Gk52cTyumQrea6H0NpOjwbbLiE=
604 |
605 | optional
606 |
607 |
608 | Resources/zh_TW.lproj/Sparkle.strings
609 |
610 | hash2
611 |
612 | Vlf/4QD7/3S0SFqxmTWWcSwtTLWISKUSvLjpgWb7lxQ=
613 |
614 | optional
615 |
616 |
617 |
618 | rules
619 |
620 | ^Resources/
621 |
622 | ^Resources/.*\.lproj/
623 |
624 | optional
625 |
626 | weight
627 | 1000
628 |
629 | ^Resources/.*\.lproj/locversion.plist$
630 |
631 | omit
632 |
633 | weight
634 | 1100
635 |
636 | ^Resources/Base\.lproj/
637 |
638 | weight
639 | 1010
640 |
641 | ^version.plist$
642 |
643 |
644 | rules2
645 |
646 | .*\.dSYM($|/)
647 |
648 | weight
649 | 11
650 |
651 | ^(.*/)?\.DS_Store$
652 |
653 | omit
654 |
655 | weight
656 | 2000
657 |
658 | ^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/
659 |
660 | nested
661 |
662 | weight
663 | 10
664 |
665 | ^.*
666 |
667 | ^Info\.plist$
668 |
669 | omit
670 |
671 | weight
672 | 20
673 |
674 | ^PkgInfo$
675 |
676 | omit
677 |
678 | weight
679 | 20
680 |
681 | ^Resources/
682 |
683 | weight
684 | 20
685 |
686 | ^Resources/.*\.lproj/
687 |
688 | optional
689 |
690 | weight
691 | 1000
692 |
693 | ^Resources/.*\.lproj/locversion.plist$
694 |
695 | omit
696 |
697 | weight
698 | 1100
699 |
700 | ^Resources/Base\.lproj/
701 |
702 | weight
703 | 1010
704 |
705 | ^[^/]+$
706 |
707 | nested
708 |
709 | weight
710 | 10
711 |
712 | ^embedded\.provisionprofile$
713 |
714 | weight
715 | 20
716 |
717 | ^version\.plist$
718 |
719 | weight
720 | 20
721 |
722 |
723 |
724 |
725 |
--------------------------------------------------------------------------------