feat: appimage support!!

This commit is contained in:
Nova
2023-05-19 18:12:22 -04:00
parent 415bf5bb04
commit 633df045d4
2 changed files with 27 additions and 12 deletions

View File

@@ -8,6 +8,33 @@ license = "GPLv2"
repository = "https://github.com/StardustXR/stardust-xr-server/" repository = "https://github.com/StardustXR/stardust-xr-server/"
homepage = "https://stardustxr.org" homepage = "https://stardustxr.org"
[[bin]]
name = "stardust-xr-server"
path = "src/main.rs"
[features]
default = ["wayland"]
wayland = ["dep:smithay", "dep:xkbcommon"]
profile_tokio = ["dep:console-subscriber", "tokio/tracing"]
profile_app = ["dep:tracing-chrome"]
[package.metadata.appimage]
auto_link = true
auto_link_exclude_list = [
"libc*",
"libdl*",
"libpthread*",
"ld-linux*",
"libGL*",
"libEGL*"
]
[profile.dev.package."*"]
opt-level = 3
[profile.release]
strip = true
lto = true
[dependencies] [dependencies]
color-eyre = { version = "0.6.2", default-features = false } color-eyre = { version = "0.6.2", default-features = false }
clap = { version = "4.2.4", features = ["derive"] } clap = { version = "4.2.4", features = ["derive"] }
@@ -53,18 +80,6 @@ optional = true
version = "0.7.1" version = "0.7.1"
optional = true optional = true
[features]
default = ["wayland"]
wayland = ["dep:smithay", "dep:xkbcommon"]
profile_tokio = ["dep:console-subscriber", "tokio/tracing"]
profile_app = ["dep:tracing-chrome"]
[profile.dev.package."*"]
opt-level = 3
[profile.release]
strip = true
lto = true
# [patch.crates-io.stereokit] # [patch.crates-io.stereokit]
# path = "../stereokit-rs" # path = "../stereokit-rs"
# [patch.crates-io.stereokit-sys] # [patch.crates-io.stereokit-sys]

BIN
icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 KiB