Skip to content

Commit

Permalink
fix: add @julusian/segfault-raub to try and produce better logging …
Browse files Browse the repository at this point in the history
…for segfaults
  • Loading branch information
Julusian committed Oct 26, 2024
1 parent 03e3e21 commit d30b952
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions satellite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
"@julusian/bonjour-service": "^1.3.0-2",
"@julusian/image-rs": "^1.1.1",
"@julusian/jpeg-turbo": "^2.2.0",
"@julusian/segfault-raub": "^2.3.1",
"@loupedeck/node": "^1.2.0",
"@napi-rs/canvas": "0.1.58",
"@xencelabs-quick-keys/node": "^1.0.0",
Expand Down
2 changes: 2 additions & 0 deletions satellite/src/electron.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import '@julusian/segfault-raub'

// eslint-disable-next-line node/no-unpublished-import
import { app, Tray, Menu, MenuItem, dialog, nativeImage, BrowserWindow, ipcMain } from 'electron'
import * as path from 'path'
Expand Down
2 changes: 2 additions & 0 deletions satellite/src/main.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import '@julusian/segfault-raub'

import exitHook from 'exit-hook'
import { CompanionSatelliteClient } from './client.js'
import { DeviceManager } from './devices.js'
Expand Down
11 changes: 11 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -836,6 +836,16 @@ __metadata:
languageName: node
linkType: hard

"@julusian/segfault-raub@npm:^2.3.1":
version: 2.3.1
resolution: "@julusian/segfault-raub@npm:2.3.1"
dependencies:
node-gyp: "npm:latest"
pkg-prebuilds: "npm:^1.0.0"
checksum: 10c0/297f243bff81260b122303e137d8ac6fd98f5bc56da4aac10e160d6024f58b91d076faceb6cd0961f8a1f349c3824e8b081273a38f2fc42c93e078261cf2d7b6
languageName: node
linkType: hard

"@leichtgewicht/ip-codec@npm:^2.0.1":
version: 2.0.5
resolution: "@leichtgewicht/ip-codec@npm:2.0.5"
Expand Down Expand Up @@ -6767,6 +6777,7 @@ __metadata:
"@julusian/bonjour-service": "npm:^1.3.0-2"
"@julusian/image-rs": "npm:^1.1.1"
"@julusian/jpeg-turbo": "npm:^2.2.0"
"@julusian/segfault-raub": "npm:^2.3.1"
"@loupedeck/node": "npm:^1.2.0"
"@napi-rs/canvas": "npm:0.1.58"
"@sofie-automation/eslint-plugin": "npm:^0.1.1"
Expand Down

0 comments on commit d30b952

Please sign in to comment.