Skip to content

Commit

Permalink
fix: Create debugger flag from installer instead of Millennium
Browse files Browse the repository at this point in the history
  • Loading branch information
shdwmtr committed Oct 14, 2024
1 parent 0fd35ad commit 652945d
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -401,6 +401,13 @@ $iniObj["Settings"]["check_for_updates"] = "yes"

Write-Host "`n${BoldPurple}::${ResetColor} Wrote configuration to $configPath"

# Create a file named .cef-enable-remote-debugging in the Steam directory
$cefDebuggingFile = Join-Path -Path $steamPath -ChildPath ".cef-enable-remote-debugging"
if (-not (Test-Path -Path $cefDebuggingFile)) {
# Create the file if it doesn't exist
New-Item -Path $cefDebuggingFile -ItemType File -Force > $null
}

Set-IniFile $iniObj $configPath -PreserveNonData $false

if ($isUpdater) {
Expand Down

0 comments on commit 652945d

Please sign in to comment.