Skip to content

Commit

Permalink
Make sure the rufs installer overwrites rufs, even when downgrading.
Browse files Browse the repository at this point in the history
  • Loading branch information
sgielen committed Jul 24, 2021
1 parent 890f8b0 commit 22d9f3f
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions publish/macos/components.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
<dict>
<key>BundleHasStrictIdentifier</key>
<false/>
<key>BundleIsRelocatable</key>
<true/>
<key>BundleIsVersionChecked</key>
<false/>
<key>BundleOverwriteAction</key>
<string>upgrade</string>
<key>RootRelativeBundlePath</key>
<string>Applications/rufs.app</string>
</dict>
</array>
</plist>
1 change: 1 addition & 0 deletions publish/macos/make-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ pkgbuild \
--version "${RUFS_VERSION}" \
--scripts pkg-scripts \
--root tempdir/root \
--component-plist components.plist \
--install-location / \
tempdir/packages/rufs-client.pkg
productbuild --distribution Distribution --resources pkg-resources --package-path tempdir/packages rufs-setup.pkg
Expand Down

0 comments on commit 22d9f3f

Please sign in to comment.