Skip to content

Commit a5dc960

Browse files
committed
Fix release action and buildQMOD
1 parent acea53b commit a5dc960

File tree

5 files changed

+33
-12
lines changed

5 files changed

+33
-12
lines changed

.github/workflows/buildMod.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ on:
1717
- '**.ogg'
1818
- '**.zip'
1919
pull_request:
20-
branches: [ master, dev ]
20+
branches: [ main, dev ]
2121

2222
env:
2323
module_id: ClockMod

buildQMOD.ps1

+12-6
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,8 @@ if ($qmodName -eq "")
3636
exit
3737
}
3838

39-
if ($package -eq $true) {
40-
$qmodName = "$($env:module_id)_$($env:version)"
41-
echo "Actions: Packaging QMod $qmodName"
42-
}
43-
if (($args.Count -eq 0) -And $package -eq $false) {
44-
echo "Creating QMod $qmodName"
39+
if (($args.Count -eq 0 -or $dev -eq $true) -And $package -eq $false) {
40+
echo "Packaging QMod $qmodName"
4541
& $PSScriptRoot/build.ps1 -clean:$clean
4642

4743
if ($LASTEXITCODE -ne 0) {
@@ -67,6 +63,16 @@ if ((-not ($cover -eq "./")) -and (Test-Path $cover))
6763
echo "No cover Image found"
6864
}
6965

66+
if ($package -eq $true -And $env:version.Contains('-Dev')) {
67+
$qmodName = "$($env:module_id)_$($env:version)"
68+
echo "Actions: Packaging QMod $qmodName"
69+
} elseif ($package -eq $true) {
70+
$qmodName = "$($env:module_id)"
71+
echo "Actions: Packaging QMod $qmodName"
72+
} else {
73+
$qmodName += "_$($modJson.version)"
74+
}
75+
7076
foreach ($mod in $modJson.modFiles)
7177
{
7278
$path = "./build/" + $mod

mod.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,26 @@
33
"name": "Clock Mod",
44
"id": "ClockMod",
55
"author": "BoopetyDoopety, EnderdracheLP",
6-
"version": "1.5.2",
6+
"version": "1.5.2-Dev",
77
"packageId": "com.beatgames.beatsaber",
88
"packageVersion": "1.19.1",
99
"description": "Displays the time in game. Alternatively also the Battery Percentage",
10+
"coverImage": "Cover.jpg",
1011
"dependencies": [
1112
{
1213
"version": "^0.15.7",
1314
"id": "custom-types",
1415
"downloadIfMissing": "https://github.com/sc2ad/Il2CppQuestTypePatching/releases/download/v0.15.8/CustomTypes.qmod"
1516
},
1617
{
17-
"version": "^0.21.0",
18+
"version": "^0.20.0",
1819
"id": "codegen",
19-
"downloadIfMissing": "https://github.com/sc2ad/BeatSaber-Quest-Codegen/releases/download/v0.21.0/Codegen.qmod"
20+
"downloadIfMissing": "https://github.com/sc2ad/BeatSaber-Quest-Codegen/releases/download/v0.20.0/Codegen.qmod"
2021
},
2122
{
2223
"version": "^0.13.2",
2324
"id": "questui",
24-
"downloadIfMissing": "https://github.com/darknight1050/questui/releases/download/v0.13.3/QuestUI.qmod"
25+
"downloadIfMissing": "https://github.com/darknight1050/questui/releases/download/v0.13.2/QuestUI.qmod"
2526
}
2627
],
2728
"modFiles": [

qpm.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"info": {
55
"name": "Clock Mod",
66
"id": "ClockMod",
7-
"version": "1.5.2",
7+
"version": "1.5.2-Dev",
88
"url": null,
99
"additionalData": {
1010
"overrideSoName": "libClockMod.so"

rl-notes.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
**Features:**
2+
- Option to switch between 12/24 Hour format.
3+
- Option to display seconds.
4+
- Option to hide clock in song, "No Text And HUD" will do the same.
5+
- Option to change font size (default: 3.5).
6+
- Option to show Headset Battery charge Indicator, will change color according to charge, off by default.
7+
- Option to Rainbowify the Clock.
8+
- Option to change Clock Color, (unless rainbowify is on).
9+
- Option to choose between the Clock being at the Top or the Bottom.
10+
11+
__**Changelog:**__
12+
- Update to 1.19.1
13+
14+
__**Download:**__

0 commit comments

Comments
 (0)