Skip to content

Commit

Permalink
Revert to powershell for flag flipping
Browse files Browse the repository at this point in the history
  • Loading branch information
vocksel committed Oct 27, 2023
1 parent e702284 commit f71461e
Showing 1 changed file with 4 additions and 19 deletions.
23 changes: 4 additions & 19 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -195,26 +195,11 @@ jobs:
python install.py "${{ secrets.ROBLOSECURITY }}"
- name: Create flag overrides for successful login
shell: bash
run: |
FLAGS=$(cat <<EOF
{
"FFlagSTUDIOPLAT31379MultiAccountCookies3": true,
"FLogAuthTokenManager": true,
"FLogError": true,
"FLogFirstTimeLoggedInUtil": true,
"FLogKeyValueStorage": true,
"FLogLoginController": true,
"FLogLoginTelemetry": true,
"FLogMultiUserKeyValueStorage": true,
"FLogStudioCookieManager": true
}
EOF
)
CLIENT_APP_SETTINGS="/c/Program Files (x86)/Roblox/Versions/version-*/ClientSettings/ClientAppSettings.json"
cat > $CLIENT_APP_SETTINGS << $FLAGS
$flags = @{FFlagSTUDIOPLAT31379MultiAccountCookies3=$true; FLogAuthTokenManager=$true; FLogError=$true; FLogFirstTimeLoggedInUtil=$true; FLogKeyValueStorage=$true; FLogLoginController=$true; FLogLoginTelemetry=$true; FLogMultiUserKeyValueStorage=$true; FLogStudioCookieManager=$true;}
New-Item -Path 'C:/Program Files (x86)/Roblox/Versions/version-*/' -Name "ClientSettings" -ItemType "directory"
New-Item -Path 'C:/Program Files (x86)/Roblox/Versions/version-*/ClientSettings' -Name "ClientAppSettings.json"
$flags | ConvertTo-Json -depth 32| set-content -Path 'C:/Program Files (x86)/Roblox/Versions/version-*/ClientSettings/ClientAppSettings.json'
- name: Run tests
run: run-in-roblox --place studio-tests.rbxl --script tests/init.server.lua
Expand Down

0 comments on commit f71461e

Please sign in to comment.