Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit 6af4945

Browse files
committed
make config be a .sample
1 parent 0d8f572 commit 6af4945

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

Build.bat

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
@ECHO OFF
22
set outputFolder=build\dist
3+
rd /s /q %outputFolder%
34
pyinstaller --onefile ".\Source\Streamlabs Rcon Integration.py" --workpath ".\build" --clean --distpath ".\build\dist" --specpath ".\build"
4-
if not exist "%outputFolder%\config.json" (
5-
xcopy "Source\config.sample.json" "%outputFolder%" /q /y /i
6-
ren "%outputFolder%\config.sample.json" "config.json"
7-
)
5+
xcopy "Source\config.sample.json" "%outputFolder%" /q /y /i
86
xcopy "Source\eventDefinitions.json" "%outputFolder%" /q /y /i
97
xcopy "Profiles" "%outputFolder%\Profiles" /q /s /y /i
108
xcopy "README.md" "%outputFolder%" /q /y /i

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,12 @@ Installation & Usage
1515
2. Get the files from the [latest release zip](https://github.com/muppet9010/Streamlabs-Rcon-Integration/releases).
1616
3. Create a free account at [Currency Layer website](https://currencylayer.com) and make a note of the API access key as needs to be entered into the program's config later on.
1717
4. Unzip the files into the desired folder.
18-
5. Open config.json in a text editor and add in your details - see later in readme for details
19-
6. Run the program: Streamlabs Rcon Integration.exe
20-
7. Select the desired profile from the dropdown. Suggested are the `Print All` and `Print Most Fancy`.
21-
8. Click the Start button to connect the integration between Streamlabs and Factorio.
22-
9. The integration is now running between the Streamlabs account and the game using the selected profile. Test event sfrom streamlabs or from within the integration tool will now trigger activity within Factorio.
18+
5. Rename `config.sample.json` to be just `config.json`. This is so that future updates don't overwrite your config files.
19+
6. Open `config.json` in a text editor and add in your details - see later in readme for details
20+
7. Run the program: Streamlabs Rcon Integration.exe
21+
8. Select the desired profile from the dropdown. Suggested are the `Print All` and `Print Most Fancy`.
22+
9. Click the Start button to connect the integration between Streamlabs and Factorio.
23+
10. The integration is now running between the Streamlabs account and the game using the selected profile. Test event sfrom streamlabs or from within the integration tool will now trigger activity within Factorio.
2324

2425
Should a critical error occur the program may fail to load or close. Details can be found in the most recent log file within the Logs folder.
2526

0 commit comments

Comments
 (0)