diff --git a/.github/workflows/dotnet-desktop.yml b/.github/workflows/dotnet-desktop.yml new file mode 100644 index 0000000..1a3d70e --- /dev/null +++ b/.github/workflows/dotnet-desktop.yml @@ -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/** diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..1a3d70e --- /dev/null +++ b/.github/workflows/main.yml @@ -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/** diff --git a/DebrisTweaks-PC-master/DebrisTweaks/UI/Settings.cs b/DebrisTweaks-PC-master/DebrisTweaks/UI/Settings.cs index b7cd803..f06a4dc 100644 --- a/DebrisTweaks-PC-master/DebrisTweaks/UI/Settings.cs +++ b/DebrisTweaks-PC-master/DebrisTweaks/UI/Settings.cs @@ -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(); @@ -526,4 +526,4 @@ public static void RefreshUI(BSMLAutomaticViewController instance, string bsmlLo ); } } -} \ No newline at end of file +} diff --git a/DebrisTweaks-PC-master/DebrisTweaks/UI/SideView.bsml b/DebrisTweaks-PC-master/DebrisTweaks/UI/SideView.bsml index 2f02cde..cbcf055 100644 --- a/DebrisTweaks-PC-master/DebrisTweaks/UI/SideView.bsml +++ b/DebrisTweaks-PC-master/DebrisTweaks/UI/SideView.bsml @@ -30,6 +30,7 @@ + @@ -43,4 +44,4 @@ - \ No newline at end of file +