Title: installpsh-osx.sh does not install visual-studio-code from cask · Issue #4511 · PowerShell/PowerShell · GitHub
Open Graph Title: installpsh-osx.sh does not install visual-studio-code from cask · Issue #4511 · PowerShell/PowerShell
X Title: installpsh-osx.sh does not install visual-studio-code from cask · Issue #4511 · PowerShell/PowerShell
Description: I am posting this at the request of DarwinJS I was reviewing the OS X installer & noticed that the brew install command for visual-studio-code did not include the cask option. On my system a "brew search visual-studio-code" clearly found...
Open Graph Description: I am posting this at the request of DarwinJS I was reviewing the OS X installer & noticed that the brew install command for visual-studio-code did not include the cask option. On my system a "brew ...
X Description: I am posting this at the request of DarwinJS I was reviewing the OS X installer & noticed that the brew install command for visual-studio-code did not include the cask option. On my system a &q...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/4511
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"installpsh-osx.sh does not install visual-studio-code from cask","articleBody":"I am posting this at the request of DarwinJS\r\n\r\nI was reviewing the OS X installer \u0026 noticed that the brew install command for visual-studio-code did not include the cask option. On my system a \"brew search visual-studio-code\" clearly found the installer in cask room/cask. \r\n\r\nSteps to reproduce\r\n------------------\r\n\r\n/usr/local/microsoft/powershell $ brew search visual-studio-code\r\ncaskroom/cask/visual-studio-code\r\ncaskroom/versions/visual-studio-code-insiders\r\n\r\nActual Code snippet\r\n--------------------\r\n```\r\nif [[ \"'$*'\" =~ includeide ]] ; then\r\n echo \"\\n*** Installing VS Code PowerShell IDE...\"\r\n if [[ ! -d $(brew --prefix visual-studio-code) ]]; then\r\n if ! brew install visual-studio-code; then\r\n echo \"ERROR: Visual Studio Code failed to install...\" \u003e\u00262\r\n exit 1\r\n fi\r\n else\r\n brew upgrade visual-studio-code\r\n fi\r\n```\r\nEnvironment Data\r\n------------------\r\n\r\n```\r\n/usr/local/microsoft/powershell $ brew cask info powershell\r\npowershell: 6.0.0-beta.5\r\nhttps://github.com/PowerShell/PowerShell\r\n/usr/local/Caskroom/powershell/6.0.0-beta.5 (50.8MB)\r\nFrom: https://github.com/caskroom/homebrew-cask/blob/master/Casks/powershell.rb\r\n==\u003e Name\r\nPowerShell\r\n==\u003e Artifacts\r\npowershell-6.0.0-beta.5-osx.10.12-x64.pkg (pkg)\r\n==\u003e Caveats\r\nA OpenSSL-backed libcurl is required for custom handling of certificates.\r\nThis is rarely needed, but you can install it with\r\n brew install curl --with-openssl\r\nSee https://github.com/PowerShell/PowerShell/issues/2211\r\n\r\n/usr/local/microsoft/powershell $ brew cask info visual-studio-code\r\nvisual-studio-code: 1.14.2,cb82febafda0c8c199b9201ad274e25d9a76874e\r\nhttps://code.visualstudio.com/\r\n/usr/local/Caskroom/visual-studio-code/1.14.2,cb82febafda0c8c199b9201ad274e25d9a76874e (68B)\r\nFrom: https://github.com/caskroom/homebrew-cask/blob/master/Casks/visual-studio-code.rb\r\n==\u003e Names\r\nMicrosoft Visual Studio Code\r\nVS Code\r\n==\u003e Artifacts\r\nVisual Studio Code.app (app)\r\n/Applications/Visual Studio Code.app/Contents/Resources/app/bin/code (binary)\r\n\r\n```\r\n","author":{"url":"https://github.com/DonPwrShellHunt","@type":"Person","name":"DonPwrShellHunt"},"datePublished":"2017-08-06T12:32:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/4511/PowerShell/issues/4511"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:01f2c009-da84-8049-4100-58ab08649526 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B9D6:3E5B83:D8BEAF:13808C7:6A589709 |
| html-safe-nonce | ea8b92cc2807205fd8eacda7b3eb5e5568ec9e194ba14cda0f5b05698fcfd61b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOUQ2OjNFNUI4MzpEOEJFQUY6MTM4MDhDNzo2QTU4OTcwOSIsInZpc2l0b3JfaWQiOiIzOTI3ODEwNzU1NzY1MjQ1NzA1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 245d8ec4dbd8b2d890a621a9452ec88cb8c6ee916b2197bd91f2085a89f29080 |
| hovercard-subject-tag | issue:248244492 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/4511/issue_layout |
| twitter:image | https://opengraph.githubassets.com/44bce2286ab519f9c18064af6ee7d90c5f7c788e26706625d6fbf0f5a86d98a7/PowerShell/PowerShell/issues/4511 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/44bce2286ab519f9c18064af6ee7d90c5f7c788e26706625d6fbf0f5a86d98a7/PowerShell/PowerShell/issues/4511 |
| og:image:alt | I am posting this at the request of DarwinJS I was reviewing the OS X installer & noticed that the brew install command for visual-studio-code did not include the cask option. On my system a "brew ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | DonPwrShellHunt |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f2a0c7865178af3d91dd9f13b0cdfc3c73a2529c873d2780bb4c01271a57ec6 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8aae7b8d6caacacf5c66eaeb2702d8dc88d85b4a |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width