mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
chore: include libsession node module into packaged apps
This commit is contained in:
parent
2fa4743417
commit
dc1daf7ed4
4 changed files with 10 additions and 9 deletions
6
.github/workflows/build-binaries.yml
vendored
6
.github/workflows/build-binaries.yml
vendored
|
@ -15,7 +15,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [windows-2022, macos-latest, ubuntu-20.04]
|
||||
os: [windows-2022, macos-11, ubuntu-20.04]
|
||||
env:
|
||||
SIGNAL_ENV: production
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
@ -43,7 +43,7 @@ jobs:
|
|||
if: runner.os == 'Windows'
|
||||
uses: crazy-max/ghaction-chocolatey@v1.4.2
|
||||
with:
|
||||
args: install python2 visualcpp-build-tools -y
|
||||
args: install python2 -y
|
||||
|
||||
# Not having this will break the windows build because the PATH won't be set by msbuild.
|
||||
- name: Add msbuild to PATH
|
||||
|
@ -55,7 +55,7 @@ jobs:
|
|||
run: |
|
||||
npm install --global node-gyp@latest
|
||||
npm config set python python2.7
|
||||
npm config set msvs_version 2017
|
||||
npm config set msvs_version 2022
|
||||
|
||||
- name: Install Desktop node_modules
|
||||
if: steps.cache-desktop-modules.outputs.cache-hit != 'true'
|
||||
|
|
6
.github/workflows/pull-request.yml
vendored
6
.github/workflows/pull-request.yml
vendored
|
@ -12,7 +12,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [windows-2022, macos-latest, ubuntu-20.04]
|
||||
os: [windows-2022, macos-11, ubuntu-20.04]
|
||||
env:
|
||||
SIGNAL_ENV: production
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
@ -39,7 +39,7 @@ jobs:
|
|||
if: runner.os == 'Windows'
|
||||
uses: crazy-max/ghaction-chocolatey@v1.4.2
|
||||
with:
|
||||
args: install python2 visualcpp-build-tools -y
|
||||
args: install python2 -y
|
||||
|
||||
#Not having this will break the windows build because the PATH won't be set by msbuild.
|
||||
- name: Add msbuild to PATH
|
||||
|
@ -51,7 +51,7 @@ jobs:
|
|||
run: |
|
||||
npm install --global node-gyp@latest
|
||||
npm config set python python2.7
|
||||
npm config set msvs_version 2017
|
||||
npm config set msvs_version 2022
|
||||
|
||||
- name: Install Desktop node_modules
|
||||
if: steps.cache-desktop-modules.outputs.cache-hit != 'true'
|
||||
|
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
|
@ -12,7 +12,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [windows-2022, macos-latest, ubuntu-20.04]
|
||||
os: [windows-2022, macos-11, ubuntu-20.04]
|
||||
env:
|
||||
SIGNAL_ENV: production
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
@ -40,7 +40,7 @@ jobs:
|
|||
if: runner.os == 'Windows'
|
||||
uses: crazy-max/ghaction-chocolatey@v1.4.2
|
||||
with:
|
||||
args: install python2 visualcpp-build-tools -y
|
||||
args: install python2 -y
|
||||
|
||||
#Not having this will break the windows build because the PATH won't be set by msbuild.
|
||||
- name: Add msbuild to PATH
|
||||
|
@ -52,7 +52,7 @@ jobs:
|
|||
run: |
|
||||
npm install --global node-gyp@latest
|
||||
npm config set python python2.7
|
||||
npm config set msvs_version 2017
|
||||
npm config set msvs_version 2022
|
||||
|
||||
- name: Install Desktop node_modules
|
||||
if: steps.cache-desktop-modules.outputs.cache-hit != 'true'
|
||||
|
|
|
@ -349,6 +349,7 @@
|
|||
"!**/*.ts",
|
||||
"node_modules/spellchecker/build/Release/*.node",
|
||||
"node_modules/websocket/build/Release/*.node",
|
||||
"node_modules/libsession_util_nodejs/build/Release/*.node",
|
||||
"node_modules/socks/build/*.js",
|
||||
"node_modules/socks/build/common/*.js",
|
||||
"node_modules/socks/build/client/*.js",
|
||||
|
|
Loading…
Reference in a new issue