Rebrand to Galaxy, major improvements to Bedrock support, still needs some TLC though
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
use anyhow::Result;
|
||||
use objc2_foundation::NSBundle;
|
||||
|
||||
/// Apple Developer Team ID used for code signing and validation.
|
||||
pub const APPLE_TEAM_ID: &str = "2BBY89MBSN";
|
||||
|
||||
/// Get the path to the macOS `.app` bundle.
|
||||
pub fn get_bundle_path() -> Result<String> {
|
||||
let bundle = NSBundle::mainBundle();
|
||||
let path = bundle.bundlePath();
|
||||
Ok(path.to_string())
|
||||
}
|
||||
Reference in New Issue
Block a user