-
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.
this fixes a problem with the deployer script.
- Loading branch information
Samuel
committed
Nov 12, 2018
1 parent
1e1ca36
commit 12305c0
Showing
15 changed files
with
47 additions
and
135,955 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#INSTRUCTIONS | ||
#1. place in the root directory of the text to speech mod project | ||
#2. open a command shell | ||
#3. change the shell's directory to the project's root directory, using a "cd" command. | ||
#4. enter the name of this script in the shell. | ||
#5. follow the prompts. | ||
#6. profit! | ||
|
||
$outputdir = Read-Host -Prompt "Enter an absolute path to the Space Engineers mod directory: " | ||
$inputdir = ".\mirrored workshop build" | ||
$outputfolder = "texttospeechmod" | ||
$projectfile = "SE TextToSpeechMod.csproj" | ||
$scriptdir = "Scripts/folder required here" | ||
|
||
Write-Host "deploying text to speech mod..." | ||
|
||
if ($outputdir.EndsWith("/")) | ||
{ | ||
$outputfolder = $outputdir + $outputfolder | ||
} | ||
|
||
else | ||
{ | ||
$outputfolder = $outputdir + "/" + $outputfolder | ||
} | ||
Write-Host "using output folder: " $outputfolder | ||
|
||
Write-Host "building the project..." | ||
"MSBuild.exe " + $projectfile | ||
|
||
if ($LASTEXITCODE -ne 0) | ||
{ | ||
Write-Host "build failed! get it compiling in visual studio before continuing." | ||
Exit-PSHostProcess | ||
} | ||
Write-Host "build succeeded." | ||
|
||
Write-Host "copying mirrored directory..." | ||
CopyItem $inputdir -Destination $outputdir -Recurse | ||
Write-Host "mirror directory copied." | ||
|
||
Write-Host "overwriting with fresh script files..." | ||
|
||
|
||
|
97 changes: 0 additions & 97 deletions
97
mirrored workshop build/Data/scripts/folder required here/AttendanceManager.cs
This file was deleted.
Oops, something went wrong.
192 changes: 0 additions & 192 deletions
192
mirrored workshop build/Data/scripts/folder required here/ChatManager.cs
This file was deleted.
Oops, something went wrong.
33 changes: 0 additions & 33 deletions
33
mirrored workshop build/Data/scripts/folder required here/GLADOSVoice.cs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.