Compare commits

...
4 Commits
Author SHA1 Message Date
github-actions[bot] 7c38668a51 chore: bump version to 2.4.1 2026-06-01 00:56:52 +00:00
edde746 eba553413c fix(macos): allow LuaJIT under hardened runtime
close #1214
2026-06-01 02:46:37 +02:00
edde746 f8658027b8 fix(android): guard display HDR mode API
close #1215
2026-06-01 02:46:37 +02:00
github-actions[bot] 58bceb29cb chore: update cask to 2.4.0 2026-05-31 19:54:37 +00:00
5 changed files with 21 additions and 13 deletions
+5
View File
@@ -299,6 +299,11 @@ jobs:
APP_PATH="build/macos/Build/Products/Release/Plezy.app"
echo "Verifying signature..."
codesign -dvvv "$APP_PATH"
echo "Verifying signed entitlements..."
codesign -d --entitlements :- "$APP_PATH" > "$RUNNER_TEMP/macos-entitlements.plist"
/usr/libexec/PlistBuddy -c "Print" "$RUNNER_TEMP/macos-entitlements.plist"
/usr/libexec/PlistBuddy -c "Print :com.apple.security.cs.allow-jit" "$RUNNER_TEMP/macos-entitlements.plist"
/usr/libexec/PlistBuddy -c "Print :com.apple.security.cs.allow-unsigned-executable-memory" "$RUNNER_TEMP/macos-entitlements.plist"
codesign --verify --deep --strict --verbose=2 "$APP_PATH"
- name: Notarize Application
+2 -2
View File
@@ -1,6 +1,6 @@
cask "plezy" do
version "2.3.0"
sha256 "2255247656fb352e95184986ee2918bbc8e452a2adee0e27749b2e9ec77d892b"
version "2.4.0"
sha256 "dd2dbd6a131503a5c421309e6c600f61f1827e6cf3e5cdc7e7e852fae2b7249c"
url "https://github.com/edde746/plezy/releases/download/#{version}/plezy-macos.dmg"
name "Plezy"
@@ -136,15 +136,7 @@ object DoviBridge {
return false
}
val hdrTypes = runCatching {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
display.mode.supportedHdrTypes
} else {
@Suppress("DEPRECATION")
val legacyHdrTypes = display.hdrCapabilities.supportedHdrTypes
legacyHdrTypes
}
}.getOrElse { error ->
val hdrTypes = runCatching { getDisplayHdrTypes(display) }.getOrElse { error ->
Log.w(TAG, "Display Dolby Vision support: false (failed to query HDR types)", error)
return false
}
@@ -279,8 +271,15 @@ object DoviBridge {
return parts.joinToString(prefix = "{", postfix = "}")
}
private fun getDisplayHdrTypes(display: Display): IntArray = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
display.mode.supportedHdrTypes
} else {
@Suppress("DEPRECATION")
display.hdrCapabilities.supportedHdrTypes
}
private fun describeDisplayMode(mode: Display.Mode): String {
val hdr = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
val hdr = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.UPSIDE_DOWN_CAKE) {
", hdr=${describeHdrTypes(mode.supportedHdrTypes)}"
} else {
""
+4
View File
@@ -4,6 +4,10 @@
<dict>
<key>com.apple.security.app-sandbox</key>
<false/>
<key>com.apple.security.cs.allow-jit</key>
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.network.client</key>
<true/>
<key>com.apple.security.files.user-selected.read-write</key>
+1 -1
View File
@@ -1,7 +1,7 @@
name: plezy
description: "A beautiful Plex and Jellyfin client for Flutter"
publish_to: "none"
version: 2.4.0+105
version: 2.4.1+106
environment:
sdk: ">=3.12.0 <4.0.0"