Kap icon indicating copy to clipboard operation
Kap copied to clipboard

Not compatible with Ventura Beta

Open steelbrain opened this issue 2 years ago • 7 comments

macOS version: 13.0 Beta / 22A5286j Kap version: Kap v3.5.4

Steps to reproduce

  • Download and move Kap to Applicatons folder
  • Open Kap

Current behaviour

  • Uncaught Exception on Boot

Expected behaviour

  • It works

Workaround

  • None that I am aware of

Footnotes

Here's the screenshot from the issue

The issue seems to be coming from macos-release, I checked and it seems the package has already been updated to support Ventura as of https://github.com/sindresorhus/macos-release/commit/9c6899c29f013e97200d027074a3cb0d55ac826b

steelbrain avatar Jun 29 '22 09:06 steelbrain

Same error in Monterey 12.4, Macbook Air (M1, 2020)

rlogank avatar Jul 02 '22 00:07 rlogank

Same for me , on MacOS Ventura, I get the same error

HatimDa avatar Jul 03 '22 14:07 HatimDa

Same for me, on macOS Ventura beta 3.

xy1999729 avatar Jul 10 '22 11:07 xy1999729

Looks like macos-release does not have 13:Venture. Yet in a new major version, it has.

But! macos-release supports ES modules only. So Kap can not use it without a huge refactoring to moving all the codebase to ESM. Unfortunately, it was a bad move from @sindresorhus.

@sindresorhus can you please add the commonjs also to backward compatibility? Or update 2.* version.

ianberdin avatar Jul 14 '22 10:07 ianberdin

+1

uhlhosting avatar Jul 18 '22 17:07 uhlhosting

@ianberdin looking at the commit history, I don't see any changes related to Ventura. The commit that moved the library to ESM, didn't change any parsing logic so if the last commonjs doesn't work, the ESM version likely won't either.

If ESM is not usable with Kap, the possibility of forking the macos-version library should be considered.

jordyvandomselaar avatar Aug 05 '22 16:08 jordyvandomselaar

I've created a patched release here that works on Ventura on a M1 pro mac: https://github.com/jordyvandomselaar/Kap/releases/tag/v0.0.0-unofficial

This is not official and has zero guarantees whatsoever. Please switch back to the main Kap project as soon as possible

jordyvandomselaar avatar Aug 05 '22 17:08 jordyvandomselaar

https://github.com/wulkano/Kap/releases/tag/v3.5.5

sindresorhus avatar Aug 11 '22 15:08 sindresorhus

Ah dang it, should've opened a PR 😭

jordyvandomselaar avatar Sep 06 '22 12:09 jordyvandomselaar