Search Unity

Question How to set editor path by command line?

Discussion in 'Unity Hub' started by maoki2, Oct 1, 2021.

  1. maoki2

    maoki2

    Joined:
    Oct 1, 2021
    Posts:
    1
    I have created a silent installation by Unity Download Assistant. Installation path is C:\Program Files\Unity .
    and
    I have installed Unity Hub beta silently by running a command UnityHubSetupBeta.exe /S.

    I need to set the path C:\Program Files\Unity into Unity Hub so that the editor and additional installs are found and Unity Hub can update installations. How can I do this by using a batch file?
     
  2. UnityJuju

    UnityJuju

    Unity Technologies

    Joined:
    Jun 15, 2021
    Posts:
    221
    You can run this command: “Unity Hub.exe” -- --headless help
    It's a help file with all the commands in it.