From c2bc8926af45189180dad6f35fc6df6b8f7b8cce Mon Sep 17 00:00:00 2001 From: Francisco Ribeiro Date: Sat, 9 Apr 2022 23:50:32 +0100 Subject: [PATCH] Update to 1.21.0 --- build.ps1 | 10 +++++----- createqmod.ps1 | 4 ++-- mod.json | 6 +++--- qpm.json | 9 +++++---- 4 files changed, 15 insertions(+), 14 deletions(-) diff --git a/build.ps1 b/build.ps1 index 8fba68e..a6176a4 100644 --- a/build.ps1 +++ b/build.ps1 @@ -7,10 +7,10 @@ Param( ) if ($help -eq $true) { - echo "`"Build`" - Copiles your mod into a `".so`" or a `".a`" library" - echo "`n-- Arguments --`n" + Write-Output "`"Build`" - Copiles your mod into a `".so`" or a `".a`" library" + Write-Output "`n-- Arguments --`n" - echo "-Clean `t`t Deletes the `"build`" folder, so that the entire library is rebuilt" + Write-Output "-Clean `t`t Deletes the `"build`" folder, so that the entire library is rebuilt" exit } @@ -30,7 +30,7 @@ if (($clean.IsPresent) -or (-not (Test-Path -Path "build"))) $out = new-item -Path build -ItemType Directory } -cd build +Set-Location build & cmake -G "Ninja" -DCMAKE_BUILD_TYPE="RelWithDebInfo" ../ & cmake --build . -cd .. \ No newline at end of file +Set-Location .. \ No newline at end of file diff --git a/createqmod.ps1 b/createqmod.ps1 index 8584494..2ae4276 100644 --- a/createqmod.ps1 +++ b/createqmod.ps1 @@ -6,7 +6,7 @@ Param( if ($qmodName -eq "") { - echo "Give a proper qmod name and try again" + Write-Output "Give a proper qmod name and try again" exit } $mod = "./mod.json" @@ -45,7 +45,7 @@ $qmod = $qmodName + ".qmod" if ((-not ($clean.IsPresent)) -and (Test-Path $qmod)) { - echo "Making Clean Qmod" + Write-Output "Making Clean Qmod" Move-Item $qmod $zip -Force } diff --git a/mod.json b/mod.json index 4092e76..311afb1 100644 --- a/mod.json +++ b/mod.json @@ -3,14 +3,14 @@ "name": "SearchFixes", "id": "SearchFixes", "author": "rui2015", - "version": "1.2.0", + "version": "1.2.1", "packageId": "com.beatgames.beatsaber", - "packageVersion": "1.20.0", + "packageVersion": "1.21.0", "description": "An improved search algorithm for Beat Saber", "modFiles": [ "libSearchFixes.so" ], "libraryFiles": [ - "libbeatsaber-hook_3_6_8.so" + "libbeatsaber-hook_3_8_1.so" ] } diff --git a/qpm.json b/qpm.json index 8972926..94aff3f 100644 --- a/qpm.json +++ b/qpm.json @@ -4,7 +4,7 @@ "info": { "name": "SearchFixes", "id": "SearchFixes", - "version": "1.2.0", + "version": "1.2.1", "url": null, "additionalData": { "overrideSoName": "libSearchFixes.so" @@ -13,16 +13,17 @@ "dependencies": [ { "id": "beatsaber-hook", - "versionRange": "^3.6.8", + "versionRange": "^3.8.1", "additionalData": { "extraFiles": [ "src/inline-hook" - ] + ], + "useRelease": true } }, { "id": "codegen", - "versionRange": "^0.21.0", + "versionRange": "^0.22.0", "additionalData": {} } ],