Skip to content

Commit d1f2fe9

Browse files
committed
Merge branch 'load-mods-from-folder' into main
2 parents 9978b64 + e347707 commit d1f2fe9

19 files changed

Lines changed: 156 additions & 25008 deletions

File tree

.github/workflows/msbuild.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ on:
55
branches: [ main ]
66

77
env:
8-
# Path to the solution file relative to the root of the project.
9-
SOLUTION_FILE_PATH: .
10-
118
# Configuration type to build.
129
# You can convert this to a build matrix if you need coverage of multiple configuration types.
1310
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
@@ -39,7 +36,9 @@ jobs:
3936
- name: MoveToTemp
4037
run: |
4138
mv build/bin/Release/* temp/
42-
mv build/bin/Shipworks.json temp/
39+
mkdir temp/Modloader
40+
mkdir temp/Modloader/config
41+
mkdir temp/Modloader/mods
4342
4443
- name: Upload
4544
uses: actions/upload-artifact@v3.1.0
@@ -50,8 +49,8 @@ jobs:
5049
- name: Zip
5150
uses: vimtor/action-zip@v1
5251
with:
53-
files: build/bin/Release/ build/bin/Shipworks.json
54-
recursive: false
52+
files: temp/
53+
recursive: true
5554
dest: Artifacts.zip
5655
if: startsWith(github.ref, 'refs/tags/')
5756

CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
cmake_minimum_required(VERSION 3.10)
2+
set(CMAKE_CXX_STANDARD 17)
3+
set(CMAKE_CXX_STANDARD_REQUIRED ON)
24

35
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
46
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
57
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
68

7-
project(HighfleetMoadloader VERSION 0.1.1)
9+
set(SOURCE src/Main.cpp src/Inject.cpp)
810

9-
add_subdirectory(ShipworksExtended)
10-
add_subdirectory(HighfleetModloader)
11+
project(HighfleetModloader VERSION 0.1.1)
12+
add_executable(${PROJECT_NAME} ${SOURCE})

HighfleetModloader/CMakeLists.txt

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

HighfleetModloader/Main.cpp

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

ShipworksExtended/CMakeLists.txt

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

ShipworksExtended/Shipworks.json

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

ShipworksExtended/dllmain.cpp

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

ShipworksExtended/framework.h

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

0 commit comments

Comments
 (0)