gwen: Adapt Windows bundle pipeline for Gwen

This commit is contained in:
yenru0 committed 2026-09-23 03:03:29 +09:00
1 parent 4bb6a85cc8
commit 0dcaae030b
5 files changed
+26 -26

No files matched your search

+16 -16
View File
@@ -117,7 +117,7 @@ function BuildZedAndItsFriends {
Write-Output "Building Zed and its friends, for channel: $channel"
# Build zed.exe, cli.exe and auto_update_helper.exe
cargo --config .cargo/bundle-config.toml build --release --package zed --package cli --package auto_update_helper --target $target
Copy-Item -Path ".\$CargoOutDir\zed.exe" -Destination "$innoDir\Zed.exe" -Force
Copy-Item -Path ".\$CargoOutDir\gwen.exe" -Destination "$innoDir\Gwen.exe" -Force
Copy-Item -Path ".\$CargoOutDir\cli.exe" -Destination "$innoDir\cli.exe" -Force
Copy-Item -Path ".\$CargoOutDir\auto_update_helper.exe" -Destination "$innoDir\auto_update_helper.exe" -Force
# Build explorer_command_injector.dll
@@ -147,7 +147,7 @@ function BuildRemoteServer {
& "$innoDir\sign.ps1" $remoteServerSrc
}
$remoteServerDst = "$env:ZED_WORKSPACE\target\zed-remote-server-windows-$Architecture.zip"
$remoteServerDst = "$env:ZED_WORKSPACE\target\gwen-remote-server-windows-$Architecture.zip"
Write-Output "Compressing remote_server to $remoteServerDst"
Compress-Archive -Path $remoteServerSrc -DestinationPath $remoteServerDst -Force
@@ -242,8 +242,8 @@ function DownloadConpty {
function CollectFiles {
Move-Item -Path "$innoDir\zed_explorer_command_injector.appx" -Destination "$innoDir\appx\zed_explorer_command_injector.appx" -Force
Move-Item -Path "$innoDir\zed_explorer_command_injector.dll" -Destination "$innoDir\appx\zed_explorer_command_injector.dll" -Force
Move-Item -Path "$innoDir\cli.exe" -Destination "$innoDir\bin\zed.exe" -Force
Move-Item -Path "$innoDir\zed.sh" -Destination "$innoDir\bin\zed" -Force
Move-Item -Path "$innoDir\cli.exe" -Destination "$innoDir\bin\gwen.exe" -Force
Move-Item -Path "$innoDir\gwen.sh" -Destination "$innoDir\bin\gwen" -Force
Move-Item -Path "$innoDir\auto_update_helper.exe" -Destination "$innoDir\tools\auto_update_helper.exe" -Force
if($Architecture -eq "aarch64") {
New-Item -Type Directory -Path "$innoDir\arm64" -Force
@@ -261,7 +261,7 @@ function CollectFiles {
}
function BuildInstaller {
$issFilePath = "$innoDir\zed.iss"
$issFilePath = "$innoDir\gwen.iss"
switch ($channel) {
"stable" {
$appId = "{{2DB0DA96-CA55-49BB-AF4F-64AF36A86712}"
@@ -306,17 +306,17 @@ function BuildInstaller {
$appAppxFullName = "ZedIndustries.Zed.Nightly_1.0.0.0_neutral__japxn1gcva8rg"
}
"dev" {
$appId = "{{8357632E-24A4-4F32-BA97-E575B4D1FE5D}"
$appIconName = "app-icon-dev"
$appName = "Zed Dev"
$appDisplayName = "Zed Dev"
$appSetupName = "Zed-$Architecture"
$appId = "{0497B7B8-186F-4CE7-A6E0-A20EADA832E1}"
$appIconName = "app-icon-gwen"
$appName = "Gwen"
$appDisplayName = "Gwen"
$appSetupName = "Gwen-$Architecture"
# The mutex name here should match the mutex name in crates\zed\src\zed\windows_only_instance.rs
$appMutex = "Zed-Dev-Instance-Mutex"
$appExeName = "Zed"
$regValueName = "ZedDev"
$appUserId = "ZedIndustries.Zed.Dev"
$appShellNameShort = "Z&ed Dev"
$appMutex = "Gwen-Editor-Dev-Instance-Mutex"
$appExeName = "Gwen"
$regValueName = "GwenDev"
$appUserId = "yrkaierx.Gwen.Dev"
$appShellNameShort = "Gwen"
$appAppxFullName = "ZedIndustries.Zed.Dev_1.0.0.0_neutral__japxn1gcva8rg"
}
default {
@@ -328,7 +328,7 @@ function BuildInstaller {
# Windows runner 2022 default has iscc in PATH, https://github.com/actions/runner-images/blob/main/images/windows/Windows2022-Readme.md
# Currently, we are using Windows 2022 runner.
# Windows runner 2025 doesn't have iscc in PATH for now, https://github.com/actions/runner-images/issues/11228
$innoSetupPath = "C:\Program Files (x86)\Inno Setup 6\ISCC.exe"
$innoSetupPath = "F:\Cache\inno6\ISCC.exe"
$definitions = @{
"AppId" = $appId