@@ -29,7 +29,7 @@ if ( (-not $global:PSVersionTable.Platform) -or ($global:PSVersionTable.Platform
2929 $editorFileEx = " \Editor\Unity.exe"
3030
3131 if ([string ]::IsNullOrEmpty($modulesList )) {
32- $modules = @ (' windows-il2cpp' , ' universal-windows-platform' , ' lumin ' , ' webgl ' , ' android' , ' ios' )
32+ $modules = @ (' windows-il2cpp' , ' universal-windows-platform' , ' android' , ' ios' )
3333 }
3434
3535 # "Unity Hub.exe" -- --headless help
@@ -46,7 +46,7 @@ elseif ( $global:PSVersionTable.OS.Contains("Darwin") ) {
4646 $editorFileEx = " /Unity.app/Contents/MacOS/Unity"
4747
4848 if ([string ]::IsNullOrEmpty($modulesList )) {
49- $modules = @ (' mac-il2cpp' , ' ios' , ' lumin ' , ' webgl ' , ' android' )
49+ $modules = @ (' mac-il2cpp' , ' ios' , ' android' )
5050 }
5151
5252 # /Applications/Unity\ Hub.app/Contents/MacOS/Unity\ Hub -- --headless help
@@ -63,14 +63,14 @@ elseif ( $global:PSVersionTable.OS.Contains("Linux") ) {
6363 $editorFileEx = " /Editor/Unity"
6464
6565 if ([string ]::IsNullOrEmpty($modulesList )) {
66- $modules = @ (' linux-il2cpp' , ' webgl ' , ' android' , ' ios' )
66+ $modules = @ (' linux-il2cpp' , ' android' , ' ios' )
6767 }
6868
6969 # /UnityHub.AppImage --headless help
7070 # xvfb-run --auto-servernum "$HOME/Unity Hub/UnityHub.AppImage" --headless help
7171 function Invoke-UnityHub {
7272 $argsList = $args.Split (" " )
73- xvfb- run -- auto- servernum " $hubPath " -- headless $argsList
73+ xvfb- run -- auto- servernum " $hubPath " -- disable-gpu - sandbox -- headless $argsList
7474 }
7575}
7676
@@ -118,7 +118,7 @@ if ( -not (Test-Path -Path "$hubPath") ) {
118118 elseif ($global :PSVersionTable.OS.Contains (" Linux" )) {
119119 mkdir - pv " $HOME /Unity Hub" " $HOME /.config/Unity Hub" " $editorRootPath "
120120 sudo apt- get update
121- sudo apt- get install - y libgconf- 2 - 4 libglu1 libasound2 libgtk2.0 - 0 libgtk- 3 - 0 libnss3 zenity xvfb
121+ sudo apt- get install - y libgconf- 2 - 4 libglu1 libasound2 libgtk2.0 - 0 libgtk- 3 - 0 libnss3 zenity xvfb libssl1. 1 libfuse2
122122
123123 # https://www.linuxdeveloper.space/install-unity-linux/
124124 $wc.DownloadFile (" $baseUrl /UnityHub.AppImage" , " $hubPath " )
0 commit comments