mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-24 21:23:07 +00:00
fix: fullstack server exec ext (#3198)
This commit is contained in:
parent
ce0c3771ec
commit
8a998e7d49
1 changed files with 12 additions and 6 deletions
|
@ -601,12 +601,18 @@ impl AppBundle {
|
|||
|
||||
pub(crate) fn server_exe(&self) -> Option<PathBuf> {
|
||||
if let Some(_server) = &self.server {
|
||||
return Some(
|
||||
self.build
|
||||
.krate
|
||||
.build_dir(Platform::Server, self.build.build.release)
|
||||
.join("server"),
|
||||
);
|
||||
let mut path = self
|
||||
.build
|
||||
.krate
|
||||
.build_dir(Platform::Server, self.build.build.release);
|
||||
|
||||
if cfg!(windows) {
|
||||
path.push("server.exe");
|
||||
} else {
|
||||
path.push("server");
|
||||
}
|
||||
|
||||
return Some(path);
|
||||
}
|
||||
|
||||
None
|
||||
|
|
Loading…
Reference in a new issue