added childprocess to read clients running processes
Some checks failed
release / begin-notification (push) Has been cancelled
release / build-linux (push) Has been cancelled
release / build-msi-installer (push) Has been cancelled
release / build-mac-installer (push) Has been cancelled
release / upload-to-s3 (push) Has been cancelled
release / github-release (push) Has been cancelled
release / end-notification (push) Has been cancelled
Some checks failed
release / begin-notification (push) Has been cancelled
release / build-linux (push) Has been cancelled
release / build-msi-installer (push) Has been cancelled
release / build-mac-installer (push) Has been cancelled
release / upload-to-s3 (push) Has been cancelled
release / github-release (push) Has been cancelled
release / end-notification (push) Has been cancelled
This commit is contained in:
parent
d1feecf036
commit
692584ad77
9
Makefile
9
Makefile
|
@ -3,10 +3,10 @@ SIGNER?="origin"
|
|||
GPG=$(shell command which gpg || echo "N/A")
|
||||
DPKG_SIG=$(shell command which dpkg-sig || echo "N/A")
|
||||
|
||||
define sign_debian_package
|
||||
dpkg-sig -k ${GPG_KEY_ID} --sign ${SIGNER} $1
|
||||
dpkg-sig --verify $1
|
||||
endef
|
||||
#define sign_debian_package
|
||||
# dpkg-sig -k ${GPG_KEY_ID} --sign ${SIGNER} $1
|
||||
# dpkg-sig --verify $1
|
||||
#endef
|
||||
|
||||
.PHONY: check-sign-linux-deb
|
||||
check-sign-linux-deb: ##Check running environment to sign debian packages
|
||||
|
@ -42,7 +42,6 @@ package-linux-deb: npm-ci ## Generates linux packages under build/linux folder
|
|||
mkdir -p artifacts
|
||||
find ./release -name '*.deb' -exec cp "{}" artifacts/ \;
|
||||
|
||||
|
||||
.PHONY: sign
|
||||
sign: sign-linux-deb ## Sign packages in artifacts directory
|
||||
|
||||
|
|
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "mattermost-desktop",
|
||||
"version": "5.10.0-develop.1",
|
||||
"version": "6.0.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "mattermost-desktop",
|
||||
"version": "5.10.0-develop.1",
|
||||
"version": "6.0.0",
|
||||
"hasInstallScript": true,
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
|
|
|
@ -16,6 +16,23 @@ async function removeAppUpdate(path) {
|
|||
}
|
||||
}
|
||||
|
||||
// Function to scan running processes
|
||||
function scanProcesses(callback) {
|
||||
exec('tasklist', (error, stdout, stderr) => {
|
||||
if (error) {
|
||||
console.error(`Error: ${error.message}`);
|
||||
return;
|
||||
}
|
||||
if (stderr) {
|
||||
console.error(`Error: ${stderr}`);
|
||||
return;
|
||||
}
|
||||
|
||||
const processes = stdout.split('\n').map(line => line.trim()).filter(line => line);
|
||||
callback(processes);
|
||||
});
|
||||
}
|
||||
|
||||
exports.default = async function afterAllArtifactBuild(context) {
|
||||
await context.artifactPaths.forEach(async (path) => {
|
||||
if (path.match(windowsZipRegex)) {
|
||||
|
|
|
@ -24,8 +24,8 @@ const buildConfig: BuildConfig = {
|
|||
defaultServers: [
|
||||
{
|
||||
name: 'buds',
|
||||
url: 'https://chat.peanutsmediaserver.com/'
|
||||
}
|
||||
url: 'https://chat.peanutsmediaserver.com/',
|
||||
},
|
||||
],
|
||||
helpLink: 'https://docs.mattermost.com/messaging/managing-desktop-app-servers.html',
|
||||
enableServerManagement: true,
|
||||
|
|
Loading…
Reference in a new issue