• Editor
  • 如何使用命令行切换spine软件的版本?

想问问如何使用命令行切换spine软件的版本,不是spine启动器的版本,而是启动的spine软件的版本,比如我想从3.8.99通过命令行切换到4.1.24,我该输入什么命令?

Related Discussions
...

要使用命令行切换Spine软件的版本,可以使用以下命令格式:

Spine -u <版本号>

例如,如果你想从3.8.99切换到4.1.24,可以在命令行中输入以下命令:

Spine -u 4.1.24

在Windows系统中,你可以创建一个批处理文件(.bat)来简化这个过程。以下是一个示例:

  1. 打开一个文本编辑器(如记事本)。
  2. 输入以下内容:
cd C:\Program Files (x86)\Spine
Spine -u 4.1.24
  1. 将文件保存为Spine4.1.24.bat
  2. 双击这个批处理文件即可启动指定版本的Spine。

在macOS系统中,可以使用以下步骤:

  1. CMD + SPACE 打开Finder搜索。
  2. 输入 terminal 并按回车键。
  3. 在新窗口中输入以下命令并按回车键:
/Applications/Spine/Spine.app/Contents/MacOS/Spine -u 4.1.24 -f

这样,Spine将会使用指定的版本启动。

    Spinebot 是的,我看了官方的命令行文档,但这个命令在运行时会打开spien启动器并自动运行spine,而当spine运行时,cmd窗口会停止工作,直到spine被关闭。
    是否有办法可以在后台进行版本切换?即在不打开spine的情况下?
    如果这个办不到,是否有命令可以关闭打开的spine?

      krammor What you want to do is to switch the version that starts when you start Spine next time, without starting Spine? If so, I think it would be best to modify the settings/start-1.json file in your user folder. Change the value of lastEditorVersionName in this file.

      The location of the user folder differs depending on the operating system, so please refer to the following section of the troubleshooting page:
      https://esotericsoftware.com/spine-troubleshooting#%E7%94%A8%E6%88%B7%E6%96%87%E4%BB%B6

        4 days later

        Misaki 感谢你的回复,这个问题已经解决了