This repository has been archived by the owner on Oct 11, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[REFRACTOR&CMAKE] only one top level "bin"-folder + fix install
we had the structure "bin/os/arch", now it all goes to "bin". Every package needs a different bin, so bundling them is stupid anyway. Furthermore this package fixes the install command.
- Loading branch information
1 parent
594e450
commit 4ea8955
Showing
9 changed files
with
26 additions
and
74 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
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,19 +1,10 @@ | ||
@ECHO OFF | ||
Setlocal EnableDelayedExpansion | ||
|
||
set INEXOR_ARCH=32 | ||
|
||
IF /I "%PROCESSOR_ARCHITECTURE%" == "amd64" ( | ||
set INEXOR_ARCH=64 | ||
) | ||
IF /I "%PROCESSOR_ARCHITEW6432%" == "amd64" ( | ||
set INEXOR_ARCH=64 | ||
) | ||
|
||
:: Clear variable | ||
set "DATA_DIRS=" | ||
:: Find all data repos in media | ||
for /f "delims=" %%a in ('dir "./media" /on /ad /b') do @set "DATA_DIRS=!DATA_DIRS! -kmedia/%%a/" | ||
|
||
start bin\windows\%INEXOR_ARCH%\inexor.exe "-q$HOME\My Games\Inexor" %DATA_DIRS% -glog.txt %* | ||
start bin\inexor.exe "-q$HOME\My Games\Inexor" %DATA_DIRS% -glog.txt %* | ||
start /B inexor_node_windows.bat |
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
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,12 +1,3 @@ | ||
@ECHO OFF | ||
|
||
set INEXOR_ARCH=win32 | ||
|
||
IF /I "%PROCESSOR_ARCHITECTURE%" == "amd64" ( | ||
set INEXOR_ARCH=win64 | ||
) | ||
IF /I "%PROCESSOR_ARCHITEW6432%" == "amd64" ( | ||
set INEXOR_ARCH=win64 | ||
) | ||
|
||
start bin\windows\%INEXOR_ARCH%\inexor.exe "-q$HOME\My Games\Inexor" -gserver-log.txt -d %* | ||
start bin\server.exe "-q$HOME\My Games\Inexor" -gserver-log.txt -d %* |