Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though
This commit is contained in:
+11
-13
@@ -3,18 +3,17 @@
|
||||
#![cfg_attr(feature = "release_bundle", windows_subsystem = "windows")]
|
||||
|
||||
use anyhow::Result;
|
||||
use warp_core::{
|
||||
use galaxy_core::{
|
||||
channel::{Channel, ChannelConfig, ChannelState, OzConfig, WarpServerConfig},
|
||||
AppId,
|
||||
};
|
||||
|
||||
// Simple wrapper around warp::run() for Warp OSS builds.
|
||||
fn main() -> Result<()> {
|
||||
let mut state = ChannelState::new(
|
||||
Channel::Oss,
|
||||
ChannelConfig {
|
||||
app_id: AppId::new("dev", "warp", "WarpOss"),
|
||||
logfile_name: "warp-oss.log".into(),
|
||||
app_id: AppId::new("com", "samsung", "GalaxyAI"),
|
||||
logfile_name: "galaxy-ai.log".into(),
|
||||
server_config: WarpServerConfig::production(),
|
||||
oz_config: OzConfig::production(),
|
||||
telemetry_config: None,
|
||||
@@ -24,14 +23,13 @@ fn main() -> Result<()> {
|
||||
},
|
||||
);
|
||||
if cfg!(debug_assertions) {
|
||||
state = state.with_additional_features(warp_core::features::DEBUG_FLAGS);
|
||||
state = state.with_additional_features(galaxy_core::features::DEBUG_FLAGS);
|
||||
}
|
||||
ChannelState::set(state);
|
||||
|
||||
warp::run()
|
||||
galaxy::run()
|
||||
}
|
||||
|
||||
// If we're not using an external plist, embed the following as the Info.plist.
|
||||
#[cfg(all(not(feature = "extern_plist"), target_os = "macos"))]
|
||||
embed_plist::embed_info_plist_bytes!(r#"
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
@@ -41,15 +39,15 @@ embed_plist::embed_info_plist_bytes!(r#"
|
||||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>English</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>WarpOss</string>
|
||||
<string>Galaxy AI</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>warp-oss</string>
|
||||
<string>galaxy-ai-oss</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>dev.warp.WarpOss</string>
|
||||
<string>com.samsung.GalaxyAI</string>
|
||||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>WarpOss</string>
|
||||
<string>Galaxy AI</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
@@ -61,9 +59,9 @@ embed_plist::embed_info_plist_bytes!(r#"
|
||||
<key>UIDesignRequiresCompatibility</key>
|
||||
<true/>
|
||||
<key>CFBundleURLTypes</key>
|
||||
<array><dict><key>CFBundleURLName</key><string>Custom App</string><key>CFBundleURLSchemes</key><array><string>warposs</string></array></dict></array>
|
||||
<array><dict><key>CFBundleURLName</key><string>Galaxy AI</string><key>CFBundleURLSchemes</key><array><string>galaxyai</string></array></dict></array>
|
||||
<key>NSHumanReadableCopyright</key>
|
||||
<string>© 2026, Denver Technologies, Inc</string>
|
||||
<string>© 2026, Samsung Electronics Co., Ltd.</string>
|
||||
</dict>
|
||||
</plist>
|
||||
"#.as_bytes());
|
||||
|
||||
Reference in New Issue
Block a user