Viber cask works fine, but app itself is broken #6181
Replies: 2 comments 4 replies
-
This should be reported to Viber so they can fix that broken .dmg. |
Beta Was this translation helpful? Give feedback.
-
@p-linnane I will respect any maintainer decision, but I have no intention to try to contact Viber support myself. This decision is not related to Homebrew, you or any of great people involved in this project. This is caused by my personal frustration triggered by the useless level 1 support of almost any messenger and social media app in general, during the last 20 years. Please read this and if you do not agree with next points, simply close this as answered. All 3 links returns the same version with the live check:
❯ brew livecheck viber
viber: 24.7.0,2470 ==> 1.0.0.82,2154 Using any of those 3 links, will result in installing dual arch installer app, and not the actual Viber app. First 2 apps has faulty plist item, but after removing those items, all 3 installers will download and install exactly the same Viber app for correct arch. Since I do not see any benefit of using current version of this cask, I would suggest this instead cask "viber" do
version "1.0.0.82,2154"
sha256 :no_check
url "https://download.viber.com/desktop/mac/online/Viber.dmg"
name "Viber"
desc "Calling and messaging application focusing on security"
homepage "https://www.viber.com/"
livecheck do
url :url
strategy :extract_plist
end
auto_updates true
depends_on macos: ">= :big_sur"
app "Viber.app"
zap trash: [
"~/Library/Application Scripts/com.viber.osx.macvibershare",
"~/Library/Application Support/com.viber.osx",
"~/Library/Application Support/ViberPC",
"~/Library/Caches/com.viber.osx",
"~/Library/Caches/Viber Media S.à r.l",
"~/Library/Containers/com.viber.osx.macvibershare",
"~/Library/Preferences/com.viber.*.plist",
"~/Library/Saved Application State/com.viber.osx.savedState",
],
rmdir: "~/Documents/ViberDownloads"
end |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Output of
brew config
Output of
brew doctor
Description of issue
Cask works fine, but something is very wrong with the current version of https://download.viber.com/desktop/mac_arm/Viber.dmg
When you launch Viber user gets this message:
Download unsuccesstul
Here's what you can do:
• Click 'Retry' to restart the download process
• Download the app using a different link
• Contact Support for help
I think the issue is the link app is trying to open from there, it is probably unavailable.
I experienced exactly the same problem when I uninstalled the cask and install app from that DMG.
App from the dmg on the download page https://download.viber.com/desktop/mac/online/Viber.dmg works without any issues.
It would probably be good to change the link in the Cask.
I noticed the issue only because I updated everything with
brew upgrade --greedy
, otherwise I will have no clue that this issue exists.I just checked version info for app installed from this other link, it's 25.3.0, while in cask is older 24.7.0
version "24.7.0,2470"
Relevant casks
viber.rb
Beta Was this translation helpful? Give feedback.
All reactions