Skip to content

Commit 46efab5

Browse files
committed
Bump version 6.3.0
1 parent 72a2a06 commit 46efab5

File tree

7 files changed

+106
-27
lines changed

7 files changed

+106
-27
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: "Setup canary ndk"
2+
description: "Sets up canary ndk"
3+
outputs:
4+
ndk-path:
5+
value: ${{ steps.path.outputs.path }}
6+
description: "Output path of the ndk"
7+
cache-hit:
8+
value: ${{ steps.cache.outputs.cache-hit }}
9+
description: "Whether a cache hit occurred for the ndk"
10+
runs:
11+
using: "composite"
12+
steps:
13+
- name: NDK cache
14+
id: cache
15+
uses: actions/cache@v3
16+
with:
17+
path: ${HOME}/android-ndk-r27-canary/
18+
key: ${{ runner.os }}-ndk-r27-canary
19+
20+
- name: Download canary ndk
21+
if: ${{ !steps.cache.outputs.cache-hit }}
22+
env:
23+
CANARY_URL: https://github.com/QuestPackageManager/ndk-canary-archive/releases/download/27.0.1/android-ndk-10883340-linux-x86_64.zip
24+
run: wget ${CANARY_URL} -O ${HOME}/ndk.zip
25+
shell: bash
26+
27+
- name: Unzip ndk
28+
if: ${{ !steps.cache.outputs.cache-hit }}
29+
run: 7z x "${HOME}/ndk.zip" -o"${HOME}/"
30+
shell: bash
31+
32+
- name: Set output
33+
id: path
34+
shell: bash
35+
run: echo "path=${HOME}/android-ndk-r27-canary" >> ${GITHUB_OUTPUT}

.github/workflows/build-ndk.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,24 @@ jobs:
3838

3939
- uses: seanmiddleditch/gha-setup-ninja@v3
4040

41+
# Use canary NDK to avoid lesser known compile bugs
42+
- name: Setup canary NDK
43+
id: setup-ndk
44+
uses: ./.github/actions/canary-ndk
45+
4146
- name: Create ndkpath.txt
4247
run: |
43-
echo "$ANDROID_NDK_LATEST_HOME" > ${GITHUB_WORKSPACE}/ndkpath.txt
48+
echo ${{ steps.setup-ndk.outputs.ndk-path }} > ${GITHUB_WORKSPACE}/ndkpath.txt
4449
cat ${GITHUB_WORKSPACE}/ndkpath.txt
4550
51+
# get version from pushed tag
52+
- name: Extract version
53+
if: startsWith(github.ref, 'refs/tags/v')
54+
id: version
55+
run: |
56+
echo "TAG=${GITHUB_REF#refs/tags/}" >> ${GITHUB_OUTPUT}
57+
echo "VERSION=${GITHUB_REF#refs/tags/v}" >> ${GITHUB_OUTPUT}
58+
4659
- name: Setup qpm
4760
uses: Fernthedev/qpm-action@main
4861
with:

.github/workflows/publish.yml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,24 @@ jobs:
2222

2323
- uses: seanmiddleditch/gha-setup-ninja@v3
2424

25+
# Use canary NDK to avoid lesser known compile bugs
26+
- name: Setup canary NDK
27+
id: setup-ndk
28+
uses: ./.github/actions/canary-ndk
29+
2530
- name: Create ndkpath.txt
2631
run: |
27-
echo "$ANDROID_NDK_LATEST_HOME" > ${GITHUB_WORKSPACE}/ndkpath.txt
32+
echo ${{ steps.setup-ndk.outputs.ndk-path }} > ${GITHUB_WORKSPACE}/ndkpath.txt
2833
cat ${GITHUB_WORKSPACE}/ndkpath.txt
2934
35+
# get version from pushed tag
36+
- name: Extract version
37+
if: startsWith(github.ref, 'refs/tags/v')
38+
id: version
39+
run: |
40+
echo "TAG=${GITHUB_REF#refs/tags/}" >> ${GITHUB_OUTPUT}
41+
echo "VERSION=${GITHUB_REF#refs/tags/v}" >> ${GITHUB_OUTPUT}
42+
3043
- name: Get Tag Version
3144
id: get_tag_version
3245
run: |

