mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-05-20 09:03:50 +00:00
Windows-specific pieces that were stubbed or missing:
- icon.ico multi-resolution (16/24/32/48/64/128/256) so the MSI bundler
and the Windows taskbar/installer get a proper app icon. Generated from
icons/icon.png with ImageMagick; also listed in tauri.conf.json.
- cli.rs defaults program to 'codeburn.cmd' on Windows because npm installs
a cmd shim, not an .exe, and std::process::Command does not guarantee
PATHEXT resolution for extensionless names.
- cli.rs is_safe_arg now accepts '\\', ':', '(', ')' on Windows so a user
supplied CODEBURN_BIN like C:\\Users\\...\\codeburn.cmd is not rejected.
These are not shell metacharacters in a direct-argv spawn; we never
invoke sh -c or cmd /c with string interpolation.
- spawn_in_terminal on Windows now passes an explicit empty title to
'start' so the program name is not eaten as the window title.
- release-desktop-windows.yml mirrors the Linux release workflow on
windows-latest. Triggered by 'win-v*' tag or workflow_dispatch. Caches
Cargo, runs 'npm run tauri build', uploads .msi/.exe to a GitHub Release
(or an artifact on manual runs).
Also drops the AgentSeal/codeburn URLs that pre-date the getagentseal org
rename so new pulls hit the canonical URL instead of the 301.
57 lines
2 KiB
Text
57 lines
2 KiB
Text
#cloud-config
|
|
# Ubuntu 24.04 LTS Server autoinstall configuration for a CodeBurn desktop dev VM. Mount this
|
|
# file as a second virtual disk (CIDATA volume) alongside the Ubuntu Server ISO in UTM and
|
|
# the installer runs unattended end to end. Default login: codeburn / codeburn. Change the
|
|
# identity block before running in any environment that matters.
|
|
autoinstall:
|
|
version: 1
|
|
|
|
# Accept the EULA-style prompts without user input.
|
|
refresh-installer:
|
|
update: yes
|
|
|
|
locale: en_US.UTF-8
|
|
keyboard:
|
|
layout: us
|
|
|
|
# Wire up a default user. Password is `codeburn`; hash generated with `openssl passwd -6`.
|
|
# Regenerate the hash if you care about the credentials outside of a throwaway VM.
|
|
identity:
|
|
hostname: codeburn-linux
|
|
username: codeburn
|
|
password: "$6$rounds=4096$JrKVZcJ2$F93p8IWyTlZR5p1Trmno/qCnhYI1BnbUUYdf6HsiD.XW4T0I3JtvzH40nWNy9Z1CcJ2X5C6RuzK0bj9WM3x/n."
|
|
|
|
ssh:
|
|
install-server: yes
|
|
allow-pw: yes
|
|
|
|
# Install GNOME + the build dependencies Tauri needs so the first login is already ready
|
|
# to run `npm run tauri dev` without another apt round trip.
|
|
packages:
|
|
- ubuntu-desktop-minimal
|
|
- build-essential
|
|
- curl
|
|
- wget
|
|
- file
|
|
- git
|
|
- libwebkit2gtk-4.1-dev
|
|
- libayatana-appindicator3-dev
|
|
- librsvg2-dev
|
|
- libssl-dev
|
|
- libxdo-dev
|
|
- libgtk-3-dev
|
|
- pkg-config
|
|
|
|
# Run the provisioner as the new user on first boot. It installs Node + Rust, pulls the
|
|
# repo, and runs `npm install` for the desktop app. After the script finishes, logging in
|
|
# to GNOME and running `cd ~/codeburn/desktop && npm run tauri dev` brings the tray up.
|
|
late-commands:
|
|
- curtin in-target --target=/target -- bash -lc '
|
|
sudo -iu codeburn bash -lc "
|
|
curl -fsSL https://raw.githubusercontent.com/getagentseal/codeburn/feat/tauri-menubar-win-linux/desktop/Scripts/provision-linux.sh \
|
|
-o /home/codeburn/provision.sh
|
|
chmod +x /home/codeburn/provision.sh
|
|
"
|
|
'
|
|
|
|
shutdown: reboot
|