Skip to content

Commit bc90c71

Browse files
Merge pull request #12 from CallOfCreator/dev
v1.2.0 Source Code
2 parents 55ea31f + a677d1f commit bc90c71

81 files changed

Lines changed: 3277 additions & 1110 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/ci.yml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
name: NewMod CI
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
- dev
8+
- au-2025.3.25
9+
pull_request:
10+
branches:
11+
- main
12+
- dev
13+
- au-2025.3.25
14+
workflow_dispatch:
15+
16+
jobs:
17+
build:
18+
runs-on: ubuntu-latest
19+
env:
20+
BuildingInsideCI: true
21+
22+
steps:
23+
- name: Checkout Repository
24+
uses: actions/checkout@v4
25+
with:
26+
submodules: true
27+
28+
- name: Cache Dependencies
29+
uses: actions/cache@v4
30+
with:
31+
path: |
32+
~/.nuget/packages
33+
~/.cache/bepinex
34+
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
35+
restore-keys: |
36+
${{ runner.os }}-nuget-
37+
38+
- name: Setup .NET 8.0
39+
uses: actions/setup-dotnet@v4
40+
with:
41+
dotnet-version: 8.0.x
42+
43+
- name: Restore NuGet Packages
44+
run: dotnet restore NewMod/NewMod.csproj
45+
46+
- name: Build NewMod (Release)
47+
run: dotnet build NewMod/NewMod.csproj --configuration Release --no-restore
48+
49+
- name: Build NewMod (Debug)
50+
run: dotnet build NewMod/NewMod.csproj --configuration Debug --no-restore
51+
52+
- name: Upload NewMod DLL (Release)
53+
uses: actions/upload-artifact@v4
54+
with:
55+
name: NewMod
56+
path: NewMod/bin/Release/net6.0/NewMod.dll
57+
58+
- name: Upload NewMod DLL (Debug)
59+
uses: actions/upload-artifact@v4
60+
with:
61+
name: NewMod-Debug
62+
path: NewMod/bin/Debug/net6.0/NewMod.dll
63+
64+
release:
65+
needs: build
66+
runs-on: ubuntu-latest
67+
if: github.ref == 'refs/heads/main'
68+
69+
steps:
70+
- name: Download Release DLL
71+
uses: actions/download-artifact@v4
72+
with:
73+
name: NewMod
74+
75+
- name: Publish GitHub Release
76+
uses: softprops/action-gh-release@v1
77+
with:
78+
tag_name: v1.2.${{ github.run_number }}
79+
files: NewMod/bin/Release/net6.0/NewMod.dll
80+
env:
81+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
bin/
22
obj/
3+
libs/*
34
References/
45
/packages/
56
riderModule.iml

New-Mod.sln renamed to NewMod.sln

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
2-
Microsoft Visual Studio Solution File, Format Version 12.00
1+
Microsoft Visual Studio Solution File, Format Version 12.00
32
# Visual Studio Version 17
43
VisualStudioVersion = 17.5.002.0
54
MinimumVisualStudioVersion = 10.0.40219.1
@@ -9,12 +8,15 @@ Global
98
GlobalSection(SolutionConfigurationPlatforms) = preSolution
109
Debug|Any CPU = Debug|Any CPU
1110
Release|Any CPU = Release|Any CPU
11+
ANDROID|Any CPU = ANDROID|Any CPU
1212
EndGlobalSection
1313
GlobalSection(ProjectConfigurationPlatforms) = postSolution
1414
{FC05DD49-CE3A-41F4-8452-37686FE23D0A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
1515
{FC05DD49-CE3A-41F4-8452-37686FE23D0A}.Debug|Any CPU.Build.0 = Debug|Any CPU
1616
{FC05DD49-CE3A-41F4-8452-37686FE23D0A}.Release|Any CPU.ActiveCfg = Release|Any CPU
1717
{FC05DD49-CE3A-41F4-8452-37686FE23D0A}.Release|Any CPU.Build.0 = Release|Any CPU
18+
{FC05DD49-CE3A-41F4-8452-37686FE23D0A}.ANDROID|Any CPU.ActiveCfg = ANDROID|Any CPU
19+
{FC05DD49-CE3A-41F4-8452-37686FE23D0A}.ANDROID|Any CPU.Build.0 = ANDROID|Any CPU
1820
EndGlobalSection
1921
GlobalSection(SolutionProperties) = preSolution
2022
HideSolutionNode = FALSE

NewMod/Buttons/AssignButton.cs

Lines changed: 0 additions & 133 deletions
This file was deleted.

NewMod/Buttons/CaptureButton.cs

Lines changed: 0 additions & 33 deletions
This file was deleted.

NewMod/Buttons/DrainButton.cs

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)