mirror of
https://github.com/ryanvolz/radioconda.git
synced 2024-11-08 10:26:08 -05:00
Revert "Switch to miniforge_console_shortcut, now it uses distribution name."
This reverts commit db47f5f249
.
This commit is contained in:
parent
b0b6723184
commit
033fd82239
@ -1,6 +1,7 @@
|
||||
name: radioconda
|
||||
channels:
|
||||
- conda-forge
|
||||
- ryanvolz # [win]
|
||||
platforms:
|
||||
- linux-64
|
||||
- osx-64
|
||||
@ -23,7 +24,7 @@ dependencies:
|
||||
- python
|
||||
# restrict to python 3.8 on Windows for Windows 7 compatibility
|
||||
- python 3.8.* # [win]
|
||||
- miniforge_console_shortcut # [win]
|
||||
- radioconda_console_shortcut # [win]
|
||||
- rtl-sdr
|
||||
- scipy
|
||||
- soapysdr
|
||||
|
7
radioconda_console_shortcut/.gitattributes
vendored
Normal file
7
radioconda_console_shortcut/.gitattributes
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
* text=auto
|
||||
|
||||
*.patch binary
|
||||
*.diff binary
|
||||
meta.yaml text eol=lf
|
||||
build.sh text eol=lf
|
||||
bld.bat text eol=crlf
|
28
radioconda_console_shortcut/LICENSE.txt
Normal file
28
radioconda_console_shortcut/LICENSE.txt
Normal file
@ -0,0 +1,28 @@
|
||||
BSD 3-Clause License
|
||||
|
||||
Copyright (c) 2012, Anaconda, Inc.
|
||||
Copyright (c) 2015-2019, conda-forge
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
* Neither the name of the copyright holder nor the names of its
|
||||
contributors may be used to endorse or promote products
|
||||
derived from this software without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
|
||||
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
|
||||
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
7
radioconda_console_shortcut/bld.bat
Executable file
7
radioconda_console_shortcut/bld.bat
Executable file
@ -0,0 +1,7 @@
|
||||
set MENU_DIR="%PREFIX%\Menu"
|
||||
if not exist %MENU_DIR% mkdir %MENU_DIR%
|
||||
|
||||
:: icon is in public domain: https://github.com/paomedia/small-n-flat
|
||||
|
||||
copy "%RECIPE_DIR%\console_shortcut.ico" %MENU_DIR%
|
||||
copy "%RECIPE_DIR%\console_shortcut.json" %MENU_DIR%
|
BIN
radioconda_console_shortcut/console_shortcut.ico
Normal file
BIN
radioconda_console_shortcut/console_shortcut.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 162 KiB |
12
radioconda_console_shortcut/console_shortcut.json
Normal file
12
radioconda_console_shortcut/console_shortcut.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"menu_name": "radioconda",
|
||||
"menu_items":
|
||||
[
|
||||
{
|
||||
"name": "Conda Prompt",
|
||||
"system": "%windir%\\system32\\cmd.exe",
|
||||
"scriptarguments": ["/K", "${ROOT_PREFIX}\\Scripts\\activate.bat", "${PREFIX}"],
|
||||
"icon": "${MENU_DIR}/console_shortcut.ico"
|
||||
}
|
||||
]
|
||||
}
|
25
radioconda_console_shortcut/meta.yaml
Normal file
25
radioconda_console_shortcut/meta.yaml
Normal file
@ -0,0 +1,25 @@
|
||||
{% set version = "1.0" %}
|
||||
{% set build = 0 %}
|
||||
|
||||
package:
|
||||
name: radioconda_console_shortcut
|
||||
version: {{ version }}
|
||||
|
||||
build:
|
||||
number: {{ build }}
|
||||
skip: True # [not win]
|
||||
|
||||
test:
|
||||
commands:
|
||||
- if not exist %PREFIX%\\Menu\\console_shortcut.json exit 1
|
||||
- if not exist %PREFIX%\\Menu\\console_shortcut.ico exit
|
||||
|
||||
about:
|
||||
home: https://github.com/ryanvolz/radioconda
|
||||
summary: Command prompt shortcut for Windows with base environment activated
|
||||
license: BSD-3-Clause
|
||||
license_file: LICENSE.txt
|
||||
|
||||
extra:
|
||||
recipe-maintainers:
|
||||
- ryanvolz
|
Loading…
Reference in New Issue
Block a user