build fix:
- fix universal build for osx using workaround - fix including ruffle, add to build files list, instead of to dist/
This commit is contained in:
@@ -44,6 +44,12 @@ jobs:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
run: |
|
||||
|
||||
if [ "$RUNNER_OS" != "Linux" ]; then
|
||||
sudo rm -Rf /Library/Developer/CommandLineTools/SDKs/*
|
||||
sudo xcode-select -s "/Applications/Xcode_12.3.app"
|
||||
fi
|
||||
|
||||
if [ "$GITHUB_REF" == "refs/heads/main" ] || [ -f ./force_release ]; then
|
||||
export YARN_BUILD_CMD="release"
|
||||
else
|
||||
|
||||
@@ -82,6 +82,7 @@
|
||||
"dist/build/*",
|
||||
"*.js",
|
||||
"*.html",
|
||||
"ruffle",
|
||||
"webmanifest.json",
|
||||
{
|
||||
"from": "_site/assets",
|
||||
|
||||
@@ -57,7 +57,6 @@ const electronMainConfig = (/*env, argv*/) => {
|
||||
patterns: [
|
||||
{ from: "node_modules/bcrypto/build/Release/bcrypto.node", to: "build" },
|
||||
{ from: "node_modules/leveldown/prebuilds/", to: "prebuilds" },
|
||||
{ from: "ruffle/", to: "ruffle/" },
|
||||
],
|
||||
}),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user