Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ cmake_minimum_required(VERSION 3.21)
project(${COMPILE_ID})

# c++ standard
set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED 20)
set(CMAKE_CXX_STANDARD 23)
set(CMAKE_CXX_STANDARD_REQUIRED 23)

# define that stores the actual source directory
set(SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src)
Expand Down
14 changes: 0 additions & 14 deletions build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -44,20 +44,6 @@ if ($actions -eq $true) {
#$cmakeFilePath = "./extern.cmake"; $externcmake = Get-Content $cmakeFilePath -Raw; $externcmake -replace [regex]::Escape('add_library(${COMPILE_ID} SHARED ${EXTERN_DIR}/includes/bs-cordl/version.txt)'), '' | Set-Content $cmakeFilePath
}

if ((Test-Path "./extern/includes/beatsaber-hook/shared/inline-hook/And64InlineHook.cpp", "./extern/includes/beatsaber-hook/shared/inline-hook/inlineHook.c", "./extern/includes/beatsaber-hook/shared/inline-hook/relocate.c") -contains $false) {
Write-Host "Critical: Missing inline-hook"
if (!(Test-Path "./extern/includes/beatsaber-hook/shared/inline-hook/And64InlineHook.cpp")) {
Write-Host "./extern/includes/beatsaber-hook/shared/inline-hook/And64InlineHook.cpp"
}
if (!(Test-Path "./extern/includes/beatsaber-hook/shared/inline-hook/inlineHook.c")) {
Write-Host "./extern/includes/beatsaber-hook/shared/inline-hook/inlineHook.c"
}
if (!(Test-Path "./extern/includes/beatsaber-hook/inline-hook/shared/relocate.c")) {
Write-Host "./extern/includes/beatsaber-hook/shared/inline-hook/relocate.c"
}
Write-Host "Task Failed"
exit 1;
}
Write-Output "Building mod with ModID: $ModID version: $VERSION"

if ($clean.IsPresent)
Expand Down
2 changes: 1 addition & 1 deletion mod.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"modloader": "Scotland2",
"version": "${version}",
"packageId": "com.beatgames.beatsaber",
"packageVersion": "1.40.8_7379",
"packageVersion": "1.45.3_30054",
"description": "Displays the time in game. Alternatively also the Battery Percentage",
"coverImage": "Cover.jpg",
"dependencies": [],
Expand Down
23 changes: 17 additions & 6 deletions qpm.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/QuestPackageManager/QPM.Package/refs/heads/main/qpm.schema.json",
"version": "0.4.0",
"sharedDir": "shared",
"dependenciesDir": "extern",
Expand All @@ -21,7 +22,7 @@
"pwsh build.ps1 -clean"
]
},
"ndk": "^27.2.12479018",
"ndk": "^29.0.14206865",
"qmodIncludeDirs": [
"build",
"extern/libs"
Expand All @@ -32,17 +33,17 @@
"dependencies": [
{
"id": "beatsaber-hook",
"versionRange": "^6.4.2",
"versionRange": "^9.3.0",
"additionalData": {}
},
{
"id": "bs-cordl",
"versionRange": "4008.*",
"versionRange": "4503.*",
"additionalData": {}
},
{
"id": "bsml",
"versionRange": "^0.4.55",
"versionRange": "^0.6.0",
"additionalData": {}
},
{
Expand All @@ -52,12 +53,17 @@
},
{
"id": "config-utils",
"versionRange": "^2.0.3",
"versionRange": "^3.0.0",
"additionalData": {}
},
{
"id": "custom-types",
"versionRange": "^0.18.3",
"versionRange": "^0.21.2",
"additionalData": {}
},
{
"id": "flamingo",
"versionRange": "^1.2.1",
"additionalData": {}
},
{
Expand All @@ -72,6 +78,11 @@
"includeQmod": false,
"private": true
}
},
{
"id": "reflectcpp",
"versionRange": "^0.25.0",
"additionalData": {}
}
]
}
Loading
Loading