mirror of
https://github.com/narrrl/proton-stream.git
synced 2026-11-03 16:41:26 +01:00
Toasts through WinRT, under the app id io.narl.proton-stream. The id is registered for the current user under HKCU\Software\Classes\AppUserModelId with a display name and icon on the first notification of a session, which is what lets an app with no package or installer-made shortcut show one. If that write fails, the toast goes out under PowerShell's id rather than not at all.
46 lines
1.2 KiB
TOML
46 lines
1.2 KiB
TOML
[package]
|
|
name = "pstr-app"
|
|
description = "The proton-stream desktop application."
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
license.workspace = true
|
|
repository.workspace = true
|
|
rust-version.workspace = true
|
|
authors.workspace = true
|
|
|
|
[[bin]]
|
|
name = "proton-stream"
|
|
path = "src/main.rs"
|
|
|
|
[dependencies]
|
|
pstr-core.workspace = true
|
|
pstr-meta.workspace = true
|
|
pstr-stream.workspace = true
|
|
pstr-player.workspace = true
|
|
tokio.workspace = true
|
|
futures.workspace = true
|
|
anyhow.workspace = true
|
|
tracing.workspace = true
|
|
tracing-subscriber.workspace = true
|
|
eframe.workspace = true
|
|
egui.workspace = true
|
|
egui-phosphor.workspace = true
|
|
image.workspace = true
|
|
sha2.workspace = true
|
|
parking_lot.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|
|
directories.workspace = true
|
|
chrono.workspace = true
|
|
souvlaki.workspace = true
|
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
dbus.workspace = true
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
# Named pipes, for handing a second launch's request to the open window.
|
|
tokio = { workspace = true, features = ["net"] }
|
|
windows-sys = { workspace = true, features = ["Win32_System_Power", "Win32_System_Registry"] }
|
|
tauri-winrt-notification.workspace = true
|
|
raw-window-handle = "0.6"
|