Started to try and rebrand this?

This commit is contained in:
2026-10-14 18:13:12 -07:00
parent d75a21deef
commit 79f21bf6f3
28 changed files with 506 additions and 25 deletions
+5 -3
View File
@@ -31,6 +31,8 @@ mod window;
use effectcraft_ui_egui::EffectcraftApp;
use serde_json::json;
const APP_NAME: &str = "EffectCraft";
/// The app icon for the window, taskbar and Dock (assets/app-icon, regenerated by
/// `packaging/icons.sh`). macOS gets the padded variant so it sits on Apple's icon grid in the Dock.
/// The 256 px app icon (Windows, Linux; the AppImage's desktop integration installs it too).
@@ -161,7 +163,7 @@ fn main() -> eframe::Result {
let notice = launch.notice.take();
let options = eframe::NativeOptions {
viewport: egui::ViewportBuilder::default()
.with_title("EffectCraft")
.with_title(APP_NAME)
.with_inner_size(window::DEFAULT_SIZE)
.with_min_inner_size(window::MIN_SIZE)
.with_drag_and_drop(true)
@@ -184,7 +186,7 @@ fn main() -> eframe::Result {
#[cfg(target_os = "macos")]
let apple_events = &apple_events;
let result = eframe::run_native(
"EffectCraft",
APP_NAME,
options,
Box::new(move |cc| {
match &cc.wgpu_render_state {
@@ -386,7 +388,7 @@ fn startup_failed(e: &eframe::Error, gl_next: bool) {
}
let _ = rfd::MessageDialog::new()
.set_level(rfd::MessageLevel::Error)
.set_title("EffectCraft")
.set_title(APP_NAME)
.set_description(message)
.set_buttons(rfd::MessageButtons::Ok)
.show();