mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 14:18:04 +08:00
Desktop: Bundle for Mac and Windows (#3297)
* add bundle for mac os and windows * Fix bundle name This name gets used as the display name of the app on mac os, shorter name looks better and is more consistent. * preserve std out by running bin directly * bundle placeholder on linux * fix linux
This commit is contained in:
16
desktop/platform/mac/Cargo.toml
Normal file
16
desktop/platform/mac/Cargo.toml
Normal file
@@ -0,0 +1,16 @@
|
||||
[package]
|
||||
name = "graphite-desktop-platform-mac"
|
||||
version = "0.0.0"
|
||||
description = "Graphite Desktop Platform Mac"
|
||||
authors = ["Graphite Authors <contact@graphite.rs>"]
|
||||
license = "Apache-2.0"
|
||||
repository = ""
|
||||
edition = "2024"
|
||||
rust-version = "1.87"
|
||||
|
||||
[[bin]]
|
||||
name = "graphite-desktop-platform-mac-helper"
|
||||
path = "src/helper.rs"
|
||||
|
||||
[dependencies]
|
||||
graphite-desktop = { path = "../.." }
|
||||
3
desktop/platform/mac/src/helper.rs
Normal file
3
desktop/platform/mac/src/helper.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
graphite_desktop::start_helper();
|
||||
}
|
||||
3
desktop/platform/mac/src/main.rs
Normal file
3
desktop/platform/mac/src/main.rs
Normal file
@@ -0,0 +1,3 @@
|
||||
fn main() {
|
||||
graphite_desktop::start();
|
||||
}
|
||||
Reference in New Issue
Block a user