How to avoid task error on windows #672
Answered
by
joshtynjala
markdemich
asked this question in
Q&A
-
I created a task in my repo for use on the mac because I needed to add a dependsOn.
However, I get an error popup whenever I click CTRL-SHIFT-B on windows. Is there a way to avoid this? |
Beta Was this translation helpful? Give feedback.
Answered by
joshtynjala
Apr 8, 2023
Replies: 1 comment 2 replies
-
Assuming that you also need a build task for Windows, maybe you could do something like this instead: {
"type": "actionscript",
"debug": false,
"windows": {
"air": "windows",
"label": "Build XXXX.exe"
},
"osx": {
"air": "mac",
"label": "Build XXXX.app"
},
// ...
} |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think I'm going to add a new
air
value:"bundle"
. It will be equivalent to either"windows"
or"mac"
, depending on the operating system VSCode is running on.