From 5943522e3f9a134cf52826c3706921b73c947b4d Mon Sep 17 00:00:00 2001
From: Klaus Hipp <khipp@users.noreply.github.com>
Date: Sat, 19 Oct 2024 15:17:18 +0200
Subject: [PATCH] wormhole: update url

---
 Casks/w/wormhole.rb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/Casks/w/wormhole.rb b/Casks/w/wormhole.rb
index ecfc7ebf6dded..25649cd0ad101 100644
--- a/Casks/w/wormhole.rb
+++ b/Casks/w/wormhole.rb
@@ -2,7 +2,8 @@
   version "1.8.0"
   sha256 :no_check
 
-  url "https://static.er.run/os/WormholeInstaller.dmg"
+  url "https://drive.usercontent.google.com/download?id=1T6sPiSkIcuMoJwY2HS2F8j0QpLiX4oKB&export=download&confirm=t",
+      verified: "drive.usercontent.google.com/download?id=1T6sPiSkIcuMoJwY2HS2F8j0QpLiX4oKB&export=download&confirm=t"
   name "Wormhole"
   desc "Browse & Control phone on PC, Screen Fusion for iOS & Android"
   homepage "https://er.run/"
@@ -15,4 +16,8 @@
   app "Wormhole.app"
 
   zap trash: "~/Library/Saved Application State/er.Wormhole.savedState"
+
+  caveats do
+    requires_rosetta
+  end
 end