mirror of
https://github.com/Stremio/stremio-shell-ng.git
synced 2026-04-21 11:51:56 +00:00
Fix formatting
This commit is contained in:
parent
12b958a533
commit
22b9074ddd
3 changed files with 25 additions and 23 deletions
6
build.rs
6
build.rs
|
|
@ -7,7 +7,8 @@ fn main() {
|
||||||
let copyright = format!("Copyright © {} Smart Code OOD", now.year());
|
let copyright = format!("Copyright © {} Smart Code OOD", now.year());
|
||||||
let exe_name = format!("{}.exe", env::var("CARGO_PKG_NAME").unwrap());
|
let exe_name = format!("{}.exe", env::var("CARGO_PKG_NAME").unwrap());
|
||||||
let mut res = winres::WindowsResource::new();
|
let mut res = winres::WindowsResource::new();
|
||||||
res.set_manifest(r#"
|
res.set_manifest(
|
||||||
|
r#"
|
||||||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
@ -23,7 +24,8 @@ fn main() {
|
||||||
</dependentAssembly>
|
</dependentAssembly>
|
||||||
</dependency>
|
</dependency>
|
||||||
</assembly>
|
</assembly>
|
||||||
"#);
|
"#,
|
||||||
|
);
|
||||||
res.set("FileDescription", "Freedom to Stream");
|
res.set("FileDescription", "Freedom to Stream");
|
||||||
res.set("LegalCopyright", ©right);
|
res.set("LegalCopyright", ©right);
|
||||||
res.set("OriginalFilename", &exe_name);
|
res.set("OriginalFilename", &exe_name);
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
pub mod app;
|
pub mod app;
|
||||||
pub use app::MainWindow;
|
pub use app::MainWindow;
|
||||||
pub mod stremio_wevbiew;
|
pub mod ipc;
|
||||||
pub mod stremio_player;
|
pub mod stremio_player;
|
||||||
pub mod stremio_server;
|
pub mod stremio_server;
|
||||||
pub mod ipc;
|
pub mod stremio_wevbiew;
|
||||||
pub use ipc::RPCResponse;
|
pub use ipc::RPCResponse;
|
||||||
pub mod systray;
|
pub mod named_pipe;
|
||||||
pub mod splash;
|
pub mod splash;
|
||||||
pub mod window_helper;
|
pub mod systray;
|
||||||
pub mod named_pipe;
|
pub mod window_helper;
|
||||||
pub use named_pipe::{PipeClient, PipeServer};
|
pub use named_pipe::{PipeClient, PipeServer};
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
pub mod player;
|
pub mod player;
|
||||||
pub use player::Player;
|
pub use player::Player;
|
||||||
pub mod communication;
|
pub mod communication;
|
||||||
pub use communication::{
|
pub use communication::{
|
||||||
CmdVal, InMsg, InMsgArgs, InMsgFn, PlayerEnded,
|
CmdVal, InMsg, InMsgArgs, InMsgFn, PlayerEnded, PlayerEvent, PlayerProprChange, PlayerResponse,
|
||||||
PlayerEvent, PlayerProprChange, PlayerResponse, PropKey, PropVal,
|
PropKey, PropVal,
|
||||||
};
|
};
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod communication_tests;
|
mod communication_tests;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue