Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Commit

Permalink
add console_shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Sarahan committed Oct 13, 2015
1 parent 3a03f56 commit 5d60ec7
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
Binary file added console_shortcut/Iconleak-Atrous-Console.ico
Binary file not shown.
8 changes: 8 additions & 0 deletions console_shortcut/bld.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
set MENU_DIR=%PREFIX%\Menu
IF NOT EXIST (%MENU_DIR%) mkdir %MENU_DIR%

copy %RECIPE_DIR%\Iconleak-Atrous-Console.ico %MENU_DIR%
if errorlevel 1 exit 1

copy %RECIPE_DIR%\menu-windows.json %MENU_DIR%\console_shortcut.json
if errorlevel 1 exit 1
12 changes: 12 additions & 0 deletions console_shortcut/menu-windows.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"menu_name": "Python Prompts",
"menu_items":
[
{
"name": "Conda Env Prompt",
"system": "%windir%\\system32\\cmd.exe",
"scriptargument": ["/K", "${PYTHON_SCRIPTS}\\activate.bat", "${ENV_NAME}"],
"icon": "${MENU_DIR}/Iconleak-Atrous-Console.ico"
}
]
}
7 changes: 7 additions & 0 deletions console_shortcut/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package:
name: console_shortcut
version: 0.1.0

about:
license: BSD
summary: Shortcut creator for Windows (using menuinst)

0 comments on commit 5d60ec7

Please sign in to comment.