-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #43 from nazar-pc/windows-autostart
Windows autostart
- Loading branch information
Showing
8 changed files
with
327 additions
and
191 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
name = "space-acres" | ||
description = "Space Acres is an opinionated unofficial GUI application for farming on Subspace Network" | ||
license = "0BSD" | ||
version = "0.0.5" | ||
version = "0.0.6" | ||
authors = ["Nazar Mokrynskyi <[email protected]>"] | ||
repository = "https://github.com/nazar-pc/space-acres" | ||
edition = "2021" | ||
|
@@ -13,7 +13,7 @@ include = [ | |
|
||
# TODO: Menu shortcut will not be generated automatically in case of re-init: https://github.com/volks73/cargo-wix/issues/141 | ||
[package.metadata.wix] | ||
product-icon = "res/space-acres.ico" | ||
product-icon = "res/windows/space-acres.ico" | ||
# TODO: This option will not have effect until https://github.com/volks73/cargo-wix/issues/270 is fixed in case of re-init | ||
product-name = "Space Acres" | ||
|
||
|
@@ -23,6 +23,7 @@ arc-swap = "1.6.0" | |
async-trait = "0.1.74" | ||
atomic = "0.5.3" | ||
bytesize = "1.3.0" | ||
clap = { version = "4.4.11", features = ["derive"] } | ||
dark-light = "1.0.0" | ||
dirs = "5.0.1" | ||
duct = "0.13.6" | ||
|
@@ -68,6 +69,9 @@ tokio = { version = "1.34.0", features = ["fs", "time"] } | |
tracing = "0.1.40" | ||
tracing-subscriber = "0.3.18" | ||
|
||
[target.'cfg(windows)'.build-dependencies] | ||
winres = "0.1.12" | ||
|
||
# The list of dependencies below (which can be both direct and indirect dependencies) are crates | ||
# that are suspected to be CPU-intensive, and that are unlikely to require debugging (as some of | ||
# their debug info might be missing) or to require to be frequently recompiled. We compile these | ||
|
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
fn main() { | ||
#[cfg(windows)] | ||
{ | ||
let mut res = winres::WindowsResource::new(); | ||
res.set_icon("res\\windows\\space-acres.ico"); | ||
res.compile().unwrap(); | ||
} | ||
} |
File renamed without changes.
File renamed without changes
File renamed without changes.
Oops, something went wrong.