mirror of
https://github.com/gwdevhub/Daybreak.git
synced 2026-07-15 15:19:57 +00:00
@@ -1,5 +0,0 @@
|
||||
Write-Host "Retrieving version"
|
||||
$filepath = Get-ChildItem -Path .\Daybreak -Filter *.version
|
||||
$version = $filepath.BaseName
|
||||
Write-Host "Version: $version"
|
||||
return $version
|
||||
@@ -1,20 +0,0 @@
|
||||
Param(
|
||||
[Parameter(Mandatory=$true)]
|
||||
[string]$version,
|
||||
[Parameter(Mandatory=$true)]
|
||||
[string]$connectionString,
|
||||
[Parameter(Mandatory=$true)]
|
||||
[string]$sourcePath
|
||||
)
|
||||
|
||||
# Create a new blob container
|
||||
$containerName = "v$($version.ToLower().Replace('.', '-'))" # Container names must be lowercase
|
||||
Write-Host "Creating container $($containerName)"
|
||||
az storage container create --name $containerName --connection-string $connectionString
|
||||
|
||||
Write-Host "Uploading files"
|
||||
# Upload all files from the source path to the blob container
|
||||
az storage blob upload-batch --destination $containerName --source $sourcePath --connection-string $connectionString
|
||||
|
||||
Write-Host "Setting public access to container"
|
||||
az storage container set-permission --name $containerName --public-access blob --connection-string $connectionString
|
||||
@@ -0,0 +1,14 @@
|
||||
$ErrorActionPreference = "Stop"
|
||||
$RepoRoot = Resolve-Path "$PSScriptRoot/.."
|
||||
|
||||
# Force X11 backend — Photino/WebKitGTK/GTK3 doesn't support Wayland natively
|
||||
if (-not $env:GDK_BACKEND) { $env:GDK_BACKEND = "x11" }
|
||||
|
||||
# Prevent WebKitGTK from using DMA-BUF (crashes on some Nvidia/Mesa combos)
|
||||
if (-not $env:WEBKIT_DISABLE_DMABUF_RENDERER) { $env:WEBKIT_DISABLE_DMABUF_RENDERER = "1" }
|
||||
|
||||
# Disable GPU compositing (blank windows on some drivers)
|
||||
if (-not $env:WEBKIT_DISABLE_COMPOSITING_MODE) { $env:WEBKIT_DISABLE_COMPOSITING_MODE = "1" }
|
||||
|
||||
dotnet run --project Daybreak.Linux
|
||||
|
||||
Reference in New Issue
Block a user