Skip to content

Commit 7453e2a

Browse files
committed
Notarizing fixes III
1 parent 2b1703a commit 7453e2a

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

.github/workflows/build-packages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ jobs:
167167
168168
- name: Sign GanttProject.app
169169
run: |
170-
build-bin/notarize.sh $VERSION "BarD Software s.r.o" "$MACOS_NOTARIZE_PASSWORD" all
170+
build-bin/notarize.sh $VERSION "BarD Software s.r.o. Developer Key" "$MACOS_NOTARIZE_PASSWORD" all
171171
172172
- id: 'auth'
173173
uses: 'google-github-actions/auth@v1'

build-bin/notarize.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,19 @@ do_prepare2() {
2121
ENTITLEMENTS="build-cfg/ganttproject.entitlements.xml"
2222

2323
echo "Signing libraries and executables..."
24+
find "$APP_PATH" -type f \( -name "*.dylib" -or -name "*.so" -or -perm +111 \) -not -path "$RUNTIME_PATH/*"
2425
find "$APP_PATH" -type f \( -name "*.dylib" -or -name "*.so" -or -perm +111 \) -not -path "$RUNTIME_PATH/*" -exec codesign --timestamp -f -s "$SIG" --prefix com.bardsoftware. --entitlements "$ENTITLEMENTS" --options runtime -v --keychain "$KEYCHAIN" {} \;
2526

2627
echo "Signing Java runtime..."
28+
find "$RUNTIME_PATH" -type f \( -name "*.dylib" -or -name "*.so" -or -perm +111 \)
2729
find "$RUNTIME_PATH" -type f \( -name "*.dylib" -or -name "*.so" -or -perm +111 \) -exec codesign --timestamp -f -s "$SIG" --prefix com.bardsoftware. --entitlements "$ENTITLEMENTS" --options runtime -v --keychain "$KEYCHAIN" {} \;
2830
codesign -f --timestamp --entitlements "$ENTITLEMENTS" -s "$SIG" --prefix com.bardsoftware. --options runtime -v --keychain "$KEYCHAIN" "$RUNTIME_PATH"
2931

3032
echo "Signing the application bundle..."
3133
codesign -f --timestamp --entitlements "$ENTITLEMENTS" -s "$SIG" --prefix com.bardsoftware. --options runtime -v --keychain "$KEYCHAIN" "$APP_PATH"
3234

3335
echo "Verifying signature..."
34-
codesign -vvv --deep --strict "$APP_PATH"
36+
codesign -f -vvv --deep --strict "$APP_PATH"
3537
spctl -a -t exec -vv "$APP_PATH"
3638
}
3739

build-cfg/ganttproject.entitlements.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,13 @@
66
<true/>
77
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
88
<true/>
9-
<key>com.apple.security.cs.disable-executable-page-protection</key>
10-
<true/>
119
<key>com.apple.security.cs.disable-library-validation</key>
1210
<true/>
1311
<key>com.apple.security.cs.allow-dyld-environment-variables</key>
1412
<true/>
13+
<key>com.apple.security.files.user-selected.read-write</key>
14+
<true/>
15+
<key>com.apple.security.files.downloads.read-write</key>
16+
<true/>
1517
</dict>
1618
</plist>

ganttproject-builder/BUILD-HISTORY-MAJOR

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@
1010
2025-01-29 3316 fixed issue 2569, added group to MSI silent
1111
2025-07-04 3390 Test build of GanttProject 3.4 Beta I ....
1212
2026-01-16 3390 Test build of GanttProject 3.4 Beta I ....
13-
2026-01-17 3390 Test build of GanttProject 3.4 Beta I .......
13+
2026-01-17 3390 Test build of GanttProject 3.4 Beta I ........
1414
--

0 commit comments

Comments
 (0)