Prepare releases

This commit is contained in:
Thomas Nordquist
2019-01-07 13:59:22 +01:00
parent 5123207ea1
commit e945721221
6 changed files with 17 additions and 8865 deletions

View File

@@ -223,9 +223,6 @@ class Connection extends React.Component<Props, State> {
</Grid>
<br />
<div style={{ textAlign: 'right' }}>
// <Button variant="contained" className={classes.button}>
// Test Connection
// </Button>
<Button variant="contained" color="secondary" className={classes.button} onClick={() => this.saveConnectionSettings()}>
Save
</Button>

3677
backend/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -6,6 +6,7 @@ const linux: builder.CliOptions = {
armv7l: true,
arm64: true,
linux: ['snap', 'AppImage', 'deb', 'pacman'],
prepackaged: './build/topackage',
}
const win: builder.CliOptions = {
@@ -14,6 +15,7 @@ const win: builder.CliOptions = {
armv7l: false,
arm64: false,
win: ['portable'],
prepackaged: './build/topackage',
}
const mac: builder.CliOptions = {

5184
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -41,7 +41,6 @@
"dependencies": {
"@types/electron": "^1.6.10",
"@types/socket.io": "^2.1.2",
"mqtt-explorer-backend": "file:backend",
"socket.io": "^2.2.0"
}
}

View File

@@ -1,4 +1,19 @@
#!/bin/bash
DIR=build/topackage
rm -rf "$DIR"
mkdir -p "$DIR"
git clone .git "$DIR"
ORIGINAL_DIR=`pwd`
cd $DIR
cd app && npm install; cd ..
cd backend && npm install; cd ..
npm run build
rm -rf app/node_modules
cd "$ORIGINAL_DIR"
docker run --rm -ti \
--env ELECTRON_CACHE="/root/.cache/electron" \
--env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" \