-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
cfe0945
commit 1087be9
Showing
4 changed files
with
61 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
@echo off | ||
|
||
echo changing directory to %BRAINART% | ||
|
||
CD %BRAINART% | ||
|
||
echo Currently in: %cd% | ||
echo ------------------------------------------ | ||
|
||
|
||
call .esp\Scripts\activate.bat | ||
|
||
pause | ||
|
||
echo. | ||
|
||
echo Union Neurotech 2023. (www.unionneurotech.com) | ||
echo Brain Art Program. | ||
echo For Inquires please contact unionneurotech@gmail.com | ||
echo. | ||
pause | ||
|
||
echo Starting BrainArt. This may take a moment to load. | ||
echo. | ||
|
||
python src\run.py |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/bin/bash | ||
|
||
# To use this script, follow these steps: | ||
# 1. Open a text editor (such as TextEdit or Sublime Text) on your macOS system. | ||
# 2. Copy and paste the above script into the text editor. | ||
# 3. Save the file with a ".sh" extension, such as "setup.sh". | ||
# 4. Open Terminal on your macOS system. | ||
# 5. Navigate to the directory where you saved the script using the cd command. For example, if you saved it on your desktop, you can use cd ~/Desktop. | ||
# 6. Make the script executable by running the command: chmod +x setup.sh. | ||
# 7. Run the script by entering its name: ./setup.sh. | ||
# 8. The script will execute and display the output in the Terminal, showing the value of the BRAINART environment variable set to the path of the script directory. | ||
|
||
# Get the path of the directory containing the setup script | ||
script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" | ||
|
||
# Set the BRAINART environment variable to the script directory | ||
export BRAINART="$script_dir" | ||
|
||
# Display the value of BRAINART | ||
echo "BRAINART environment variable set to: $BRAINART. You can close this now." |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
@echo off | ||
echo Currently in %~dp0 | ||
echo. | ||
echo This script will require administrator permissions to set an environment variable so that the main script can run. | ||
echo. | ||
pause | ||
SETX BRAINART %~dp0 | ||
echo Environment Variable "BRAINART" set to %~dp0 | ||
pause |