docs: explain how to hide the windows command prompt in apps #840
Labels
No labels
CI
all
basisu
blog
bug
build
contributor-friendly
core
correctness
deferred
dev
direct3d-headers
docs
driver-os-issue
duplicate
dxcompiler
editor
examples
experiment
feature-idea
feedback
flac
freetype
gamemode
gkurve
glfw
gpu
gpu-dawn
harfbuzz
help welcome
in-progress
infrastructure
invalid
libmach
linux-audio-headers
long-term
mach
mach.gfx
mach.math
mach.physics
mach.testing
model3d
needs-triage
object
opengl-headers
opus
os/linux
os/macos
os/wasm
os/windows
package-manager
priority
proposal
proposal-accepted
question
roadmap
slipped
stability
sysaudio
sysgpu
sysjs
validating-fix
vulkan-zig-generated
wayland-headers
website
wontfix
wrench
www
x11-headers
xcode-frameworks
zig-update
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
hexops/mach#840
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
should explain to users how to do this (and maybe provide a helper)
from discord convo
maybe by default make it .Console on debug builds and .Windows on release builds? id imagine this is the behaviour most people would want but still let them override it manually
Was trying to test this on macOS but then realized that a proper GUI app would require the whole
.appfolder wrapper thingy and maybe a few metadata files at minimum (and there's the codesign rabbit hole). Mach users would probably want this for release/ship-mode, but it seems a bit more involved.This seems like the kind of thing that could be provided by some small Zig library. Given some executable, package it as a macOS (maybe iOS too?) app ready for the App Store and stuff, instead of a raw executable.
As for linux, I also quickly tested on Ubuntu Desktop and found that the plain executable without any overrides to
.subsystemalready runs as expected, without any extra terminal windows. Not super familiar with the standard way to ship apps for Linux or differences between distros, but seems so far like the plain executable just works.