Based on Mattermost Desktop 5.6.0
Manual for setup
Manual for packaging
You have to build the app for a specific os on the respective os
- Clean:
npm run clean
-> cleans installation, release, cache, ...npm install
orrm -r release
-> no reinstallation necessary
npm run build
npm run start
- (
npm run watch
)
npm run build
- MacOS:
npm run package:mac-with-universal
- Linux:
npm run package:linux
- Windows:
- zip-file:
npm run package:windows
or - msi-installer:
./scripts/Makefile.ps1 build
&git add -A; git reset --hard HEAD
(for faster packing commentnpm run ...
lines inMakefile.ps1
out)
- zip-file:
- MacOS: automatically with Certificate in KeyChain
- Windows:
- need
.pfx
-file
- need
npm run clean
rm package-lock.json
npm install
on Windows
- run
git add -A; git reset --hard HEAD
after every msi-build
or - remove
Property:...
-line in.\scripts\msi_installer.wxs
on Windows
- close all grommunio-desktop Windows & also close it in the Task-Manager
on Mac:
Command failed: spctl --assess --type execute --verbose --ignore-cache --no-cache /Users/jensherman/Code/grommunio-chat-desktop/release/mac/grommunio-desktop.app /Users/jensherman/Code/grommunio-chat-desktop/release/mac/grommunio-desktop.app: rejected
- no impact noticed -> build will be produced anyway, so just ignore it