diff --git a/compile b/compile index cc15b4a3bacb70de3b23aa7b6efe8544e52e4cbe..fe95b68a0c2cc46d8d16fb5fb59e71400a310561 100755 --- a/compile +++ b/compile @@ -55,7 +55,7 @@ else esac fi -$TWEEGO_EXE -o "bin/FC_pregmod_tmp.html" src/ || build_failed="true" +$TWEEGO_EXE -o "bin/FC_pregmod_tmp.html" src/ --head devTools/head.html || build_failed="true" # Revert AlphaDisclaimer for next compilation git checkout -- src/gui/mainMenu/AlphaDisclaimer.tw diff --git a/compile-git b/compile-git index c0b438e936314ba2e89e82330b45fef2057633da..2897281674b89f2d84eb41a552367f5c6f384ab9 100755 --- a/compile-git +++ b/compile-git @@ -37,7 +37,7 @@ else esac fi -$TWEEGO_EXE -o "bin/FC_pregmod_${HASH}_tmp.html" src/ +$TWEEGO_EXE -o "bin/FC_pregmod_${HASH}_tmp.html" src/ --head devTools/head.html || build_failed="true" #Make the output prettier, replacing \t with a tab and \n with a newline sed -i -e '/^<div id="store-area".*$/s/\\t/\t/g' -e '/^<div id="store-area".*$/s/\\n/\n/g' "bin/FC_pregmod_${HASH}_tmp.html" \ diff --git a/compile-git+java-sanityCheck.sh b/compile-git+java-sanityCheck.sh index 16f5d6ec2d1a9bac22dfb6ca22af72e5b1344d29..2fd438b3d4fc537d84bc99bd3fefc7604167077b 100755 --- a/compile-git+java-sanityCheck.sh +++ b/compile-git+java-sanityCheck.sh @@ -37,7 +37,7 @@ else esac fi -$TWEEGO_EXE -o "bin/FC_pregmod_${HASH}_tmp.html" src/ +$TWEEGO_EXE -o "bin/FC_pregmod_${HASH}_tmp.html" src/ --head devTools/head.html || build_failed="true" #Make the output prettier, replacing \t with a tab and \n with a newline sed -i -e '/^<div id="store-area".*$/s/\\t/\t/g' -e '/^<div id="store-area".*$/s/\\n/\n/g' "bin/FC_pregmod_${HASH}_tmp.html" \ diff --git a/compile.bat b/compile.bat index 03d861e77d597d40a7594f7c9a954ca7ae92f10a..c095971fa11a97bfebc5edd0738d819ad2dd8176 100644 --- a/compile.bat +++ b/compile.bat @@ -6,9 +6,9 @@ pushd %~dp0 if not exist "bin\" mkdir bin :: Run the appropriate compiler for the user's CPU architecture. if %PROCESSOR_ARCHITECTURE% == AMD64 ( - CALL "%~dp0devTools\tweeGo\tweego_win64.exe" -o "%~dp0bin/FC_pregmod.html" "%~dp0src" + CALL "%~dp0devTools\tweeGo\tweego_win64.exe" -o "%~dp0bin/FC_pregmod.html" --head devTools/head.html "%~dp0src" ) else ( - CALL "%~dp0devTools\tweeGo\tweego_win86.exe" -o "%~dp0bin/FC_pregmod.html" "%~dp0src" + CALL "%~dp0devTools\tweeGo\tweego_win86.exe" -o "%~dp0bin/FC_pregmod.html" --head devTools/head.html "%~dp0src" ) popd diff --git a/devTools/head.html b/devTools/head.html new file mode 100644 index 0000000000000000000000000000000000000000..e32f29194f6df2207e8b530ffe71accc90b44fa6 --- /dev/null +++ b/devTools/head.html @@ -0,0 +1,4 @@ +<!-- Added to the <head> of the html file --> +<link rel="shortcut icon" type="image/x-icon" href="resources/raster/favicon/arcologyVector.ico"> + +