feat: support desktop

This commit is contained in:
mrxiaozhuox committed 2022-01-24 11:55:27 +08:00
1 parent bb69a04045
commit d695777402
4 files changed
+110 -80

No files matched your search

+4
View File
@@ -38,6 +38,10 @@ pub struct ConfigOptsServe {
#[structopt(long)]
#[serde(default)]
pub release: bool,
/// Build platform: support Web & Desktop [default: "web"]
#[structopt(long)]
pub platform: Option<String>,
}
/// Ensure the given value for `--public-url` is formatted correctly.