Includes prior-session patches (carry forward so the app compiles): - crates/gpui/build.rs: cross-compile manifest fix - crates/gpui/src/platform.rs: PlatformWindow::activate_with_token trait method - crates/gpui/src/window.rs: Window::activate_with_token public API - crates/gpui_linux/src/linux/wayland/window.rs: WaylandWindow::activate_with_token + activate() keyboard-serial fix Plus the focus-serial fix: - serial.rs: SerialKind::KeyboardEnter - client.rs: store wl_keyboard.enter serial; latest_serial_of() Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
22 lines
654 B
PowerShell
22 lines
654 B
PowerShell
$ErrorActionPreference = 'Stop'
|
|
$PSNativeCommandUseErrorActionPreference = $true
|
|
|
|
$env:POWERSHELL = $true
|
|
|
|
if (!(Get-Command sqlx -ErrorAction SilentlyContinue) -or (sqlx --version) -notlike "sqlx-cli 0.7.2") {
|
|
Write-Output "sqlx-cli not found or not the required version, installing version 0.7.2..."
|
|
cargo install sqlx-cli --version 0.7.2
|
|
}
|
|
|
|
Set-Location .\crates\collab
|
|
|
|
# Export contents of .env.toml
|
|
$env = (cargo run --bin dotenv) -join "`n";
|
|
Invoke-Expression $env
|
|
|
|
Set-Location ../..
|
|
|
|
Write-Output "creating databases..."
|
|
sqlx database create --database-url "$env:DATABASE_URL"
|
|
sqlx database create --database-url "$env:LLM_DATABASE_URL"
|