Prepare releases
This commit is contained in:
@@ -223,9 +223,6 @@ class Connection extends React.Component<Props, State> {
|
|||||||
</Grid>
|
</Grid>
|
||||||
<br />
|
<br />
|
||||||
<div style={{ textAlign: 'right' }}>
|
<div style={{ textAlign: 'right' }}>
|
||||||
// <Button variant="contained" className={classes.button}>
|
|
||||||
// Test Connection
|
|
||||||
// </Button>
|
|
||||||
<Button variant="contained" color="secondary" className={classes.button} onClick={() => this.saveConnectionSettings()}>
|
<Button variant="contained" color="secondary" className={classes.button} onClick={() => this.saveConnectionSettings()}>
|
||||||
Save
|
Save
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
3677
backend/package-lock.json
generated
3677
backend/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
2
build.ts
2
build.ts
@@ -6,6 +6,7 @@ const linux: builder.CliOptions = {
|
|||||||
armv7l: true,
|
armv7l: true,
|
||||||
arm64: true,
|
arm64: true,
|
||||||
linux: ['snap', 'AppImage', 'deb', 'pacman'],
|
linux: ['snap', 'AppImage', 'deb', 'pacman'],
|
||||||
|
prepackaged: './build/topackage',
|
||||||
}
|
}
|
||||||
|
|
||||||
const win: builder.CliOptions = {
|
const win: builder.CliOptions = {
|
||||||
@@ -14,6 +15,7 @@ const win: builder.CliOptions = {
|
|||||||
armv7l: false,
|
armv7l: false,
|
||||||
arm64: false,
|
arm64: false,
|
||||||
win: ['portable'],
|
win: ['portable'],
|
||||||
|
prepackaged: './build/topackage',
|
||||||
}
|
}
|
||||||
|
|
||||||
const mac: builder.CliOptions = {
|
const mac: builder.CliOptions = {
|
||||||
|
|||||||
5184
package-lock.json
generated
5184
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -41,7 +41,6 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@types/electron": "^1.6.10",
|
"@types/electron": "^1.6.10",
|
||||||
"@types/socket.io": "^2.1.2",
|
"@types/socket.io": "^2.1.2",
|
||||||
"mqtt-explorer-backend": "file:backend",
|
|
||||||
"socket.io": "^2.2.0"
|
"socket.io": "^2.2.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
15
release.sh
15
release.sh
@@ -1,4 +1,19 @@
|
|||||||
#!/bin/bash
|
#!/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 \
|
docker run --rm -ti \
|
||||||
--env ELECTRON_CACHE="/root/.cache/electron" \
|
--env ELECTRON_CACHE="/root/.cache/electron" \
|
||||||
--env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" \
|
--env ELECTRON_BUILDER_CACHE="/root/.cache/electron-builder" \
|
||||||
|
|||||||
Reference in New Issue
Block a user