Skip to content

Commit

Permalink
Version bump, packaging script, timeline fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Mettra committed Nov 13, 2019
1 parent ed11893 commit da51e6f
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
2 changes: 0 additions & 2 deletions Assets/Scripts/Timeline.cs
Original file line number Diff line number Diff line change
Expand Up @@ -786,8 +786,6 @@ public bool LoadAudicaFile(bool loadRecent = false, string filePath = null) {
audicaLoaded = true;
difficultyManager.LoadHighestDifficulty();

StartCoroutine(AnimateSetTime(0));

//Disable timing window buttons so users don't mess stuff up.
applyButtonTiming.interactable = false;
generateAudicaButton.interactable = false;
Expand Down
26 changes: 26 additions & 0 deletions PackageOutput.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
param(
[Parameter(
Mandatory=$true,
Position=0,
HelpMessage='Set "Build and Run" folder')]
[string] $BuildAndRunFolder
)

$currentDir = Get-Location
$BuildAndRunFolder = Resolve-Path -Path $BuildAndRunFolder

Add-Type -Assembly System.IO.Compression.FileSystem
$compressionLevel = [System.IO.Compression.CompressionLevel]::Optimal

if([System.IO.File]::Exists($BuildAndRunFolder + "/NotReaper.exe")) {
Write-Host "Found NotReaper! Packaging build..."
Remove-Item -Force (Join-Path $currentDir "/NotReaper-VERSION.zip") -ErrorAction SilentlyContinue
Remove-Item -Recurse -Force ($BuildAndRunFolder + "/NotReaper_Data/.cache") -ErrorAction SilentlyContinue
Remove-Item -Recurse -Force ($BuildAndRunFolder + "/NotReaper_Data/saves") -ErrorAction SilentlyContinue
Remove-Item -Force ($BuildAndRunFolder + "/NotReaper_Data/StreamingAssets/Ogg2Audica/song.mogg") -ErrorAction SilentlyContinue
Remove-Item -Force ($BuildAndRunFolder + "/NotReaper_Data/StreamingAssets/FFMPEG/converted.ogg") -ErrorAction SilentlyContinue
[System.IO.Compression.ZipFile]::CreateFromDirectory($BuildAndRunFolder, (Join-Path $currentDir "/NotReaper-VERSION.zip"), $compressionLevel, $false)
}
else {
Write-Host "NotReaper could not be found. Please check that the folder you supplied is correct."
}
2 changes: 1 addition & 1 deletion ProjectSettings/ProjectSettings.asset
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ PlayerSettings:
16:10: 0
16:9: 1
Others: 0
bundleVersion: 1.1.0
bundleVersion: 1.1.2
preloadedAssets: []
metroInputSource: 0
wsaTransparentSwapchain: 0
Expand Down

0 comments on commit da51e6f

Please sign in to comment.