Bike 1.22 (190-191) Preview

  • Default to no xmlns in Bike documents, but preserve when found

Previously in 190:

  • Fixed crash case, show alert instead
  • Changed how file attributes are written
  • Removed auto-naming feature for new documents

Trying to fix two issues that I haven’t been able to reproduce myself. If you see a crash please let me know!


To get preview releases through Bike’s software update select: Bike > Preferences > General > Include “preview” releases. Or download directly from Bike’s releases page:

2 Likes

A quick FYI and an inquiry to see if others have noticed that with the (190) preview, Bike Shortcuts have disappeared from the Apple menu and Bike shortcuts that were working with previous previews (<189) no longer work. [error msg: A shortcut cannot run because an action cannot be found].

I’m not a big shortcuts user other than the Today shortcut that I use to start each day so this isn’t such an issue for my workflow. It’s easy enough to just type in the date :grinning:

Bike Shortcuts have disappeared from the Apple menu and Bike shortcuts that were working with previous previews (<189) no longer work.

That’s no good. Anyone else seeing this? My computer is not a great test cases because I have so many different build of Bike lying around. I still see Bike shortcuts, and when I launch Bike 190 and run a shortcut, it works to automate Bike 190.

I was able to troubleshoot and solve the problem on my own (amazing statement from someone with zero coding skills, though a rough understanding of how things work under the hood :crazy_face:).

Yesterday, I had downloaded Bike 2 to see what folks were talking about and quickly found it overwhelming and just left it sitting in my applications folder. I moved it to the trash a few minutes ago and voilà, Shortcuts are working again.

Lesson learned: don’t keep a beta version of Bike on your device.

1 Like

I was able to troubleshoot and solve the problem on my own (amazing statement from someone with zero coding skills, though a rough understanding of how things work under the hood :crazy_face:).

Nice work… and sorry I didn’t think of that. Right now Bike 2 preview doesn’t have any AppleScript or Shortcuts support, so if it’s the one that Shortcuts looks at then there will be no shortcuts.

Perhaps one should install the experimental builds in the user/Applications folder of a guest/test account, rather than in the system Applications folder ?

Perhaps one should install the experimental builds in the user/Applications folder of a guest/test account, rather than in the system Applications folder ?

That seems reasonable, though I have no idea if that will fix issue in all cases. How shortcuts/AppleScript actually choose which binary to launch, I don’t know.

So far so good – I can continue to use my Bike 1 scripts in my main account,
and also experiment with Bike 2 builds in a testing account.

(with Bike 2 at ~/Applications/Bike.app in the testing account, and Bike 1 at the system-wide /Applications.Bike.app)

2 Likes

I’ve just posted a minor (we’ll see right!?) change that defaults to not including a xmlns for Bike formatted documents. On the other hand it should preserve “one” if found.

1 Like

Many thanks – that was fast !

And XQuery over XInclude is now working perfectly for newly-added .bike files.

(For files which had aquired the shadowing xmlns since late 2023, sed -i seems, I think, to be able to clean up by editing ‘in place’, without losing the extended attributes on which bike:// row links depend)

(If anyone wants to try the find and sed incantation I am using, they are welcome to DM me for it)

1 Like

I downloaded the beta of bike 2 and also had problems running the Today shortcut so I deleted it and it started working again for me. I don’t want to go to the hassle of setting up a new account so I will wait until they can happily coexist - or Bike 2 is released.