Title: $env:UNITY_SETUP_INSTANCE_DEFAULT_BASEPATH should be either a string of comma separated values, or an array of strings · Issue #246 · microsoft/unitysetup.powershell · GitHub
Open Graph Title: $env:UNITY_SETUP_INSTANCE_DEFAULT_BASEPATH should be either a string of comma separated values, or an array of strings · Issue #246 · microsoft/unitysetup.powershell
X Title: $env:UNITY_SETUP_INSTANCE_DEFAULT_BASEPATH should be either a string of comma separated values, or an array of strings · Issue #246 · microsoft/unitysetup.powershell
Description: The idiomatic PowerShell way to pass more than one string, would be to create a String[] and pass that in as an argument. Allowing the $env:UNITY_SETUP_INSTANCE_DEFAULT_BASEPATH environment variable to also support a PowerShell String[] ...
Open Graph Description: The idiomatic PowerShell way to pass more than one string, would be to create a String[] and pass that in as an argument. Allowing the $env:UNITY_SETUP_INSTANCE_DEFAULT_BASEPATH environment variabl...
X Description: The idiomatic PowerShell way to pass more than one string, would be to create a String[] and pass that in as an argument. Allowing the $env:UNITY_SETUP_INSTANCE_DEFAULT_BASEPATH environment variabl...
Opengraph URL: https://github.com/microsoft/unitysetup.powershell/issues/246
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"$env:UNITY_SETUP_INSTANCE_DEFAULT_BASEPATH should be either a string of comma separated values, or an array of strings","articleBody":"The idiomatic PowerShell way to pass more than one string, would be to create a `String[]` and pass that in as an argument. Allowing the `$env:UNITY_SETUP_INSTANCE_DEFAULT_BASEPATH` environment variable to also support a PowerShell `String[]` allows you to create the environment variable from within a shell or as part of the `$PROFILE`. As a string of comma separated values, it still has value when defined externally, like in Windows environment variables, where it isn't possible to define the `String[]` as a PowerShell object. Outside that case, a string array is easier to manage in a PowerShellesque way.\r\n\r\nAs an example, `$env:UNITY_SETUP_INSTANCE_DEFAULT_BASEPATH = @('C:\\Program Files*\\Unity*', 'C:\\Program Files\\Unity\\Hub\\Editor\\*')` and `$env:UNITY_SETUP_INSTANCE_DEFAULT_BASEPATH = \"C:\\Program Files*\\Unity*, C:\\Program Files\\Unity\\Hub\\Editor\\*\"` should be processed the same way by `unitysetup.powershell`. The first when defined from a PowerShell session or script, and the second when defined as a System or User environment variable.\r\n\r\nBoth have their merits.","author":{"url":"https://github.com/ryan-beesley","@type":"Person","name":"ryan-beesley"},"datePublished":"2023-03-02T00:02:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/246/unitysetup.powershell/issues/246"}
| 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:a804581a-86f8-9fe0-77d6-ec2bf28c50c9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8582:1277F6:1F20328:29688A4:697D38C2 |
| html-safe-nonce | 9a8ce136a056117754a8b7c80600566912c7147f1c2980c3af04965b49a4d046 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NTgyOjEyNzdGNjoxRjIwMzI4OjI5Njg4QTQ6Njk3RDM4QzIiLCJ2aXNpdG9yX2lkIjoiNzU1Mzk3NzkzMjI4MzM5Mzk0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 49ea868ebbee5ebcaf612a289207dd525bdf35cdc0fbcce1eeff612877c142e9 |
| hovercard-subject-tag | issue:1605884746 |
| 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/microsoft/unitysetup.powershell/246/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dccdbf4c4f0e58d3c17a02ded6f82fd13ddf97560180bb3f0bb9a6ca944eb7c2/microsoft/unitysetup.powershell/issues/246 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dccdbf4c4f0e58d3c17a02ded6f82fd13ddf97560180bb3f0bb9a6ca944eb7c2/microsoft/unitysetup.powershell/issues/246 |
| og:image:alt | The idiomatic PowerShell way to pass more than one string, would be to create a String[] and pass that in as an argument. Allowing the $env:UNITY_SETUP_INSTANCE_DEFAULT_BASEPATH environment variabl... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ryan-beesley |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9a3c7e308524eda8bf7076517aaba4e7e7984217dc521d1404369c0c497afdde |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/unitysetup.powershell git https://github.com/microsoft/unitysetup.powershell.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 112545453 |
| octolytics-dimension-repository_nwo | microsoft/unitysetup.powershell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 112545453 |
| octolytics-dimension-repository_network_root_nwo | microsoft/unitysetup.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 | 4b41f2aeb2bdce4f2f8278e78f7fe2b38a9cd441 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width