electron-builder icon indicating copy to clipboard operation
electron-builder copied to clipboard

[Windows ] default opening files method

Open RSS1102 opened this issue 4 months ago • 0 comments

  • Electron-Builder Version: "electron-builder": "^23.6.0",
  • Node Version: 18.16.0
  • Electron Version: "electron": "^23.1.1",
  • Electron Type (current, beta, nightly):

current

  • Target:

I see that you can use fileAssociations to register email opening methods. Is there any way to directly register and change the default opening method of a certain file?

  fileAssociations: [
    {
      ext: ['md'],
      name: 'Cherry Noted',
      description: 'Cherry Noted file',
      role: 'Editor',
      icon: './public/favicon.ico',
    },
  ],

RSS1102 avatar Feb 10 '24 22:02 RSS1102