gx
chenyc
2025-06-12 7b72ac13a83764a662159d4a49b7fffb90476ecb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
'use strict';
 
module.exports = {
  pkg: {
    patches: {
      'notifiers/balloon.js': [
        "__dirname, '../vendor/notifu/notifu'",
        "path.dirname(process.execPath), 'notifier/notifu'",
      ],
      'notifiers/notificationcenter.js': [
        "__dirname,\n  '../vendor/terminal-notifier.app/Contents/MacOS/terminal-notifier'",
        "path.dirname(process.execPath), 'notifier/terminal-notifier'",
      ],
      'notifiers/toaster.js': [
        "__dirname, '../vendor/snoreToast/snoretoast'",
        "path.dirname(process.execPath), 'notifier/snoretoast'",
      ],
    },
    deployFiles: [
      ['vendor/notifu/notifu.exe', 'notifier/notifu.exe'],
      ['vendor/notifu/notifu64.exe', 'notifier/notifu64.exe'],
      [
        'vendor/terminal-notifier.app/Contents/MacOS/terminal-notifier',
        'notifier/terminal-notifier',
      ],
      ['vendor/snoreToast/snoretoast-x64.exe', 'notifier/snoretoast-x64.exe'],
      ['vendor/snoreToast/snoretoast-x86.exe', 'notifier/snoretoast-x86.exe'],
    ],
  },
};