You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (!packager.getPlatform().isCurrentPlatform()) {
36
+
Logger.warn(getArtifactName() + " cannot be generated due to the target platform (" + packager.getPlatform() + ") is different from the execution platform (" + Platform.getCurrentPlatform() + ")!");
if (!packager.getPlatform().isCurrentPlatform()) {
30
+
Logger.warn(getArtifactName() + " cannot be generated due to the target platform (" + packager.getPlatform() + ") is different from the execution platform (" + Platform.getCurrentPlatform() + ")!");
if (!packager.getWinConfig().isGenerateMsm() && !packager.getWinConfig().isGenerateMsi()) {
25
+
returntrue;
26
+
}
27
+
28
+
if (!packager.getPlatform().isCurrentPlatform()) {
29
+
Logger.warn(getArtifactName() + " cannot be generated due to the target platform (" + packager.getPlatform() + ") is different from the execution platform (" + Platform.getCurrentPlatform() + ")!");
* Creates a PKG installer file including all app folder's content only for MacOS so
@@ -16,7 +18,17 @@ public GeneratePkg() {
16
18
17
19
@Override
18
20
publicbooleanskip(Packagerpackager) {
19
-
return !packager.getMacConfig().isGeneratePkg();
21
+
22
+
if (!packager.getMacConfig().isGeneratePkg()) {
23
+
returntrue;
24
+
}
25
+
26
+
if (!packager.getPlatform().isCurrentPlatform()) {
27
+
Logger.warn(getArtifactName() + " cannot be generated due to the target platform (" + packager.getPlatform() + ") is different from the execution platform (" + Platform.getCurrentPlatform() + ")!");
0 commit comments