forked from 1b-agent/opencadstudio-upstream
- .github/workflows/release.yml: remove the build-flatpak job; matrix- add macOS (arm64 + x86_64) that builds H7CAD.app by hand, renders .icns from assets/logo.svg via librsvg + iconutil, and packages a UDZO .dmg. AppImage path updated to packaging/H7CAD.desktop. - packaging/H7CAD.desktop: moved out of flatpak/ so the AppImage job doesn't depend on a Flatpak layout. - packaging/Info.plist: macOS bundle template; __VERSION__ swapped for the release tag at build time. - flatpak/: deleted (manifests, metainfo, desktop, builder cache). - src/main.rs: `#![cfg_attr(all(windows, not(debug_assertions)), windows_subsystem = "windows")]` so the Windows GUI binary no longer spawns a console window alongside it (debug builds keep the console for log output). - README: add macOS install section, document Gatekeeper / SmartScreen on first launch since the binaries are unsigned. Bump to 0.3.5. Co-Authored-By: Claude Opus 4.7 <[email protected]>
22 lines
489 B
Rust
22 lines
489 B
Rust
#![allow(non_snake_case)]
|
|
// On Windows release builds, hide the console window the OS would
|
|
// otherwise spawn alongside the GUI. Debug builds keep stdout/stderr
|
|
// attached so eprintln! / panics stay visible while developing.
|
|
#![cfg_attr(all(windows, not(debug_assertions)), windows_subsystem = "windows")]
|
|
|
|
mod app;
|
|
mod command;
|
|
mod entities;
|
|
mod io;
|
|
mod linetypes;
|
|
mod modules;
|
|
mod patterns;
|
|
mod scene;
|
|
mod snap;
|
|
mod ui;
|
|
mod update_check;
|
|
|
|
fn main() -> iced::Result {
|
|
app::run()
|
|
}
|