Skip to content

Commit

Permalink
Fix macOS build (#317)
Browse files Browse the repository at this point in the history
  • Loading branch information
heatray authored May 25, 2021
1 parent fa7dfa2 commit b361128
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/packages_desktop.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ def make():
if (0 == platform.find("mac")):
macos_dir = git_dir + "/desktop-apps/macos"
update_dir = macos_dir + "/build/update"

base.cmd_in_dir(macos_dir, "bundler", ["exec", "fastlane", "release", "skip_git_bump:true"])

app_version = base.cmd("mdls", ["-name", "kMDItemVersion",
"-raw", macos_dir + "/build/ONLYOFFICE.app"])
macos_zip = macos_dir + "/build/ONLYOFFICE-" + app_version + ".zip"
changes_dir = macos_dir + "/ONLYOFFICE/update/updates/ONLYOFFICE/changes/" + app_version

base.cmd_in_dir(macos_dir, "bundler", ["exec", "fastlane", "release", "skip_git_bump:true"])

base.delete_dir(update_dir)
base.delete_dir(os.path.expanduser("~/Library/Caches/Sparkle_generate_appcast"))
base.create_dir(update_dir)
Expand Down

0 comments on commit b361128

Please sign in to comment.