rxhanson / Rectangle

Move and resize windows on macOS with keyboard shortcuts and snap areas
https://rectangleapp.com
Other
25.73k stars 768 forks source link

Doesn't automatically start up after reinstallation of corrupted Rectangle App. #1116

Open antongeny opened 1 year ago

antongeny commented 1 year ago

Randomly, with 0.66 Rectangle app was corrupted, no other apps had issues. So I uninstalled and reinstalled after a reboot.

Reason why I reinstalled with a new version was that there was an slash mark through the app and couldn't run the program, warnings about it being corrupted.

WIth the new version the slash in the icon still exists, but does not start up automatically, even though settings are set right in system settings and app. The icons in System settings has the slash (picture below). The app works fine when I manually start it.

SCR-20230315-mrjy image
rxhanson commented 1 year ago

Thanks for reporting. Where did you get the download from? When I test this with the download from https://rectangleapp.com (which is just routing to GitHub), everything's good.

gurbindersingh commented 1 year ago

I am experiencing the same issue. I had originally installed Rectangle manually and everything worked fine. But then uninstalled it and installed it via Homebrew (into ~/Applications and then it stopped launching at login.

Just to make sure it wasn't an issue with the Homebrew installation or with it being in the home directory. I uninstalled it and installed it again via the DMG from the website. Unfortunately it still didn't work. The entries in the setting also persist (as per https://github.com/rxhanson/Rectangle/issues/992)

Currently I am using a workaround by defining my own launchd agent:

<?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">
  <dict>
    <key>Label</key>
    <string>own.rectangle.launcher</string>
    <key>Program</key>
    <string>/Users/<username>/Applications/Rectangle.app/Contents/MacOS/Rectangle</string>
    <key>RunAtLoad</key>
    <true/>
  </dict>
</plist>