mirror of
https://github.com/thomasnordquist/MQTT-Explorer.git
synced 2026-09-12 01:23:31 +00:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
77654c7136 | ||
|
|
3bfc59d89a | ||
|
|
6bf84055d9 | ||
|
|
12d7d3ab64 | ||
|
|
b2913c7e0e | ||
|
|
352948f212 | ||
|
|
9a4dbe92a0 | ||
|
|
397b95f9e5 | ||
|
|
a411d21133 | ||
|
|
4f624cc130 | ||
|
|
f10bfafa1d | ||
|
|
10e37624a5 | ||
|
|
ebdfac39eb | ||
|
|
7cc032cdf4 | ||
|
|
4bc9039386 | ||
|
|
43b997fb18 | ||
|
|
6c883aa226 | ||
|
|
20cde3e2a4 | ||
|
|
2a541a80dc |
@@ -8,7 +8,7 @@
|
||||
|
||||
| | | |
|
||||
|:---:|:---:|:---:|
|
||||
|[](https://user-images.githubusercontent.com/7721625/53954364-52551f00-40d6-11e9-93cf-d5a9601897ea.png)|[](https://user-images.githubusercontent.com/7721625/53954365-52551f00-40d6-11e9-823f-afd66f19ed01.png)|[](https://user-images.githubusercontent.com/7721625/53954366-52551f00-40d6-11e9-9738-74db830d03ac.png)|
|
||||
|[](https://mqtt-explorer.com/img/screen-composite.png)|[](https://mqtt-explorer.com/img/screen2.png)|[](https://mqtt-explorer.com/img/screen3.png)|
|
||||
|
||||
# The App has moved to [mqtt-explorer.com](https://mqtt-explorer.com)
|
||||
MQTT Explorer is a comprehensive and easy-to-use MQTT Client.
|
||||
|
||||
@@ -98,7 +98,7 @@ class TreeNodeComponent extends React.Component<Props, State> {
|
||||
}
|
||||
|
||||
private viewStateHasChanged = (msg: void) => {
|
||||
this.setState({ selected: this.props.treeNode.viewModel!.isSelected() })
|
||||
this.props.treeNode.viewModel && this.setState({ selected: this.props.treeNode.viewModel.isSelected() })
|
||||
}
|
||||
|
||||
private removeSubscriber(treeNode: q.TreeNode<TopicViewModel>) {
|
||||
|
||||
+3
-2
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "MQTT-Explorer",
|
||||
"version": "0.2.5",
|
||||
"version": "0.2.6",
|
||||
"description": "Explore your message queues",
|
||||
"main": "dist/src/electron.js",
|
||||
"scripts": {
|
||||
@@ -50,7 +50,8 @@
|
||||
"buildResources": "res",
|
||||
"output": "build"
|
||||
},
|
||||
"afterAllArtifactBuild": "./dist/scripts/afterAllArtifactBuild.js"
|
||||
"afterAllArtifactBuild": "./dist/scripts/afterAllArtifactBuild.js",
|
||||
"afterPack": "./dist/scripts/afterPack.js"
|
||||
},
|
||||
"author": "Thomas Nordquist",
|
||||
"email": "xxnerowingerxx@gmail.com",
|
||||
|
||||
@@ -13,6 +13,8 @@ export default async function(info: any) {
|
||||
await exec('sudo', ['unsquashfs', snapFile])
|
||||
await exec('sudo', ['rm', snapFile])
|
||||
await exec('sudo', ['chmod', '-R', 'g-s', 'squashfs-root'])
|
||||
|
||||
// Add command line argument to disable the sandbox
|
||||
await exec('sudo', ['snap', 'run', 'snapcraft', 'pack', 'squashfs-root', '--output', snapFile])
|
||||
await exec('sudo', ['rm', '-rf', 'squashfs-root'])
|
||||
|
||||
|
||||
@@ -0,0 +1,36 @@
|
||||
import * as fs from 'fs-extra'
|
||||
import * as path from 'path'
|
||||
import { chdir } from 'process'
|
||||
import { exec } from './util'
|
||||
|
||||
|
||||
interface Target {
|
||||
name: 'appImage' | string
|
||||
}
|
||||
|
||||
interface Context {
|
||||
appOutDir: string // .../build/clean/build/linux-unpacked
|
||||
outDir: string // .../build/clean/build
|
||||
targets: [Target]
|
||||
}
|
||||
|
||||
export default async function(context: Context) {
|
||||
console.log(context)
|
||||
const isLinux = context.targets.find(target => target.name === 'appImage' || target.name === 'snap')
|
||||
if (!isLinux) {
|
||||
return
|
||||
}
|
||||
|
||||
const originalDir = process.cwd()
|
||||
const dirname = context.appOutDir
|
||||
chdir(dirname)
|
||||
|
||||
await exec('mv', ['mqtt-explorer', 'mqtt-explorer.bin'])
|
||||
const wrapperScript = `#!/bin/bash
|
||||
"\${BASH_SOURCE%/*}"/mqtt-explorer.bin "$@" --no-sandbox
|
||||
`
|
||||
fs.writeFileSync('mqtt-explorer', wrapperScript)
|
||||
await exec('chmod', ['+x', 'mqtt-explorer'])
|
||||
|
||||
chdir(originalDir)
|
||||
}
|
||||
@@ -55,6 +55,7 @@ async function doStuff() {
|
||||
const browser = await webdriverio.remote(options)
|
||||
await createFakeMousePointer(browser)
|
||||
|
||||
|
||||
// Wait for Username input to be visible
|
||||
await browser.$('//label[contains(text(), "Username")]/..//input')
|
||||
const scenes = new SceneBuilder()
|
||||
|
||||
Reference in New Issue
Block a user