docs, log & restore user rpi build
This commit is contained in:
parent
c9e3641332
commit
9431fd722e
3 changed files with 19 additions and 21 deletions
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
**Important change**
|
||||
|
||||
Prebuilt binaries are now supplied only for 64bit Linux/MacOs/Windows. Other platforms should use the `node` package.
|
||||
Prebuilt binaries are now supplied only for 64bit Linux/MacOs/Windows. Other platforms should use the `node` package or build it from sources.
|
||||
|
||||
**MIDI support**
|
||||
|
||||
|
|
@ -23,7 +23,7 @@ As of this version, packages except the `node` package are bundled with a midi b
|
|||
|
||||
- widgets
|
||||
- keyboard: add `velocity` property (allows mapping the touch coordinates between `off` (top) and `on` (bottom))
|
||||
- input: add `validation` property (allows defining a regular expression that the valud must match)
|
||||
- input: add `validation` property (allows defining a regular expression that the value must match)
|
||||
- midi
|
||||
- accept sending sysex strings without spaces between the bytes
|
||||
- load prebuilt midi binary on 64bit linux/windows/osx
|
||||
|
|
|
|||
|
|
@ -21,6 +21,13 @@ npm install
|
|||
npm run build
|
||||
```
|
||||
|
||||
!!! tip "Raspberry systems"
|
||||
Run this instead of `npm install` if the architecture is `armv7l`
|
||||
```
|
||||
npm install --arch=armv7l
|
||||
```
|
||||
|
||||
|
||||
!!! info "Updating from sources"
|
||||
```bash
|
||||
git pull
|
||||
|
|
@ -51,12 +58,9 @@ npm run build-docs
|
|||
|
||||
## Package from sources
|
||||
|
||||
Follow the "Run from sources" instructions, then:
|
||||
|
||||
```bash
|
||||
git clone https://github.com/jean-emmanuel/open-stage-control
|
||||
cd open-stage-control/
|
||||
# uncomment next line if you want the latest release
|
||||
# instead of the current development version
|
||||
# git checkout $(git describe --tags `git rev-list --tags --max-count=1`)
|
||||
|
||||
# TARGET_PLATFORM can be linux, win32 (windows) or darwin (os x)
|
||||
export PLATFORM=TARGET_PLATFORM
|
||||
|
|
@ -64,21 +68,8 @@ export PLATFORM=TARGET_PLATFORM
|
|||
export ARCH=TARGET_ARCH
|
||||
|
||||
|
||||
npm install
|
||||
|
||||
# run this instead if ARCH is armv7l
|
||||
# npm install --arch=armv7l
|
||||
|
||||
|
||||
npm run build
|
||||
|
||||
npm run package
|
||||
|
||||
# Do one of the following if you want a deb package for debian/ubuntu
|
||||
npm run deb32
|
||||
npm run deb64
|
||||
npm run debarm
|
||||
|
||||
|
||||
# The node-only package can be built with
|
||||
npm run package-node
|
||||
|
|
@ -89,3 +80,10 @@ This will build the app in `dist/open-stage-control-PLATFORM-ARCH`.
|
|||
|
||||
!!! info ""
|
||||
Building the app for windows from a linux system requires wine to be installed.
|
||||
|
||||
|
||||
## Debian/Ubuntu installer
|
||||
|
||||
```
|
||||
npm run deb64
|
||||
```
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ packager({
|
|||
name: appData.name,
|
||||
platform: all ? ['linux', 'win32', 'darwin'] : process.env.PLATFORM,
|
||||
arch: process.env.ARCH || 'x64',
|
||||
electronVersion: require('../package.json').optionalDependencies.electron,
|
||||
electronVersion: process.env.ARCH === 'armv7l' ? '1.7.11' : require('../package.json').optionalDependencies.electron,
|
||||
overwrite: true,
|
||||
out: path.resolve(__dirname + '/../dist'),
|
||||
icon: path.resolve(__dirname + '/../resources/images/logo'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue