Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mouseless 0.2.1 (new cask) #195324

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

unitof
Copy link
Contributor

@unitof unitof commented Dec 16, 2024

Important: Do not tick a checkbox if you haven’t performed its action. Honesty is indispensable for a smooth review process.

In the following questions <cask> is the token of the cask you're submitting.

After making any changes to a cask, existing or new, verify:

Additionally, if adding a new cask:

  • Named the cask according to the token reference.
  • Checked the cask was not already refused (add your cask's name to the end of the search field).
  • brew audit --cask --new <cask> worked successfully.
  • HOMEBREW_NO_INSTALL_FROM_API=1 brew install --cask <cask> worked successfully.
  • brew uninstall --cask <cask> worked successfully.

@unitof
Copy link
Contributor Author

unitof commented Dec 16, 2024

I could use some help with the livecheck. This app seems to have a appcast endpoint somwhere at the domain api.sonuscape.net, but it verifies the SSL handshake so refuses to connect when it finds a self-signed certificate.

Screenshot 2024-12-15 at 8 36 31 PM

HTTPSConnectionPool(host='[host]', port=443): Max retries exceeded with url: [latest] (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1006)')))

Same error with trusted SSL proxies in in Charles and Proxyman.

Any ways around this, or alternative ways to inspect where it is trying to connect?

@unitof
Copy link
Contributor Author

unitof commented Dec 16, 2024

As a workaround, using regex on the homepage, which loads a JS module with matching version parameter.

However, would much prefer to get the Sparkle livecheck working if someone can help me figure out how to inspect a GET request from an app which verifies SSL handshakes.

@khipp
Copy link
Member

khipp commented Dec 16, 2024

It seems that upstream publishes releases in the issue repository, which we can use in the livecheck.

There also is a documentation entry regarding SSL errors on startup, which might be helpful: https://github.com/croian/mouseless-issues/blob/main/mouseless_documentation.md#ssl--network-proxies.


url "https://mouseless.click/mouseless-installer_v#{version}.dmg"
name "mouseless"
desc "Lightning-fast mouse control with the keyboard"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
desc "Lightning-fast mouse control with the keyboard"
desc "Mouse control with the keyboard"

app "Mouseless.app"

zap trash: [
"~/Desktop/Mouseless Install.fsmonitor",
Copy link
Member

@bevanjkay bevanjkay Dec 16, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This doesn't look like a usual zap path?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Artifact of my monitoring where it created files! Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants