Disable copying files

This commit is contained in:
Ben van Hartingsveldt 2025-09-16 20:01:29 +02:00
parent 972af4a19e
commit 768b4a2c95
No known key found for this signature in database
GPG key ID: 261AA214130CE7AB
2 changed files with 21 additions and 38 deletions

View file

@ -39,23 +39,6 @@ jobs:
if: startsWith(runner.os, 'mac')
with:
xcode-version: '15.2.0'
# This is gonna be hacky.
# Github made us upgrade xcode, which would force an upgrade of electron-builder to fix mac.
# But there were bugs with copyfiles / extraFiles that kept seeing duplicates erroring on ln.
# A flag USE_HARD_LINKS=false in electron-builder.json was suggested in comments, but that broke windows builds.
# So for now we'll install python2 on mac and make sure it can find it.
# Remove this after successfully upgrading electron-builder.
# HACK part 1
- uses: Homebrew/actions/setup-homebrew@master
if: startsWith(runner.os, 'mac')
# HACK part 2
- name: Install Python2
if: startsWith(runner.os, 'mac')
run: |
brew install pyenv
pyenv install 2.7
pyenv global 2.7
export PYTHON_PATH=$(pyenv which python2.7)
- name: Download blockchain headers
run: |
mkdir -p ./static/daemon

View file

@ -14,27 +14,27 @@
"to": "./"
}
],
"extraResources": [
{
"from": "./static/daemon/",
"to": "static/daemon/",
"filter": ["**/*"]
},
{
"from": "./static/img",
"to": "static/img",
"filter": ["**/*"]
},
{
"from": "./static/font",
"to": "static/font",
"filter": ["**/*"]
},
{
"from": "./static/app-update.yml",
"to": "app-update.yml"
}
],
// "extraResources": [
// {
// "from": "./static/daemon/",
// "to": "static/daemon/",
// "filter": ["**/*"]
// },
// {
// "from": "./static/img",
// "to": "static/img",
// "filter": ["**/*"]
// },
// {
// "from": "./static/font",
// "to": "static/font",
// "filter": ["**/*"]
// },
// {
// "from": "./static/app-update.yml",
// "to": "app-update.yml"
// }
// ],
"publish": [
{
"provider": "github"