-
Notifications
You must be signed in to change notification settings - Fork 67
MacOS ARM support <3 #147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
MacOS ARM support <3 #147
Changes from 107 commits
Commits
Show all changes
111 commits
Select commit
Hold shift + click to select a range
2946cef
Mac Build
enzofrnt ccde804
fix
enzofrnt c6eab33
fixes
enzofrnt f1f02b4
Update linuxfixes.h
enzofrnt d74da8f
Update linuxfixes.h
enzofrnt 9de4fdc
Update Core.cpp
enzofrnt 1c683c2
Update Core.cpp
enzofrnt 6012257
Go back
enzofrnt 584c02f
fix
enzofrnt 7f1d147
fix
enzofrnt 0975ac8
fix with linux fix
enzofrnt bec19a3
Update Core.cpp
enzofrnt 86d59a2
Update DNS.cpp
enzofrnt 368d249
fixes
enzofrnt 15ac42e
Update Resources.cpp
enzofrnt bf8d258
Update VehicleData.cpp
enzofrnt c26d359
Update Options.h
enzofrnt 45dee97
Update BeamNG.cpp
enzofrnt cde7a42
fixes
enzofrnt 8039c44
Update GameStart.cpp
enzofrnt 94bb736
force to arm64
enzofrnt 2bca006
verify runnner arch
enzofrnt e674c16
force arm64
enzofrnt f28172e
force arm64
enzofrnt 56f4e85
force arm64
enzofrnt 4ae2291
fixes
enzofrnt 822b24b
Merge branch 'ghcw-session-d22d' of https://github.com/enzofrnt/BeamM…
enzofrnt a6779ed
fix game path research on macos
enzofrnt fd3dcf7
working
enzofrnt 46eeeb4
fix mac os build warn
enzofrnt c116cb2
ready
enzofrnt abc401f
fix windows build
enzofrnt 5a825d0
fix windows build one method was only for mac
enzofrnt 77bd789
MacOS ARM support <3
enzofrnt 3434ece
We should stop the app if we don't find any beamng installation
enzofrnt 1c16b31
We must need to be sure that the path we get is absolut to be able to…
enzofrnt f574798
Condition on include
enzofrnt 57d2f09
moved toLower to Utils.h
enzofrnt a96014a
correct BoottlePath -> BottlePath
enzofrnt 1afe74e
BootlePath -> BotlePath
enzofrnt 131114f
no more edition on vdf_parser
enzofrnt 3693b59
Update vdf_parser.hpp
enzofrnt a4a26fd
add nullptdr at the end of the args
enzofrnt 06b697c
remove useless logs
enzofrnt 7facffc
fix wrong log level
enzofrnt 87ddb95
include algorithm anyway
enzofrnt bf24e53
GetBottleName using filesystem
enzofrnt c738795
fix environ
enzofrnt 6ff5e1f
using existing vdf parser
enzofrnt 649d46c
fix include linux fix for MacOS
enzofrnt 4c23152
Update BeamNG.cpp
enzofrnt 02ba91f
Update main.cpp
enzofrnt e5ec812
Revert "add nullptdr at the end of the args"
enzofrnt 40e62aa
Update vdf_parser.hpp
enzofrnt 99d3a79
Update vdf_parser.hpp
enzofrnt 50b31ef
Improve MacOS support via CrossOver
JxxIT 4d5f538
Forgot to include memory
JxxIT 05eeb63
Exclude the windows and linux builds
JxxIT 50d854d
Readd bottle scanning if the --bottle argument isn't set
JxxIT e901fcb
Improve the detection of the wine executable
JxxIT 1a7a7ca
Remove the mdfind command
JxxIT 4c230ea
Merge branch 'master' into improve-JxxIT
enzofrnt 61982ed
Merge pull request #2 from JxxIT/master
enzofrnt 4a0f350
Delete .DS_Store
enzofrnt 9d533c1
Revert "Remove the mdfind command"
enzofrnt 5eb3073
bottle option only needed on MacOS
enzofrnt 7178d79
fix retrive wine executable
enzofrnt d5251ed
iostream not needed here
enzofrnt 0db93a4
Only needed on
enzofrnt bc1b97e
Update Resources.cpp
enzofrnt 0b56d46
Merge pull request #3 from enzofrnt/improve-JxxIT
enzofrnt 91b01be
Update BeamNG.cpp
enzofrnt 47ebc7d
Update BeamNG.cpp
enzofrnt a4c47b2
Fix wine executable with non-default bottles folder
JxxIT a1bbcf5
Update BeamNG.cpp
enzofrnt 0b685b6
contains
enzofrnt 717ba0a
debug log
enzofrnt 5e702e5
debug log
enzofrnt 025a73f
debug bottle path
enzofrnt 19ef8ad
debug bottles path
enzofrnt db584ec
try to fix __MINGW32__
enzofrnt 1e9a7ca
Merge pull request #4 from JxxIT/master
enzofrnt a93cfa0
Improve code structure and adding bottle-path for non crossover users
enzofrnt a27961e
Update src/Options.cpp
enzofrnt 172f353
Update src/Network/Core.cpp
enzofrnt 8356bec
Update src/Network/Core.cpp
enzofrnt 78608c1
Update src/Network/Core.cpp
enzofrnt 4b738e2
french -> english
enzofrnt 2de0a8e
Update BeamNG.cpp
enzofrnt 7f9e7df
Update BeamNG.cpp
enzofrnt b5d3c10
Update BeamNG.cpp
enzofrnt 6583af5
Update Options.cpp
enzofrnt 999c64d
Update Options.cpp
enzofrnt ec52f2c
option + find game filesystem
enzofrnt 60795db
Update BeamNG.cpp
enzofrnt bd18630
Update src/Options.cpp
enzofrnt 059eb7c
better drive name
enzofrnt 102ae74
Merge branch 'master' of https://github.com/enzofrnt/BeamMP-Launcher
enzofrnt 6b6d86c
string to char
enzofrnt 84dd5f3
Update BeamNG.cpp
enzofrnt 3a7dc06
comment done
enzofrnt 95e9a6a
Update BeamNG.cpp
enzofrnt 6ebe19a
Update BeamNG.cpp
enzofrnt 40da2bb
Update src/Security/BeamNG.cpp
enzofrnt 6f5d927
ToLower only on letter
enzofrnt cf7a193
Merge branch 'master' of https://github.com/enzofrnt/BeamMP-Launcher
enzofrnt 43eabf1
fix
enzofrnt 83fe727
fixing recommendation
enzofrnt 2b43791
Merge remote-tracking branch 'upstream/master'
enzofrnt d8278ff
fixing
enzofrnt c927ded
fixing linux and windows build
enzofrnt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| name: CMake MacOS Build | ||
|
|
||
| on: [push, pull_request, workflow_dispatch] | ||
|
|
||
| env: | ||
| BUILD_TYPE: Release | ||
|
|
||
| jobs: | ||
| macos-build: | ||
| runs-on: macos-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| with: | ||
| submodules: 'true' | ||
|
|
||
| - name: Restore artifacts, or run vcpkg, build and cache artifacts | ||
| uses: lukka/run-vcpkg@v7 | ||
| id: runvcpkg | ||
| with: | ||
| vcpkgArguments: 'zlib:arm64-osx nlohmann-json:arm64-osx openssl:arm64-osx cpp-httplib[openssl]:arm64-osx curl:arm64-osx' | ||
| vcpkgDirectory: '${{ runner.workspace }}/b/vcpkg' | ||
| vcpkgGitCommitId: '40616a5e954f7be1077ef37db3fbddbd5dcd1ca6' | ||
|
|
||
| - name: Create Build Environment | ||
| run: cmake -E make_directory ${{github.workspace}}/build-macos | ||
|
|
||
| - name: Configure CMake | ||
| shell: bash | ||
| working-directory: ${{github.workspace}}/build-macos | ||
| run: | | ||
| cmake $GITHUB_WORKSPACE \ | ||
| -DCMAKE_BUILD_TYPE=$BUILD_TYPE \ | ||
| -DCMAKE_TOOLCHAIN_FILE='${{ runner.workspace }}/b/vcpkg/scripts/buildsystems/vcpkg.cmake' \ | ||
| -DCMAKE_OSX_ARCHITECTURES=arm64 | ||
|
|
||
| - name: Build | ||
| working-directory: ${{github.workspace}}/build-macos | ||
| shell: bash | ||
| run: cmake --build . --config $BUILD_TYPE | ||
|
|
||
| - name: Archive artifacts | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: BeamMP-Launcher | ||
| path: ${{github.workspace}}/build-macos/BeamMP-Launcher |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.