Skip to content

Commit

Permalink
feat: more installers and architectures (#2159)
Browse files Browse the repository at this point in the history
* refactor: platform info in Linux packages

* refactor: windows builds

* fix: build configs

* feat: added Apple Silicon build

* refactor: change build order of Windows build

* chore(release): 0.9.0-beta.4

# [0.9.0-beta.4](v0.9.0-beta.3...v0.9.0-beta.4) (2022-03-05)

### Bug Fixes

* build configs ([c0e94ff](c0e94ff))
* **deps:** update dependency @emotion/styled to v11.8.0 ([4a4b4c3](4a4b4c3))
* **deps:** update dependency @emotion/styled to v11.8.1 ([7c8d305](7c8d305))
* **deps:** update dependency @lumieducation/h5p-express to v9.0.10 ([9316c65](9316c65))
* **deps:** update dependency @lumieducation/h5p-html-exporter to v9.0.10 ([f9bc3a6](f9bc3a6))
* **deps:** update dependency @lumieducation/h5p-react to v9.0.10 ([2868f82](2868f82))
* **deps:** update dependency @lumieducation/h5p-server to v9.0.10 ([3595016](3595016))
* **deps:** update dependency @types/react-dom to v17.0.12 ([e3a5e67](e3a5e67))
* **deps:** update dependency @types/react-dom to v17.0.13 ([2e9a08b](2e9a08b))
* **deps:** update dependency fs-extra to v10.0.1 ([55b8033](55b8033))
* **deps:** update dependency i18next to v21.6.12 ([f48bd30](f48bd30))
* **deps:** update dependency i18next to v21.6.13 ([0b59834](0b59834))
* **deps:** update dependency object-hash to v3 ([#2145](#2145)) ([a7562e7](a7562e7))
* **deps:** update dependency react-i18next to v11.15.5 ([8e723d0](8e723d0))
* **deps:** update dependency superagent to v7 ([#2080](#2080)) ([5b88c8a](5b88c8a))
* **deps:** update dependency typescript to v4.6.2 ([8e5db05](8e5db05))
* removed bug reporting dialog that is never read ([bef0f6c](bef0f6c))

### Features

* added Apple Silicon build ([7061308](7061308))

* fix(deps): update dependency @lumieducation/h5p-html-exporter to v9.1.0

* fix(deps): update dependency @lumieducation/h5p-react to v9.1.0

* fix(deps): update dependency @lumieducation/h5p-server to v9.1.0

* chore(deps): update dependency json-autotranslate to v1.10.0

* fix(deps): update dependency @lumieducation/h5p-express to v9.1.0

* fix(deps): update dependency react-i18next to v11.15.6

* chore(deps): update dependency electron to v17.1.1

* fix(deps): update dependency i18next to v21.6.14

* fix(deps): update dependency @testing-library/react to v12.1.4

* chore(deps): update dependency electron to v17.1.2

* fix(deps): update dependency @types/react to v17.0.40

* fix(deps): update dependency @lumieducation/h5p-html-exporter to v9.1.1

* fix(deps): update dependency @lumieducation/h5p-react to v9.1.1

* fix(deps): update dependency @lumieducation/h5p-server to v9.1.1

* fix(deps): update dependency @lumieducation/h5p-express to v9.1.1

* fix(deps): update dependency react-i18next to v11.15.7

* fix(deps): update dependency i18next-http-backend to v1.4.0

* chore(deps): update dependency @types/lodash to v4.14.180

* chore(deps): update dependency @commitlint/cli to v16.2.3

* chore(deps): update dependency prettier to v2.6.0

* fix(deps): update dependency react-i18next to v11.16.1

* fix(deps): update dependency debug to v4.3.4

* fix(deps): update dependency @types/react to v17.0.41

* fix(deps): update dependency @types/react-dom to v17.0.14

* fix(deps): update dependency @lumieducation/h5p-html-exporter to v9.1.2

* fix(deps): update dependency @lumieducation/h5p-react to v9.1.2

* fix(deps): update dependency @lumieducation/h5p-server to v9.1.2

* fix(deps): update dependency @lumieducation/h5p-express to v9.1.2

* fix(deps): update dependency @types/react to v17.0.42

* chore(deps): update dependency electron to v17.2.0

* chore(deps): update dependency electron-notarize to v1.2.1

* fix(deps): update dependency @types/react to v17.0.43

* fix(deps): update dependency @testing-library/jest-dom to v5.16.3

* fix(deps): update dependency typescript to v4.6.3

* chore(deps): update dependency json-autotranslate to v1.10.1

* chore(deps): update dependency prettier to v2.6.1

* chore(deps): updated electron-builder to support macOS 12.3

* fix(deps): update dependency react-i18next to v11.16.2

* refactor: bat files for windows

* refactor: removed arm64 from snap build

* chore(release): 0.9.0-beta.5

# [0.9.0-beta.5](v0.9.0-beta.4...v0.9.0-beta.5) (2022-04-03)

### Bug Fixes

* **deps:** update dependency @lumieducation/h5p-express to v9.1.0 ([0db0910](0db0910))
* **deps:** update dependency @lumieducation/h5p-express to v9.1.0 ([40bca12](40bca12))
* **deps:** update dependency @lumieducation/h5p-express to v9.1.1 ([e2dd643](e2dd643))
* **deps:** update dependency @lumieducation/h5p-express to v9.1.1 ([8a6b27b](8a6b27b))
* **deps:** update dependency @lumieducation/h5p-express to v9.1.2 ([966831e](966831e))
* **deps:** update dependency @lumieducation/h5p-express to v9.1.2 ([687ad68](687ad68))
* **deps:** update dependency @lumieducation/h5p-html-exporter to v9.1.0 ([e31234a](e31234a))
* **deps:** update dependency @lumieducation/h5p-html-exporter to v9.1.0 ([6ca56cc](6ca56cc))
* **deps:** update dependency @lumieducation/h5p-html-exporter to v9.1.1 ([597d9a4](597d9a4))
* **deps:** update dependency @lumieducation/h5p-html-exporter to v9.1.1 ([4e25d7c](4e25d7c))
* **deps:** update dependency @lumieducation/h5p-html-exporter to v9.1.2 ([46bf0f1](46bf0f1))
* **deps:** update dependency @lumieducation/h5p-html-exporter to v9.1.2 ([46ac77d](46ac77d))
* **deps:** update dependency @lumieducation/h5p-react to v9.1.0 ([256c6fa](256c6fa))
* **deps:** update dependency @lumieducation/h5p-react to v9.1.0 ([d527c4d](d527c4d))
* **deps:** update dependency @lumieducation/h5p-react to v9.1.1 ([af31999](af31999))
* **deps:** update dependency @lumieducation/h5p-react to v9.1.1 ([139aaa1](139aaa1))
* **deps:** update dependency @lumieducation/h5p-react to v9.1.2 ([3283032](3283032))
* **deps:** update dependency @lumieducation/h5p-react to v9.1.2 ([c8ee8e2](c8ee8e2))
* **deps:** update dependency @lumieducation/h5p-server to v9.1.0 ([6853685](6853685))
* **deps:** update dependency @lumieducation/h5p-server to v9.1.0 ([96abfc1](96abfc1))
* **deps:** update dependency @lumieducation/h5p-server to v9.1.1 ([6f0d2d9](6f0d2d9))
* **deps:** update dependency @lumieducation/h5p-server to v9.1.1 ([673dbbf](673dbbf))
* **deps:** update dependency @lumieducation/h5p-server to v9.1.2 ([119bca0](119bca0))
* **deps:** update dependency @lumieducation/h5p-server to v9.1.2 ([47c1bbf](47c1bbf))
* **deps:** update dependency @testing-library/jest-dom to v5.16.3 ([7767af2](7767af2))
* **deps:** update dependency @testing-library/jest-dom to v5.16.3 ([9be4c7b](9be4c7b))
* **deps:** update dependency @testing-library/react to v12.1.4 ([35188b7](35188b7))
* **deps:** update dependency @testing-library/react to v12.1.4 ([65a2be3](65a2be3))
* **deps:** update dependency @types/react to v17.0.40 ([ceaef16](ceaef16))
* **deps:** update dependency @types/react to v17.0.40 ([c61b9a1](c61b9a1))
* **deps:** update dependency @types/react to v17.0.41 ([d989130](d989130))
* **deps:** update dependency @types/react to v17.0.41 ([50c966b](50c966b))
* **deps:** update dependency @types/react to v17.0.42 ([4eb3645](4eb3645))
* **deps:** update dependency @types/react to v17.0.42 ([a14fff2](a14fff2))
* **deps:** update dependency @types/react to v17.0.43 ([6f552ee](6f552ee))
* **deps:** update dependency @types/react to v17.0.43 ([900ae92](900ae92))
* **deps:** update dependency @types/react-dom to v17.0.14 ([c3979ca](c3979ca))
* **deps:** update dependency @types/react-dom to v17.0.14 ([6e87081](6e87081))
* **deps:** update dependency debug to v4.3.4 ([d85bfe9](d85bfe9))
* **deps:** update dependency debug to v4.3.4 ([ffe373b](ffe373b))
* **deps:** update dependency i18next to v21.6.14 ([4bc5397](4bc5397))
* **deps:** update dependency i18next to v21.6.14 ([44431c3](44431c3))
* **deps:** update dependency i18next-http-backend to v1.4.0 ([9d4c777](9d4c777))
* **deps:** update dependency i18next-http-backend to v1.4.0 ([90ca603](90ca603))
* **deps:** update dependency nanoid to v3.3.2 ([#2210](#2210)) ([28d4a6f](28d4a6f))
* **deps:** update dependency react-i18next to v11.15.6 ([186cee1](186cee1))
* **deps:** update dependency react-i18next to v11.15.6 ([7bd0330](7bd0330))
* **deps:** update dependency react-i18next to v11.15.7 ([8ab0b17](8ab0b17))
* **deps:** update dependency react-i18next to v11.15.7 ([cbc10f7](cbc10f7))
* **deps:** update dependency react-i18next to v11.16.1 ([1a50b86](1a50b86))
* **deps:** update dependency react-i18next to v11.16.1 ([3757d75](3757d75))
* **deps:** update dependency react-i18next to v11.16.2 ([782e80f](782e80f))
* **deps:** update dependency react-i18next to v11.16.2 ([04e81db](04e81db))
* **deps:** update dependency react-redux to v7.2.7 ([c1336ed](c1336ed))
* **deps:** update dependency react-redux to v7.2.8 ([a70b691](a70b691))
* **deps:** update dependency typescript to v4.6.3 ([8dd89bc](8dd89bc))
* **deps:** update dependency typescript to v4.6.3 ([df3d0f2](df3d0f2))

* refactor: no auto update for nsis-machine

* refactor: fix Windows build

* refactor: ci windows path

* fix: trigger beta release

* chore(release): 0.9.0-beta.6

# [0.9.0-beta.6](v0.9.0-beta.5...v0.9.0-beta.6) (2022-04-08)

### Bug Fixes

* trigger beta release ([39e11cf](39e11cf))

* fix: speed up installs with asar

* fix: speed up installs with asar

Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
  • Loading branch information
3 people authored Apr 9, 2022
1 parent 28f6306 commit 2e8497b
Show file tree
Hide file tree
Showing 26 changed files with 278 additions and 36 deletions.
51 changes: 36 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,53 @@
# Lumi

Lumi is a Desktop App that offers a collection of tools to create, edit and share digital content with your class.
Lumi is a Desktop App that offers a collection of tools to create, edit and
share digital content with your class.

Lumi is currently in a very early development phase and offers only one tool: a H5P Editor.
Other tools will be added in later versions.
Lumi is currently in a very early development phase and offers only one tool: a
H5P Editor. Other tools will be added in later versions.

Download the latest version [here](https://github.com/Lumieducation/Lumi/releases/latest).
Download the latest version
[here](https://github.com/Lumieducation/Lumi/releases/latest).

It’s built with TypeScript – a [nodejs](https://nodejs.org/) plus [express](https://expressjs.com/) and [socket.io](http://socket.io) server, [React.js](https://reactjs.org/), [Redux](https://redux.js.org/) and [Material-ui](https://www.material-ui.com).
It runs as a [Electron](https://electronjs.org)-Standalone App on Mac OS X, Windows and Linux.
It’s built with TypeScript – a [nodejs](https://nodejs.org/) plus
[express](https://expressjs.com/) and [socket.io](http://socket.io) server,
[React.js](https://reactjs.org/), [Redux](https://redux.js.org/) and
[Material-ui](https://www.material-ui.com). It runs as a
[Electron](https://electronjs.org)-Standalone App on Mac OS X, Windows and
Linux.

## Contributing

Lumi tries to improve education wherever it is possible by providing a software that connects teachers with their students. But Lumi is in a very early development stage. Every help is appreciated and welcome. You can contribute in many ways. You can help reporting, testing, and detailing bugs, and also test and suggest new features.
Please read [CONTRIBUTING.md](./.github/CONTRIBUTING.md) for details on our code of conduct, and the process for submitting pull requests to us.

We manage the localization of Lumi on [translate-h5p.tk](https://translate-h5p.tk/) in the project [Lumi Education](https://translate-h5p.tk/weblate/projects/lumi-education/). The Weblate installation there makes it easy to add translations into your language. Please read the [guide how to contribute](https://translate-h5p.tk/contributing/) and register on translate-h5p.tk if you're interested in helping out!

Lumi has adopted the code of conduct defined by the Contributor Covenant. It can be read in full [here](./CODE-OF-CONDUCT.md).
Lumi tries to improve education wherever it is possible by providing a software
that connects teachers with their students. But Lumi is in a very early
development stage. Every help is appreciated and welcome. You can contribute in
many ways. You can help reporting, testing, and detailing bugs, and also test
and suggest new features. Please read
[CONTRIBUTING.md](./.github/CONTRIBUTING.md) for details on our code of conduct,
and the process for submitting pull requests to us.

We manage the localization of Lumi on
[translate-h5p.tk](https://translate-h5p.tk/) in the project [Lumi
Education](https://translate-h5p.tk/weblate/projects/lumi-education/). The
Weblate installation there makes it easy to add translations into your language.
Please read the [guide how to
contribute](https://translate-h5p.tk/contributing/) and register on
translate-h5p.tk if you're interested in helping out!

Lumi has adopted the code of conduct defined by the Contributor Covenant. It can
be read in full [here](./CODE-OF-CONDUCT.md).

### Get in touch

[Slack](https://join.slack.com/t/lumi-education/shared_invite/enQtMjY0MTM2NjIwNDU0LWU3YzVhZjdkNGFjZGE1YThjNzBiMmJjY2I2ODk2MzAzNDE3YzI0MmFkOTdmZWZhOTBmY2RjOTc3ZmZmOWMxY2U) or [c@lumi.education](mailto:c@lumi.education).
[Slack](https://join.slack.com/t/lumi-education/shared_invite/enQtMjY0MTM2NjIwNDU0LWU3YzVhZjdkNGFjZGE1YThjNzBiMmJjY2I2ODk2MzAzNDE3YzI0MmFkOTdmZWZhOTBmY2RjOTc3ZmZmOWMxY2U)
or [c@lumi.education](mailto:c@lumi.education).

## Versioning

We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/Lumieducation/Lumi/tags).
We use [SemVer](http://semver.org/) for versioning. For the versions available,
see the [tags on this repository](https://github.com/Lumieducation/Lumi/tags).

## License

This project is licensed under the GNU AFFERO GENERAL PUBLIC LICENSE v3 License - see the [LICENSE](LICENSE) file for details
This project is licensed under the GNU AFFERO GENERAL PUBLIC LICENSE v3 License
- see the [LICENSE](LICENSE) file for details
4 changes: 4 additions & 0 deletions builder-configs/build.linux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
npx --no-install electron-builder --config ./builder-configs/builder.config.appimage.js --linux "$@"
npx --no-install electron-builder --config ./builder-configs/builder.config.deb.js --linux "$@"
npx --no-install electron-builder --config ./builder-configs/builder.config.pacman.js --linux "$@"
npx --no-install electron-builder --config ./builder-configs/builder.config.snap.js --linux "$@"
6 changes: 6 additions & 0 deletions builder-configs/build.win.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
npx --no-install electron-builder --config builder-configs\builder.config.clickonce.ia32.js --win %* && ^
npx --no-install electron-builder --config builder-configs\builder.config.clickonce.arm64.js --win %* && ^
npx --no-install electron-builder --config builder-configs\builder.config.nsis-machine.js --win %* && ^
npx --no-install electron-builder --config builder-configs\builder.config.clickonce.js --win %* && ^
npx --no-install electron-builder --config builder-configs\builder.config.portable.js --win %* && ^
npx --no-install electron-builder --config builder-configs\builder.config.appx.js --win %*
6 changes: 6 additions & 0 deletions builder-configs/build.win.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
npx --no-install electron-builder --config ./builder-configs/builder.config.clickonce.ia32.js --win "$@"
npx --no-install electron-builder --config ./builder-configs/builder.config.clickonce.arm64.js --win "$@"
npx --no-install electron-builder --config ./builder-configs/builder.config.nsis-machine.js --win "$@"
npx --no-install electron-builder --config ./builder-configs/builder.config.clickonce.js --win "$@"
npx --no-install electron-builder --config ./builder-configs/builder.config.portable.js --win "$@"
npx --no-install electron-builder --config ./builder-configs/builder.config.appx.js --win "$@"
10 changes: 10 additions & 0 deletions builder-configs/builder.config.appimage.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const base = require('../builder.config');

module.exports = {
...base,
linux: {
category: 'Utility',
target: [{ target: 'AppImage', arch: ['arm64', 'x64'] }]
},
extraResources: 'platform-information/appimage.json'
};
10 changes: 10 additions & 0 deletions builder-configs/builder.config.appx.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const base = require('../builder.config');

module.exports = {
...base,
win: {
...base.win,
target: [{ target: 'appx', arch: ['arm64', 'x64'] }]
},
extraResources: 'platform-information/win.appx.json'
};
15 changes: 15 additions & 0 deletions builder-configs/builder.config.clickonce.arm64.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
const base = require('../builder.config');

module.exports = {
...base,
win: {
...base.win,
target: [{ target: 'nsis', arch: [ 'arm64' ] }]
},
extraResources: 'platform-information/win.clickonce.arm.32bit.json',
artifactName: 'Lumi-Setup-${version}-${arch}.${ext}',
publish: {
...base.publish,
publishAutoUpdate: false
}
};
15 changes: 15 additions & 0 deletions builder-configs/builder.config.clickonce.ia32.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
const base = require('../builder.config');

module.exports = {
...base,
win: {
...base.win,
target: [{ target: 'nsis', arch: ['ia32'] }]
},
extraResources: 'platform-information/win.clickonce.arm.32bit.json',
artifactName: 'Lumi-Setup-${version}-${arch}.${ext}',
publish: {
...base.publish,
publishAutoUpdate: false
}
};
10 changes: 10 additions & 0 deletions builder-configs/builder.config.clickonce.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const base = require('../builder.config');

module.exports = {
...base,
win: {
...base.win,
target: [{ target: 'nsis', arch: ['x64'] }]
},
extraResources: 'platform-information/win.clickonce.json'
};
10 changes: 10 additions & 0 deletions builder-configs/builder.config.deb.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const base = require('../builder.config');

module.exports = {
...base,
linux: {
category: 'Utility',
target: [{ target: 'deb', arch: ['arm64', 'x64'] }]
},
extraResources: 'platform-information/deb.json'
};
21 changes: 21 additions & 0 deletions builder-configs/builder.config.nsis-machine.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
const base = require('../builder.config');

module.exports = {
...base,
win: {
...base.win,
target: [{ target: 'nsis', arch: ['arm64', 'x64', 'ia32'] }]
},
nsis: {
...base.nsis,
oneClick: false,
perMachine: true,
allowToChangeInstallationDirectory: true
},
extraResources: 'platform-information/win.machine.json',
artifactName: 'Lumi-${version}-multiuser-${arch}.${ext}',
publish: {
...base.publish,
publishAutoUpdate: false
}
};
10 changes: 10 additions & 0 deletions builder-configs/builder.config.pacman.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const base = require('../builder.config');

module.exports = {
...base,
linux: {
category: 'Utility',
target: [{ target: 'pacman', arch: ['arm64', 'x64'] }]
},
extraResources: 'platform-information/pacman.json'
};
11 changes: 11 additions & 0 deletions builder-configs/builder.config.portable.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
const base = require('../builder.config');

module.exports = {
...base,
win: {
...base.win,
target: [{ target: 'portable', arch: ['arm64', 'x64', 'ia32'] }]
},
extraResources: 'platform-information/win.portable.json',
artifactName: 'Lumi-${version}-portable-${arch}.${ext}'
};
10 changes: 10 additions & 0 deletions builder-configs/builder.config.snap.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const base = require('../builder.config');

module.exports = {
...base,
linux: {
category: 'Utility',
target: [{ target: 'snap', arch: ['x64'] }]
},
extraResources: 'platform-information/snap.json'
};
17 changes: 12 additions & 5 deletions builder.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module.exports = {
appId: 'education.lumi.lumi',
productName: 'Lumi',
asar: false,
asar: true,
icon: 'electron/assets/lumi.icns',
files: [
'build/**/*',
Expand All @@ -22,13 +22,21 @@ module.exports = {
ext: 'h5p',
name: 'H5P'
},
target: ['zip', 'dmg'],
target: [
{
target: 'dmg',
arch: ['arm64', 'x64']
},
{
target: 'zip',
arch: ['arm64', 'x64']
}
],
hardenedRuntime: true
},
afterSign: 'scripts/notarize.js',
win: {
icon: 'electron/assets/lumi.png',
target: ['appx', 'nsis'],
fileAssociations: {
ext: 'h5p',
name: 'H5P'
Expand All @@ -45,8 +53,7 @@ module.exports = {
deleteAppDataOnUninstall: true
},
linux: {
category: 'Utility',
target: ['AppImage', 'snap', 'deb', 'pacman']
category: 'Utility'
},
dmg: {
sign: false
Expand Down
17 changes: 8 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lumi",
"version": "0.9.0-beta.3",
"version": "0.9.0-beta.6",
"private": true,
"description": "A tool to create and display interactive content with H5P",
"author": "Lumi Education Jan Philip Schellenberg & Sebastian Rettig GbR <c@lumi.education>",
Expand Down Expand Up @@ -38,31 +38,30 @@
},
"scripts": {
"build": "npm run build:server && npm run build:client && npm run build:reporter-client",
"build:all": "npm run build && ./node_modules/.bin/electron-builder --config builder.config.js --mac --win --linux --publish never",
"build:all:dev": "CSC_IDENTITY_AUTO_DISCOVERY=false npm run build:all",
"build:client": "npm run build --prefix client && cp -r client/build build/client && rm -rf client/build",
"build:reporter-client": "npm run build --prefix reporter-client",
"build:linux": "npm run build && ./node_modules/.bin/electron-builder --config builder.config.js --linux --publish never",
"build:linux": "npm run build && ./builder-configs/build.linux.sh --publish never",
"build:mac": "npm run build && ./node_modules/.bin/electron-builder --config builder.config.js --mac --publish never",
"build:mac:dev": "CSC_IDENTITY_AUTO_DISCOVERY=false npm run build:mac",
"build:sentry": "cross-env RELEASE=true npm run build:client",
"build:server": "npx tsc --project tsconfig.json",
"build:win": "npm run build && cp -r electron/assets/appx build && npx --no-install electron-builder --config builder.config.js --windows nsis --publish never && rm -rf build/appx",
"build:win": "npm run build && cp -r electron/assets/appx build && builder-configs\\build.win.bat --publish never && rm -rf build/appx",
"build:win32": "npm run build && cp -r electron/assets/appx build && npx --no-install electron-builder --config builder.config.js --windows nsis --publish never --ia32 && rm -rf build/appx",
"ci": "npm run lint && npm run format:check && npm run build && npm run test",
"clean": "rm -rf build/",
"format": "npx prettier --write \"{server,client,test}/**/*.{ts,tsx}\"",
"format:check": "npx prettier --check \"{server,client,test}/**/*.{ts,tsx}\"",
"lint": "./node_modules/.bin/tslint --project tsconfig.json --config tslint.json",
"publish:mac": "npx --no-install electron-builder --config builder.config.js --mac --publish always",
"publish:win": "cp -r electron/assets/appx build && npx --no-install electron-builder --config builder.config.js --win --publish always && rm -rf build/appx",
"publish:win": "cp -r electron/assets/appx build && builder-configs\\build.win.bat --publish always && rm -rf build/appx",
"build:linux:dev": "CSC_IDENTITY_AUTO_DISCOVERY=false npm run build:linux",
"publish:linux": "npx --no-install electron-builder --config builder.config.js --linux --publish always",
"start": "cross-env DEBUG=lumi:* LOG_LEVEL=debug PORT=8080 ./node_modules/.bin/electron .",
"publish:linux": "npm run build && ./builder-configs/build.linux.sh --publish always",
"start:dev": "cross-env NODE_ENV=development DEBUG=lumi:* LOG_LEVEL=debug PORT=8080 ./node_modules/.bin/electron .",
"test": "cross-env NODE_ENV=development jest && npm run test --prefix client/",
"test:watch": "cross-env NODE_ENV=development jest --watch",
"start": "cross-env DEBUG=lumi:* LOG_LEVEL=debug PORT=8080 ./node_modules/.bin/electron .",
"test:e2e": "npx jest --config jest.e2e.config.js --run-in-band",
"test:watch": "cross-env NODE_ENV=development jest --watch",
"test": "cross-env NODE_ENV=development jest && npm run test --prefix client/",
"semantic-release": "semantic-release",
"uninstall": "rm -rf build/ && rm -rf node_modules/",
"install:h5p-core": "sh scripts/install.sh 22115c0aeaa34faef5109c3f378add2d1647c837 c886fa6ded498bbe0148e9484f9b1534facc264e",
Expand Down
5 changes: 5 additions & 0 deletions platform-information/appimage.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"platform": "Linux",
"package": "appimage",
"supportsUpdates": "yes"
}
5 changes: 5 additions & 0 deletions platform-information/deb.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"platform": "Linux",
"package": "deb",
"supportsUpdates": "no"
}
5 changes: 5 additions & 0 deletions platform-information/pacman.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"platform": "Linux",
"package": "pacman",
"supportsUpdates": "no"
}
5 changes: 5 additions & 0 deletions platform-information/snap.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"platform": "Linux",
"package": "deb",
"supportsUpdates": "external"
}
5 changes: 5 additions & 0 deletions platform-information/win.appx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"platform": "Windows",
"package": "appx",
"supportsUpdates": "external"
}
5 changes: 5 additions & 0 deletions platform-information/win.clickonce.arm.32bit.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"platform": "Windows",
"package": "clickonce",
"supportsUpdates": "no"
}
5 changes: 5 additions & 0 deletions platform-information/win.clickonce.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"platform": "Windows",
"package": "clickonce",
"supportsUpdates": "yes"
}
5 changes: 5 additions & 0 deletions platform-information/win.machine.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"platform": "Windows",
"package": "nsis-machine",
"supportsUpdates": "no"
}
5 changes: 5 additions & 0 deletions platform-information/win.portable.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"platform": "Windows",
"package": "portable",
"supportsUpdates": "no"
}
Loading

0 comments on commit 2e8497b

Please sign in to comment.