-
Notifications
You must be signed in to change notification settings - Fork 2
MAINT: adds plugin install tab for apple silicon arch #20
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
Changes from 2 commits
4712b76
0d6f4e1
22796ed
6db3b12
c217f6e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -9,10 +9,22 @@ | |
| } | ||
|
|
||
| const create = $derived(`conda env create --name ${env_name} --file ${env_url}`); | ||
| const create_silicon = $derived( | ||
| [ | ||
| "CONDA_SUBDIR=osx-64 conda env create", | ||
| `--name ${env_name}`, | ||
| `--file ${env_url}`, | ||
lizgehret marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| `conda activate ${env_name}`, | ||
| "conda config --env --set subdir osx-64" | ||
| ].join('\n') | ||
| ); | ||
| const update = $derived(`conda env update --file ${env_url}`); | ||
|
|
||
| const ast = $derived(u('div', key({class: '-my-5'}), [u('tabSet', key(), [ | ||
| u('tabItem', key({title: '[Fresh Install]'}), [ | ||
| u('tabItem', key({title: '[Fresh Install (Apple Silicon)]'}), [ | ||
| u('code', key({lang: 'bash', class: '!my-3'}), create_silicon), | ||
| ]), | ||
| u('tabItem', key({title: '[Fresh Install (all other architectures)]'}), [ | ||
|
||
| u('code', key({lang: 'bash', class: '!my-3'}), create), | ||
| ]), | ||
| u('tabItem', key({title: '[Update Existing]'}), [ | ||
|
|
@@ -23,4 +35,4 @@ | |
|
|
||
| </script> | ||
|
|
||
| <MySTMinimal {ast}/> | ||
| <MySTMinimal {ast}/> | ||

Uh oh!
There was an error while loading. Please reload this page.