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
34 changes: 34 additions & 0 deletions .github/workflows/dotnet-desktop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build DebrisTweaks+

on:
push:
branches:
- main
- master
pull_request:

jobs:
build:
runs-on: windows-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x

- name: Restore
run: dotnet restore "DebrisTweaks-PC-master/DebrisTweaks+.sln"

- name: Build
run: dotnet build "DebrisTweaks-PC-master/DebrisTweaks+.sln" --configuration Release --no-restore

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: DebrisTweaks-Build
path: |
DebrisTweaks-PC-master/**/bin/Release/**
34 changes: 34 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Build DebrisTweaks+

on:
push:
branches:
- main
- master
pull_request:

jobs:
build:
runs-on: windows-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup .NET
uses: actions/setup-dotnet@v4
with:
dotnet-version: 8.0.x

- name: Restore
run: dotnet restore "DebrisTweaks-PC-master/DebrisTweaks+.sln"

- name: Build
run: dotnet build "DebrisTweaks-PC-master/DebrisTweaks+.sln" --configuration Release --no-restore

- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: DebrisTweaks-Build
path: |
DebrisTweaks-PC-master/**/bin/Release/**
4 changes: 2 additions & 2 deletions DebrisTweaks-PC-master/DebrisTweaks/UI/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public static void RefreshAllUI()

public static void Initialise()
{
MenuButtons.Instance.RegisterButton(menuButton ??= new MenuButton("Debris Tweaks+", "Add more tweaks to the debris!", () =>
MenuButtons.Instance.RegisterButton(menuButton ??= new MenuButton("Debris Tweaks+", "Modify the behaviour of debris.", () =>
{
if (flow == null)
flow = BeatSaberUI.CreateFlowCoordinator<DTFlow>();
Expand Down Expand Up @@ -526,4 +526,4 @@ public static void RefreshUI(BSMLAutomaticViewController instance, string bsmlLo
);
}
}
}
}
3 changes: 2 additions & 1 deletion DebrisTweaks-PC-master/DebrisTweaks/UI/SideView.bsml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<toggle-setting apply-on-change='true' value='downscaleDespawnAnim' id='downscaleDespawnAnimID' text='Downscale debris instead of dissolving.' hover-hint='Default Value: False'/>
<toggle-setting apply-on-change='true' value='overrideDissolveNoiseScale' id='overrideDissolveNoiseScaleID' text='Override debris dissolve noise' hover-hint='Default Value: False'/>
<slider-setting apply-on-change="true" value="dissolveNoise" id="dissolveNoiseID" text="Dissolve Noise" show-buttons="true" min="0.1" max="100" increment="0.1" hover-hint='How much noise there is when dissolving.'/>
<toggle-setting apply-on-change='true' value='everymodneedsthis' id='everymodneedsthisID' text='Make provoked22 stop crying like an infant' hover-hint='Why is this not on yet? idk.'/>
</settings-container>
</tab>
<tab tags="tabs" tab-name="Color override/Scale" size-delta-y="-16" anchored-position-y="-8">
Expand All @@ -43,4 +44,4 @@
<vertical pref-height='8' pref-width='100' anchor-pos-y='-30' horizontal-fit='PreferredSize'>
<button align='Center' on-click='loadclicked' text='Load' hover-hint='Load profile for this screen'></button>
</vertical>
</bg>
</bg>