File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1313 <key >CFBundleShortVersionString </key >
1414 <string >2026.2.0 </string >
1515 <key >CFBundleIconFile </key >
16- <string >@APP_ID@ </string >
16+ <string >@APP_ID@.icns </string >
17+ <key >NSHighResolutionCapable </key >
18+ <true />
1719 <key >CFBundlePackageType </key >
1820 <string >APPL </string >
1921 <key >LSMinimumSystemVersion </key >
Original file line number Diff line number Diff line change @@ -193,6 +193,17 @@ info "Setting executable permissions..."
193193chmod +x " $APP_BUNDLE /Contents/MacOS/$PROJECT "
194194success " Set executable permissions."
195195
196+ # Ad-hoc re-sign all binaries after install_name_tool modifications
197+ info " Ad-hoc signing bundled libraries and executables..."
198+ find " $FRAMEWORKS_DIR " \( -name " *.dylib" -o -name " *.so" \) | while read -r lib; do
199+ codesign --force --sign - " $lib " 2> /dev/null || true
200+ done
201+ find " $APP_BUNDLE /Contents/MacOS" \( -name " *.dylib" -o -name " *.so" \) | while read -r lib; do
202+ codesign --force --sign - " $lib " 2> /dev/null || true
203+ done
204+ codesign --force --sign - " $APP_BUNDLE /Contents/MacOS/$REAL_BINARY "
205+ success " Ad-hoc signed bundled libraries and executables."
206+
196207# Restore pwd
197208info " Restoring previous working directory..."
198209cd " $CURRENT_PWD "
You can’t perform that action at this time.
0 commit comments