T25: release builds: scripts/windows-zip.ps1 zips elyterminal.exe, the icon inside as resource 1 (build.rs, embed-resource), a GUI program carrying its C runtime, git started without a console; scripts/linux-tar.sh builds on Debian 12, glibc 2.35 for this build, with a desktop entry and the icon; every window names itself com.zacharyzhang.elyterminal; rust-toolchain.toml pins 1.95.0, and CI installs it without rustup default
This commit is contained in:
21 files changed
+211
-39
No files matched your search
@@ -0,0 +1,11 @@
|
||||
//! On Windows, the icon goes into the executable as resource 1, which gpui loads.
|
||||
|
||||
fn main() {
|
||||
println!("cargo:rerun-if-changed=assets/icons");
|
||||
embed_resource::compile(
|
||||
"assets/icons/elyterminal.rc",
|
||||
embed_resource::ParamsIncludeDirs(["assets/icons"]),
|
||||
)
|
||||
.manifest_required()
|
||||
.expect("build: the icon did not go into the Windows executable");
|
||||
}
|
||||
Reference in new issue
Block a user