Skip to content

Commit 07bc48f

Browse files
committed
version 1.2.0
1 parent 0fbd68a commit 07bc48f

8 files changed

Lines changed: 26 additions & 10 deletions

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
For Windows 10 users, the recommended way of installation is through [Microsoft Store](https://www.microsoft.com/store/apps/9P71FC94LRH8?cid=github).
1616
This enables auto-update and experimental ARM64 support.
17-
macOS users can also get Fluent Reader from the [Mac App Store](https://apps.apple.com/app/id1520907427).
17+
macOS users can also get Fluent Reader from the Mac App Store (temporarily unavailable).
1818

1919
If you are using Linux or an older version of Windows, you can [get Fluent Reader from GitHub releases](https://github.com/yang991178/fluent-reader/releases).
2020

build/entitlements.mac.plist

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>com.apple.security.cs.allow-jit</key><true/>
6+
<key>com.apple.security.cs.allow-unsigned-executable-memory</key><true/>
7+
<key>com.apple.security.cs.allow-dyld-environment-variables</key><true/>
8+
</dict>
9+
</plist>

build/entitlements.mas.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<key>com.apple.security.app-sandbox</key><true/>
66
<key>com.apple.security.application-groups</key>
77
<array>
8-
<string>EM8VE646TZ.DevHYLiu.FluentReader</string>
8+
<string>P2CG8QD3BP.me.hyliu.fluent-reader-mas</string>
99
</array>
1010
<!-- Put any entitlements your app requires here. Below is a example -->
1111
<key>com.apple.security.network.client</key><true/>

build/resignAndPackage.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Name of your app.
22
APP="Fluent Reader"
33
# Your Certificate name.
4-
CERT="Jieyu Yan (EM8VE646TZ)"
4+
CERT="Haoyuan Liu (P2CG8QD3BP)"
55
# The path of your app to sign.
66
APP_PATH="bin/darwin/universal/mas-universal/Fluent Reader.app"
77
# The path to the location you want to put the signed package.
@@ -19,9 +19,10 @@ FRAMEWORKS_PATH="$APP_PATH/Contents/Frameworks"
1919
# FONTLIST_PATH="node_modules/font-list/libs/darwin/fontlist.m"
2020
# clang -arch arm64 -arch x86_64 "$FONTLIST_PATH" -fmodules -o "dist/fontlist"
2121
# Build the MAS app
22-
CSC_IDENTITY_AUTO_DISCOVERY=false npx electron-builder -c electron-builder-mas.yml --mac mas:universal
22+
CSC_IDENTITY_AUTO_DISCOVERY=false
23+
npx electron-builder -c electron-builder-mas.yml --mac mas:universal
2324
# Add ElectronTeamID to Info.plist
24-
sed -i '' -e 's/<\/dict>/<key>ElectronTeamID<\/key><string>EM8VE646TZ<\/string><\/dict>/g' "bin/darwin/universal/mas-universal/Fluent Reader.app/Contents/Info.plist"
25+
sed -i '' -e 's/<\/dict>/<key>ElectronTeamID<\/key><string>P2CG8QD3BP<\/string><\/dict>/g' "bin/darwin/universal/mas-universal/Fluent Reader.app/Contents/Info.plist"
2526

2627
printf "......................\nresignAndPackage start\n\n"
2728
codesign --deep --force --verify --verbose=4 --timestamp --options runtime --entitlements "$CHILD_PLIST" -s "$APP_KEY" "$APP_PATH/Contents/Resources/app.asar.unpacked/dist/fontlist"

dist/fontlist

-47.6 KB
Binary file not shown.

electron-builder-mas.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
appId: DevHYLiu.FluentReader
2-
buildVersion: 29
1+
appId: me.hyliu.fluent-reader-mas
2+
buildVersion: 30
33
productName: Fluent Reader
44
copyright: Copyright © 2020 Haoyuan Liu
55
files:

electron-builder.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ directories:
99
output: "./bin/${platform}/${arch}/"
1010
mac:
1111
darkModeSupport: true
12+
hardenedRuntime: true
13+
gatekeeperAssess: false
14+
entitlements: "./build/entitlements.mac.plist"
15+
entitlementsInherit: "./build/entitlements.mac.plist"
16+
notarize: true
1217
target:
1318
- dmg
1419
category: public.app-category.news
@@ -70,4 +75,5 @@ linux:
7075
icon: build/icons
7176
category: Utility
7277
desktop:
73-
StartupWMClass: fluent-reader
78+
entry:
79+
StartupWMClass: fluent-reader

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fluent-reader",
3-
"version": "1.1.4",
3+
"version": "1.2.0",
44
"description": "Modern desktop RSS reader",
55
"main": "./dist/electron.js",
66
"scripts": {
@@ -10,7 +10,7 @@
1010
"format": "prettier --write .",
1111
"package-win": "electron-builder -w appx:x64 && electron-builder -w appx:ia32 && electron-builder -w appx:arm64",
1212
"package-win-ci": "electron-builder -w --x64 -p never && electron-builder -w --ia32 -p never",
13-
"package-mac": "electron-builder --mac --x64",
13+
"package-mac": "electron-builder --mac --universal",
1414
"package-mas": "bash build/resignAndPackage.sh",
1515
"package-linux": "electron-builder --linux --x64 -p never"
1616
},

0 commit comments

Comments
 (0)