electron-cli 0.3.0-alpha.12 → 0.3.0-alpha.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,7 +12,7 @@ use serde_json::Value as JsonValue;
12
12
 
13
13
  use crate::{cli::PackageArgs, output, project::ProjectSnapshot};
14
14
 
15
- #[derive(Debug, Serialize)]
15
+ #[derive(Clone, Debug, Serialize)]
16
16
  pub(crate) struct PackageReport {
17
17
  project: ProjectSnapshot,
18
18
  app_name: String,
@@ -31,13 +31,13 @@ pub(crate) struct PackageReport {
31
31
  warnings: Vec<String>,
32
32
  }
33
33
 
34
- #[derive(Debug, Serialize)]
34
+ #[derive(Clone, Debug, Serialize)]
35
35
  struct CopyStep {
36
36
  from: Utf8PathBuf,
37
37
  to: Utf8PathBuf,
38
38
  }
39
39
 
40
- #[derive(Debug, Serialize)]
40
+ #[derive(Clone, Debug, Serialize)]
41
41
  struct PackageMetadata {
42
42
  bundle_identifier: String,
43
43
  app_version: Option<String>,
@@ -49,13 +49,13 @@ struct PackageMetadata {
49
49
  darwin_dark_mode_support: bool,
50
50
  }
51
51
 
52
- #[derive(Debug, Serialize)]
52
+ #[derive(Clone, Debug, Serialize)]
53
53
  struct IconResource {
54
54
  from: Utf8PathBuf,
55
55
  to: Utf8PathBuf,
56
56
  }
57
57
 
58
- #[derive(Debug, Serialize)]
58
+ #[derive(Clone, Copy, Debug, Serialize)]
59
59
  #[serde(rename_all = "kebab-case")]
60
60
  enum PackageStatus {
61
61
  Planned,