try to fix macos dmg
This commit is contained in:
parent
8d3cd5df5c
commit
c28f955df7
2 changed files with 6 additions and 2 deletions
|
@ -26,7 +26,7 @@
|
|||
<url type="donation">https://github.com/sponsors/martinrotter</url>
|
||||
<content_rating type="oars-1.1" />
|
||||
<releases>
|
||||
<release version="4.2.0" date="2022-03-22"/>
|
||||
<release version="4.2.0" date="2022-03-23"/>
|
||||
</releases>
|
||||
<content_rating type="oars-1.0">
|
||||
<content_attribute id="violence-cartoon">none</content_attribute>
|
||||
|
|
|
@ -94,9 +94,13 @@ if [ $is_linux = true ]; then
|
|||
fi
|
||||
else
|
||||
# Fix .dylib linking.
|
||||
install_name_tool -change "librssguard.dylib" "@executable_path/librssguard.dylib" "RSS Guard.app/Contents/MacOS/rssguard"
|
||||
otool -L "RSS Guard.app/Contents/MacOS/rssguard"
|
||||
|
||||
install_name_tool -add_rpath "@executable_path" "RSS Guard.app/Contents/MacOS/rssguard"
|
||||
install_name_tool -add_rpath "@executable_path/../Frameworks" "RSS Guard.app/Contents/MacOS/rssguard"
|
||||
|
||||
otool -L "RSS Guard.app/Contents/MacOS/rssguard"
|
||||
|
||||
macdeployqt "./RSS Guard.app" -dmg
|
||||
|
||||
# Rename DMG.
|
||||
|
|
Loading…
Add table
Reference in a new issue