createqmod.ps1

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,19 @@ foreach ($mod in $modJson.modFiles) {
3232
}
3333
$filelist += $path
3434
}
35+
foreach ($mod in $modJson.lateModFiles) {
36+
$path = "./build/" + $mod
37+
if (-not (Test-Path $path)) {
38+
$path = "./extern/libs/" + $mod
39+
}
40+
if (-not (Test-Path $path)) {
41+
Write-Output "Error: could not find dependency: $path"
42+
exit 1
43+
}
44+
$filelist += $path
45+
}
3546

3647
foreach ($lib in $modJson.libraryFiles) {
37-
#if ($lib -eq "libchatplex-sdk-bs.so") {
38-
# Continue
39-
#}
40-
41-
4248
$path = "./build/" + $lib
4349
if (-not (Test-Path $path)) {
4450
$path = "./extern/libs/" + $lib

mod.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2-
"_QPVersion": "0.1.2",
2+
"_QPVersion": "0.1.1",
33
"name": "QBeatSaberPlus-NoteTweaker",
44
"id": "qbeatsaberplus-notetweaker",
55
"modloader": "Scotland2",
66
"author": "HardCPP",
7-
"version": "6.2.1",
7+
"version": "6.3.0",
88
"packageId": "com.beatgames.beatsaber",
99
"packageVersion": "1.35.0_8016709773",
1010
"description": "Feel good!",
@@ -13,7 +13,7 @@
1313
{
1414
"version": "^0.17.6",
1515
"id": "custom-types",
16-
"downloadIfMissing": "https://github.com/QuestPackageManager/Il2CppQuestTypePatching/releases/download/v0.17.6/CustomTypes.qmod"
16+
"downloadIfMissing": "https://github.com/QuestPackageManager/Il2CppQuestTypePatching/releases/download/v0.17.7/CustomTypes.qmod"
1717
},
1818
{
1919
"version": "=1.1.4",
@@ -24,14 +24,18 @@
2424
"version": "^3.6.3",
2525
"id": "paper",
2626
"downloadIfMissing": "https://github.com/Fernthedev/paperlog/releases/download/v3.6.3/paperlog.qmod"
27+
},
28+
{
29+
"version": "^6.3.0",
30+
"id": "chatplex-sdk-bs",
31+
"downloadIfMissing": "https://github.com/hardcpp/QuestChatPlexSDK-BS/releases/download/v6.3.0/ChatPlexSDK-BS.qmod"
2732
}
2833
],
2934
"modFiles": [],
3035
"lateModFiles": [
3136
"libqbeatsaberplus-notetweaker.so"
3237
],
3338
"libraryFiles": [
34-
"libchatplex-sdk-bs.so",
3539
"libbeatsaber-hook_5_1_6.so"
3640
],
3741
"fileCopies": [],

qpm.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"info": {
66
"name": "QBeatSaberPlus-NoteTweaker",
77
"id": "qbeatsaberplus-notetweaker",
8-
"version": "6.2.1",
8+
"version": "6.3.0",
99
"url": "https://github.com/hardcpp/QBeatSaberPlus-NoteTweaker",
1010
"additionalData": {
1111
"overrideSoName": "libqbeatsaberplus-notetweaker.so",
@@ -92,7 +92,7 @@
9292
},
9393
{
9494
"id": "chatplex-sdk-bs",
95-
"versionRange": "^6.2.0",
95+
"versionRange": "^6.3.0",
9696
"additionalData": {
9797
"private": true
9898
}

qpm.shared.json

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"info": {
77
"name": "QBeatSaberPlus-NoteTweaker",
88
"id": "qbeatsaberplus-notetweaker",
9-
"version": "6.2.1",
9+
"version": "6.3.0",
1010
"url": "https://github.com/hardcpp/QBeatSaberPlus-NoteTweaker",
1111
"additionalData": {
1212
"overrideSoName": "libqbeatsaberplus-notetweaker.so",
@@ -36,7 +36,10 @@
3636
"qpm qmod build",
3737
"pwsh ./createqmod.ps1 -clean"
3838
]
39-
}
39+
},
40+
"qmodIncludeDirs": [],
41+
"qmodIncludeFiles": [],
42+
"qmodOutput": null
4043
},
4144
"dependencies": [
4245
{
@@ -93,7 +96,7 @@
9396
},
9497
{
9598
"id": "chatplex-sdk-bs",
96-
"versionRange": "^6.2.0",
99+
"versionRange": "^6.3.0",
97100
"additionalData": {
98101
"private": true
99102
}
@@ -124,34 +127,39 @@
124127
{
125128
"dependency": {
126129
"id": "libil2cpp",
127-
"versionRange": "=0.3.1",
130+
"versionRange": "=0.3.2",
128131
"additionalData": {
129-
"headersOnly": true
132+
"headersOnly": true,
133+
"cmake": false
130134
}
131135
},
132-
"version": "0.3.1"
136+
"version": "0.3.2"
133137
},
134138
{
135139
"dependency": {
136140
"id": "chatplex-sdk-bs",
137-
"versionRange": "=6.2.1",
141+
"versionRange": "=6.3.0",
138142
"additionalData": {
143+
"soLink": "https://github.com/hardcpp/QuestChatPlexSDK-BS/releases/download/v6.3.0/libchatplex-sdk-bs.so",
144+
"debugSoLink": "https://github.com/hardcpp/QuestChatPlexSDK-BS/releases/download/v6.3.0/debug_libchatplex-sdk-bs.so",
139145
"overrideSoName": "libchatplex-sdk-bs.so",
146+
"modLink": "https://github.com/hardcpp/QuestChatPlexSDK-BS/releases/download/v6.3.0/ChatPlexSDK-BS.qmod",
147+
"branchName": "version/v6_3_0",
140148
"cmake": true
141149
}
142150
},
143-
"version": "6.2.1"
151+
"version": "6.3.0"
144152
},
145153
{
146154
"dependency": {
147155
"id": "custom-types",
148-
"versionRange": "=0.17.6",
156+
"versionRange": "=0.17.7",
149157
"additionalData": {
150-
"soLink": "https://github.com/QuestPackageManager/Il2CppQuestTypePatching/releases/download/v0.17.6/libcustom-types.so",
151-
"debugSoLink": "https://github.com/QuestPackageManager/Il2CppQuestTypePatching/releases/download/v0.17.6/debug_libcustom-types.so",
158+
"soLink": "https://github.com/QuestPackageManager/Il2CppQuestTypePatching/releases/download/v0.17.7/libcustom-types.so",
159+
"debugSoLink": "https://github.com/QuestPackageManager/Il2CppQuestTypePatching/releases/download/v0.17.7/debug_libcustom-types.so",
152160
"overrideSoName": "libcustom-types.so",
153-
"modLink": "https://github.com/QuestPackageManager/Il2CppQuestTypePatching/releases/download/v0.17.6/CustomTypes.qmod",
154-
"branchName": "version/v0_17_6",
161+
"modLink": "https://github.com/QuestPackageManager/Il2CppQuestTypePatching/releases/download/v0.17.7/CustomTypes.qmod",
162+
"branchName": "version/v0_17_7",
155163
"compileOptions": {
156164
"cppFlags": [
157165
"-Wno-invalid-offsetof"
@@ -160,7 +168,7 @@
160168
"cmake": true
161169
}
162170
},
163-
"version": "0.17.6"
171+
"version": "0.17.7"
164172
},
165173
{
166174
"dependency": {

0 commit comments

Comments
 (0)