-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Download Ark builds for Windows #1933
Conversation
await executeCommand(`unzip -o ` + | ||
`${path.join('resources', 'ark', 'ark.zip')}` + | ||
` -d ` + | ||
`${path.join('resources', 'ark')}`); | ||
console.log(stdout); | ||
if (stderr) { | ||
console.error(stderr); | ||
} else { | ||
await decompress(zipFileDest, arkDir).then(files => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using decompress()
seemed like the easiest way to get platform independent unzipping? Open to other ideas. But unzip
is not natively on Windows, at least it didn't work on my VM like this.
extensions/positron-r/yarn.lock
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not entirely sure why the yarn.lock changed so much
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably decompress
has a large-ish dependency tree.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
extensions/positron-r/yarn.lock
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably decompress
has a large-ish dependency tree.
e0d8e43
to
d2c0551
Compare
Part of #159
Companion to posit-dev/ark#175
I have tested that Positron + Ark works on Windows with this in the following setups:
amalthea/
, Positron finds itresources/ark/
, uses it from thereyarn gulp vscode
locally and then running the resulting release