Macguffin

Now there are breaking changes in 3.8 I often have switch my Spine to 3.7 when doing legacy work, re-skins etc.

Would it be possible to either:
Have a saveAs - version for the JSON exporter which saves down to older versions.
Or
On the Splash Screen have a "open version" drop down like in the settings to open the correct version of Spine.
Or
Maybe if Spine detects that the saved project is on an older version of Spine it asks:
Do you want to open in 3.7 or convert to 3.8?
Or
allow version to be defined from the command like (example mac):
open -n -a /Applications/Spine/Spine.app -v3.7
I could then simply have a shortcut for the older version.

Just a thought.
Thanks
Аватара пользователя
Macguffin
  • Сообщения: 29

Nate

Saving as an old version isn't feasible due to how the technology works. You can specify the update on the command line though, for macOS:
open -n -a /Applications/Spine/Spine.app --update 3.7.94
Or:
open -n -a /Applications/Spine/Spine.app -u 3.7.49
Аватара пользователя
Nate

Nate
  • Сообщения: 9241

Macguffin

thanks for the info that will do nicely

actually it doesn't work for me.
open: invalid option -- u
open: unrecognized option `--update'
Аватара пользователя
Macguffin
  • Сообщения: 29

Nate

Please show your whole command.
Аватара пользователя
Nate

Nate
  • Сообщения: 9241

Macguffin

iMac:~ macguffin$ open -n -a /Applications/Spine/Spine.app --update 3.7.94
open: unrecognized option `--update'
Usage: open [-e] [-t] [-f] [-W] [-R] [-n] [-g] [-h] [-s <partial SDK name>][-b <bundle identifier>] [-a <application>] [filenames] [--args arguments]
Help: Open opens files from a shell.
By default, opens each file using the default application for that file.
If the file is in the form of a URL, the file will be opened as a URL.
Options:
-a Opens with the specified application.
-b Opens with the specified application bundle identifier.
-e Opens with TextEdit.
-t Opens with default text editor.
-f Reads input from standard input and opens with TextEdit.
-F --fresh Launches the app fresh, that is, without restoring windows. Saved persistent state is lost, excluding Untitled documents.
-R, --reveal Selects in the Finder instead of opening.
also tried
open -n -a /Applications/Spine/Spine.app --u 3.7.94
if I use
open -n -a /Applications/Spine/Spine.app
it does open
Аватара пользователя
Macguffin
  • Сообщения: 29

badlogic

/Applications/Spine/Spine.app/Contents/MacOS/Spine -u 3.7.94 will do the trick.
Аватара пользователя
badlogic

Mario
  • Сообщения: 2065

Macguffin

working thanks for your help :)
Аватара пользователя
Macguffin
  • Сообщения: 29

Nate

FWIW to use open it looks like we need the --args parameter:
open -n -a /Applications/Spine/Spine.app --args --update 3.7.94
Аватара пользователя
Nate

Nate
  • Сообщения: 9241


Вернуться в Editor