mirror of
https://github.com/zoriya/flood.git
synced 2025-12-05 23:06:20 +00:00
Revert "single executable support"
* WASM module (argon2-browser) does not work properly. Revert "README: add info about single-executable" This reverts commit55343a1353. Revert "CI: separate artifacts" This reverts commit28ba0efd2d. Revert "CI: build pkg executables" This reverts commit482fde49b1. Revert "pkg: initial configuration" This reverts commit6849e9c55b.
This commit is contained in:
45
.github/workflows/publish-rolling.yml
vendored
45
.github/workflows/publish-rolling.yml
vendored
@@ -34,48 +34,3 @@ jobs:
|
||||
- run: npm publish --access public
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
||||
pkg:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node: [14]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Use Node.js ${{ matrix.node }}
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
registry-url: 'https://registry.npmjs.org'
|
||||
|
||||
- run: npm ci
|
||||
- run: sudo npm install -g pkg
|
||||
|
||||
- name: Tag rolling release
|
||||
run: |
|
||||
npm version --no-git-tag-version 0.0.0-master.`git rev-parse --short HEAD`
|
||||
|
||||
- name: Build executables
|
||||
run: |
|
||||
npm run build-pkg
|
||||
|
||||
- name: 'Upload executable: Linux'
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: flood-linux
|
||||
path: flood-linux
|
||||
|
||||
- name: 'Upload executable: MacOS'
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: flood-macos
|
||||
path: flood-macos
|
||||
|
||||
- name: 'Upload executable: Windows'
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: flood-win
|
||||
path: flood-win.exe
|
||||
|
||||
@@ -23,8 +23,6 @@ Check out the [Wiki](https://github.com/jesec/flood/wiki) for more information.
|
||||
- For Windows, try [this guide](https://rtwi.jmk.hu/wiki/rTorrentOnWindows).
|
||||
1. Install [NodeJS](https://nodejs.org/) version `Current` (you might want to manage different Node versions with [nodenv](https://github.com/nodenv/nodenv) or [nvm](https://github.com/creationix/nvm) or [n](https://github.com/tj/n)). Flood tracks latest NodeJS release and does NOT provide support to legacy NodeJS versions.
|
||||
|
||||
**EXPERIMENTAL**: You can download a single-executable rolling build of Flood from [Github Actions](https://github.com/jesec/flood/actions?query=workflow%3A%22Publish+rolling+build%22). It bundles `NodeJS` and supports `Linux`, `MacOS` or `Windows`.
|
||||
|
||||
### Installation
|
||||
|
||||
`sudo npm i -g flood` or `npx flood`
|
||||
|
||||
@@ -13,17 +13,9 @@
|
||||
"bin": {
|
||||
"flood": "./dist/index.js"
|
||||
},
|
||||
"pkg": {
|
||||
"assets": [
|
||||
"dist/assets/**/*",
|
||||
"dist/geoip-country.dat",
|
||||
"dist/geoip-country6.dat"
|
||||
]
|
||||
},
|
||||
"scripts": {
|
||||
"build": "npm run build-assets && npm run build-ts",
|
||||
"build-assets": "node client/scripts/build.js",
|
||||
"build-pkg": "rm -rf dist && npm run build && pkg .",
|
||||
"build-ts": "rm -f node_modules/argon2-browser/dist/*.wasm; ncc build server/bin/start.ts -m -t; rm -rf dist/data",
|
||||
"build-docs": "jsdoc -c ./.jsdoc.json",
|
||||
"build-i18n": "formatjs compile --ast --format simple client/src/javascript/i18n/strings.json --out-file client/src/javascript/i18n/strings.compiled.json && formatjs compile-folder --ast --format simple client/src/javascript/i18n/translations client/src/javascript/i18n/compiled",
|
||||
|
||||
Reference in New Issue
Block a user