diff --git a/Application/BuildScripts/PostPublish.bat b/Application/BuildScripts/PostPublish.bat index fec05fb7..cef87e4d 100644 --- a/Application/BuildScripts/PostPublish.bat +++ b/Application/BuildScripts/PostPublish.bat @@ -48,8 +48,8 @@ echo making start scripts @(echo #!/bin/bash&& echo export DOTNET_CLI_TELEMETRY_OPTOUT=1&& echo dotnet Lib/IW4MAdmin.dll) > "%PublishDir%\StartIW4MAdmin.sh" echo copying update scripts -xcopy "%SourceDir%\UpdateIW4MAdmin.ps1" "%PublishDir%\UpdateIW4MAdmin.ps1" -xcopy "%SourceDir%\UpdateIW4MAdmin.sh" "%PublishDir%\UpdateIW4MAdmin.sh" +xcopy "%SourceDir%\DeploymentFiles\UpdateIW4MAdmin.ps1" "%PublishDir%\UpdateIW4MAdmin.ps1" +xcopy "%SourceDir%\DeploymentFiles\UpdateIW4MAdmin.sh" "%PublishDir%\UpdateIW4MAdmin.sh" echo moving front-end library dependencies if not exist "%PublishDir%\wwwroot\font" mkdir "%PublishDir%\wwwroot\font" diff --git a/DeploymentFiles/UpdateIW4MAdmin.sh b/DeploymentFiles/UpdateIW4MAdmin.sh index aa823fbf..75cbf91d 100644 --- a/DeploymentFiles/UpdateIW4MAdmin.sh +++ b/DeploymentFiles/UpdateIW4MAdmin.sh @@ -99,5 +99,7 @@ then exit 1 fi +chmod +x "$directory/StartIW4MAdmin.sh" + executionTime=$(($SECONDS - start)) echo "Update completed successfully in $executionTime seconds!" diff --git a/README.md b/README.md index a231637f..9d393563 100644 --- a/README.md +++ b/README.md @@ -44,12 +44,12 @@ Linux **OR** Use the provided `UpdateIW4MAdmin` script to download and install automatically -| Argument Windows (Linux) | Description | -|--------------------------|----------------------------------------------------------| -| -Silent (s) | Do not prompt for any user input | -| -Clean (c) | Clean unneeded files listed in `_dlete.txt` after update | -| -Verified (v) | Only update releases in the verified stream | - | -Directory (d) | Directory to install to | +| Argument Windows (Linux) | Description | +|--------------------------|-----------------------------------------------------------| +| -Silent (s) | Do not prompt for any user input | +| -Clean (c) | Clean unneeded files listed in `_delete.txt` after update | +| -Verified (v) | Only update releases in the verified stream | + | -Directory (d) | Directory to install to | ## Help Feel free to join the **IW4MAdmin** [Discord](https://discord.gg/ZZFK5p3)