This repository has been archived by the owner on Jun 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
1,702 additions
and
477 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,35 @@ | ||
REM Check for a user defined environnment variable (PYTHON4SSNAKE) containing the location of python interpreter. | ||
REM Else this script will start ssNake only if pyw.exe or pythonw.exe is found in current path search. | ||
REM Otherwise it will quit | ||
@echo off | ||
set mypath=%cd% | ||
cd ..\.. | ||
|
||
IF DEFINED PYTHON4SSNAKE ( | ||
set PYTHONW=%PYTHON4SSNAKE% | ||
goto run_ssnake | ||
) | ||
|
||
where /q pyw | ||
IF ERRORLEVEL 1 ( | ||
ECHO 'pyw' is missing, try 'pythonw' | ||
where /q pythonw | ||
IF ERRORLEVEL 1 ( | ||
ECHO 'pythonw' also missing. Abort. | ||
) ELSE ( | ||
start pythonw "%mypath%"\ssNake.py | ||
) | ||
ECHO 'pyw' not in search path, try 'pythonw' | ||
) ELSE ( | ||
start pyw "%mypath%"\ssNake.py | ||
SET PYTHONW=pyw | ||
goto run_ssnake | ||
) | ||
|
||
where /q pythonw | ||
IF ERRORLEVEL 1 ( | ||
ECHO 'pythonw' also not in search path. | ||
) ELSE ( | ||
SET PYTHONW=pythonw | ||
goto run_ssnake | ||
) | ||
ECHO No python interpreter found: about to leave | ||
PAUSE | ||
EXIT | ||
|
||
:run_ssnake | ||
REM Let's try running ssNake !!!! | ||
start "ssNake" %PYTHONW% "%mypath%"\ssNake.py | ||
|
Oops, something went wrong.