diff --git a/.github/linux-download.png b/.github/linux-download.png index 5da52473b..5afa74cbf 100644 Binary files a/.github/linux-download.png and b/.github/linux-download.png differ diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 39972b49f..6667c3d86 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -93,3 +93,46 @@ jobs: files: ./server/dist/ontime-win64.exe env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + build_linux: + runs-on: ubuntu-latest + env: + CI: '' + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js + uses: actions/setup-node@v1 + with: + node-version: '14.x' + + # React + - name: React - Install dependencies + run: yarn install + working-directory: ./client + + - name: React - Build project + run: yarn build + working-directory: ./client + + # Node server + - name: Server - Install dependencies + run: yarn install + working-directory: ./server/src + + # App + - name: Electron - Install dependencies + shell: bash + run: yarn install && yarn setdb + working-directory: ./server + - name: Electron - Build app + run: yarn dist-linux + working-directory: ./server + + # Release + - name: Release + uses: softprops/action-gh-release@v1 + with: + files: ./server/dist/ontime-linux.AppImage + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index c13be4172..e8854dce5 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@
# Ontime @@ -126,7 +126,6 @@ friendly order unless there is user demand to bump any of them. - [ ] Improvement with event component design - [ ] New playback mode for [cumulative time keeping](https://github.com/cpvalente/ontime/issues/100) -- [ ] Linux version - [ ] Headless version (run server only anywhere, configure from a browser locally) - [ ] Companion module - [ ] Lower Third Manager diff --git a/client/src/features/info/InfoLogger.jsx b/client/src/features/info/InfoLogger.jsx index cd976f246..d531468b7 100644 --- a/client/src/features/info/InfoLogger.jsx +++ b/client/src/features/info/InfoLogger.jsx @@ -1,5 +1,4 @@ import React, { useCallback, useContext, useEffect, useState } from 'react'; -import { HStack } from '@chakra-ui/react'; import CollapseBar from '../../common/components/collapseBar/CollapseBar'; import { LoggingContext } from '../../app/context/LoggingContext'; import style from './InfoLogger.module.scss'; @@ -60,7 +59,7 @@ export default function InfoLogger() {