-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
handle encoded replies, request scripts and css
- Loading branch information
Grrwahrr
committed
Apr 15, 2022
1 parent
79f9184
commit ed293de
Showing
4 changed files
with
47 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
use std::io; | ||
#[cfg(windows)] use winres::WindowsResource; | ||
#[cfg(windows)] | ||
use winres::WindowsResource; | ||
|
||
fn main() -> io::Result<()> { | ||
#[cfg(windows)] { | ||
#[cfg(windows)] | ||
{ | ||
WindowsResource::new() | ||
// This path can be absolute, or relative to your crate root. | ||
.set_icon("assets/app.ico") | ||
.compile()?; | ||
} | ||
Ok(()) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters