mb-service-linux 1.1.0 → 1.1.1-dev-20260701-2cba1df

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -23,6 +23,10 @@ If you like this project and find it useful, please consider giving it a star on
23
23
 
24
24
  <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="120"></a>
25
25
 
26
+ ## [1.1.1] - Dev branch
27
+
28
+ <a href="https://www.buymeacoffee.com/luligugithub"><img src="https://matterbridge.io/assets/bmc-button.svg" alt="Buy me a coffee" width="80"></a>
29
+
26
30
  ## [1.1.0] - 2026-06-22
27
31
 
28
32
  ### Changed
package/dist/module.js CHANGED
@@ -9,7 +9,7 @@ export function main() {
9
9
  console.error('This command is not available inside a container. Please run it on a host system.');
10
10
  return;
11
11
  }
12
- if (process.getuid && process.getuid() !== 0) {
12
+ if (!isBun() && process.getuid && process.getuid() !== 0) {
13
13
  console.error('This command must be run as root. Please use sudo.');
14
14
  return;
15
15
  }
@@ -105,6 +105,9 @@ function printHelp() {
105
105
  ` logs tails the matterbridge service logs\n` +
106
106
  ` status check if matterbridge is running\n`);
107
107
  }
108
+ function isBun() {
109
+ return typeof process?.versions?.bun === 'string';
110
+ }
108
111
  function createServiceConfig() {
109
112
  const user = process.env.SUDO_USER || process.env.USER;
110
113
  const config = `[Unit]\n` +
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "mb-service-linux",
3
- "version": "1.1.0",
3
+ "version": "1.1.1-dev-20260701-2cba1df",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "mb-service-linux",
9
- "version": "1.1.0",
9
+ "version": "1.1.1-dev-20260701-2cba1df",
10
10
  "license": "Apache-2.0",
11
11
  "bin": {
12
12
  "mb-service": "bin/mb-service"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mb-service-linux",
3
- "version": "1.1.0",
3
+ "version": "1.1.1-dev-20260701-2cba1df",
4
4
  "description": "Matterbridge service command line interface",
5
5
  "author": "https://github.com/Luligu",
6
6
  "license": "Apache-2.0",