I know you have lots of versions of OpenXTalk that you test, so that's quite possible.
The rev files are from the preferences, as it stores them in legacy 'rev' format. Not much I can do about that.
It always puts a [name of program]"7.rev" on the end as default.
That makes sense why you'd then have a livecode7.rev and openxtalk7.rev file.
The rest makes sense, as it's settings the dictionary uses and other preferences from other versions of OXT.
If you've loaded any extensions into Livecode / OXT on that machine, it also would create a metacard folder (because the code is still in there to look in this folder for extensions), from when LC grabbed it from Metacard I'd assume, so there's a few instances where this could be created.
The update.log should tell you what was downloaded by the updater. This is read in by the updater in OXT, so when you click on the "show changed files" on the updater window, it reads this and tells you what was successfully downloaded.
As I say, I think you've confused it now, because it'll probably think it's at the right version, but whether the files are actually in the right place is anyone's guess.
The good news though, is you can put all this right fairly easily.
If you still have the dmg for 1.01, copy that out and delete the "OpenXTalk Lite.app" one where your update went wrong. All the files are changed in this ".app", so deleting it means you can try the update afresh.
If you don't have the dmg anymore, you'll of course need to
download it again.
I'd also recommend deleting the "xTalk_IDE_update.sh" on your desktop if that's still there, just so we can be sure you are starting afresh with everything.
Before you do anything, open Terminal and switch the shell over from using ZSH back to Bash.
If you are unsure, this command would do it:
Or you can poke around in the preferences to do it....
- Screenshot at 2024-03-08 14-25-47.png (48.94 KiB) Viewed 696 times
Launch OpenXTalk Lite again, Run the update again and have another go.
First, opening terminal - check the window title to confirm you are in bash - not in zsh.
Don't forget to su & return first so you have elevated permissions.
Open the sh file on your desktop that was automatically created by the updater in a text editor. NOT by double clicking it.
Select all that text and copy.
Before you get any further - as in, before you run any of it in the terminal - could you please paste it into a comment on here, just so I can double check MacOS isn't doing something 'funky' with it.
It's not a hard process, providing MacOS doesn't try and mess with the commands reinterpreting them to zsh equivalents. This is why I want to check first to see what it's done.
Edit: Step by step walk through, just in case:
To make life easier (just in case I'm busy tomorrow - which will probably be the case), I've just tested what the output of the update should be under MacOS.
- Screenshot 2024-03-08 at 21.05.25.png (73.86 KiB) Viewed 671 times
Here it is in text form too:
Code: Select all
#!/bin/sh
#start update script, must be run as admin / sudo
sudo mv -f '/Users/user/Library/Preferences/xtalk/updatecache/revmessagebox.8.rev' '/Applications/OpenXTalk Lite.app/Contents/Tools/Toolset/palettes/message box/'
sudo rm -f '/Applications/OpenXTalk Lite.app/Contents/Tools/.buildnumber'
sudo touch '/Applications/OpenXTalk Lite.app/Contents/Tools/.buildnumber'
sudo chmod 766 '/Applications/OpenXTalk Lite.app/Contents/Tools/.buildnumber'
sudo echo '202403042130' >> '/Applications/OpenXTalk Lite.app/Contents/Tools/.buildnumber'
sudo rm -f '/Applications/OpenXTalk Lite.app/Contents/Tools/.version'
sudo touch '/Applications/OpenXTalk Lite.app/Contents/Tools/.version'
sudo chmod 766 '/Applications/OpenXTalk Lite.app/Contents/Tools/.version'
sudo echo '1.01' >> '/Applications/OpenXTalk Lite.app/Contents/Tools/.version'
#end of update
It should look something like the above. Obviously the username "User" should show your username. Here, I have OpenXTalk Lite installed in /Applications/ but yours may look different, depending on wherever you put OpenXTalk Lite on your computer.
So, knowing that's right - I can open Terminal.
Here, you can see a message in the terminal that Apple want to force ZSH on me, but you can also see the title of the window shows "bash", which is what I'm using:
- Screenshot 2024-03-08 at 21.11.38.png (41.76 KiB) Viewed 670 times
So, before I do anything else - lets get elevated permissions in the terminal. (Not always strictly necessary, but ensures we have write access to the folders we need). To do this:
- Screenshot 2024-03-08 at 21.17.58.png (30.69 KiB) Viewed 668 times
Code: Select all
su
[returnkey]
your password
[returnkey]
You can see the "user$" prompt has disappeared on line 3 of the last screenshot (it now just says "sh-3.2#" (no user$) - that's because I now have elevated permissions.
Now, select all and copy all the text from the sh file you opened in your text editor...
and paste into the terminal (press return at the end, just to make sure you've confirmed you are running it)
Side-by-side screenshot of me doing exactly that: (terminal on the left, textedit on the right)
- Screenshot 2024-03-08 at 21.25.28.png (155.37 KiB) Viewed 666 times
Here's a text output of what I pasted into the terminal, for comparison on what you might be seeing:
Code: Select all
sh-3.2# #!/bin/sh
sh-3.2# #start update script, must be run as admin / sudo
sh-3.2# sudo mv -f '/Users/user/Library/Preferences/xtalk/updatecache/revmessagebox.8.rev' '/Applications/OpenXTalk Lite.app/Contents/Tools/Toolset/palettes/message box/'
sh-3.2# sudo rm -f '/Applications/OpenXTalk Lite.app/Contents/Tools/.buildnumber'
sh-3.2# sudo touch '/Applications/OpenXTalk Lite.app/Contents/Tools/.buildnumber'
sh-3.2# sudo chmod 766 '/Applications/OpenXTalk Lite.app/Contents/Tools/.buildnumber'
sh-3.2# sudo echo '202403042130' >> '/Applications/OpenXTalk Lite.app/Contents/Tools/.buildnumber'
sh-3.2# sudo rm -f '/Applications/OpenXTalk Lite.app/Contents/Tools/.version'
sh-3.2# sudo touch '/Applications/OpenXTalk Lite.app/Contents/Tools/.version'
sh-3.2# sudo chmod 766 '/Applications/OpenXTalk Lite.app/Contents/Tools/.version'
sh-3.2# sudo echo '1.01' >> '/Applications/OpenXTalk Lite.app/Contents/Tools/.version'
sh-3.2# #end of update
sh-3.2#
As you can see, there should be only mv -f (move command), no mention of "move: rename" or anything - if you see that, you've not changed the terminal from ZSH to bash correctly. (I'll try and combat this in future, so it forces it into a bash shell I suppose).... anyway:
Now start OpenXTalk Lite, and go to the Help menu > IDE Information. This takes you to build "202403042130"... and you'll have a message box again, so that's good...
- Screenshot 2024-03-08 at 21.47.17.png (30.3 KiB) Viewed 658 times
But, wait... There's more.
Now that all went swimmingly, (wasn't too painful was it?)
Can you do it all again?
If you do the second update, just the same way you did the first, then this will fix your "save as" issue you mentioned, and it'll take you to build:
- Screenshot 2024-03-08 at 21.53.47.png (42.56 KiB) Viewed 656 times
Honestly, I've made it all look a lot harder than it actually is - just because I've detailed every small step here I can think of. The actual process takes less than 3 minutes per update.