mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 10:11:46 +00:00
chore(deps): update dependency electron-builder to v26
This commit is contained in:
77
farm.config.ts
Normal file
77
farm.config.ts
Normal file
@ -0,0 +1,77 @@
|
||||
import path from 'node:path';
|
||||
import { defineConfig } from '@farmfe/core';
|
||||
import electron from '@farmfe/js-plugin-electron';
|
||||
import farmPluginPostcss from '@farmfe/js-plugin-postcss';
|
||||
import solid from 'vite-plugin-solid';
|
||||
|
||||
export default defineConfig({
|
||||
compilation: {
|
||||
input: {
|
||||
main: 'renderer/index.html',
|
||||
settings: 'renderer/settings.html',
|
||||
lyrics: 'renderer/lyrics.html',
|
||||
tray: 'renderer/tray.html',
|
||||
},
|
||||
output: {
|
||||
path: 'dist',
|
||||
},
|
||||
external: [
|
||||
'electron',
|
||||
'@alexssmusica/ffi-napi',
|
||||
'@alexssmusica/ref-napi',
|
||||
'@jellybrick/wql-process-monitor',
|
||||
'mica-electron',
|
||||
'glasstron',
|
||||
'hmc-win32',
|
||||
'extract-file-icon',
|
||||
],
|
||||
},
|
||||
vitePlugins: [
|
||||
() => ({
|
||||
vitePlugin: solid(),
|
||||
filters: ['\\.tsx$', '\\.jsx$']
|
||||
})
|
||||
],
|
||||
plugins: [
|
||||
electron({
|
||||
main: {
|
||||
input: './index.ts',
|
||||
farm: {
|
||||
compilation: {
|
||||
externalNodeBuiltins: true,
|
||||
external: [
|
||||
'@alexssmusica/ffi-napi',
|
||||
'@alexssmusica/ref-napi',
|
||||
'@jellybrick/wql-process-monitor',
|
||||
'mica-electron',
|
||||
'glasstron',
|
||||
'hmc-win32',
|
||||
'extract-file-icon',
|
||||
],
|
||||
output: {
|
||||
targetEnv: 'node-next',
|
||||
path: 'dist',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
preload: {
|
||||
input: './src/preload.ts',
|
||||
farm: {
|
||||
compilation: {
|
||||
externalNodeBuiltins: true,
|
||||
external: [
|
||||
'hmc-win32',
|
||||
'font-list',
|
||||
],
|
||||
output: {
|
||||
targetEnv: 'node-next',
|
||||
path: 'dist',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}),
|
||||
farmPluginPostcss(),
|
||||
],
|
||||
});
|
||||
@ -229,7 +229,7 @@
|
||||
},
|
||||
"patchedDependencies": {
|
||||
"vudio@2.1.1": "patches/vudio@2.1.1.patch",
|
||||
"app-builder-lib@24.13.3": "patches/app-builder-lib@24.13.3.patch",
|
||||
"app-builder-lib@26.0.0-alpha.8": "patches/app-builder-lib@26.0.0-alpha.8.patch",
|
||||
"@malept/flatpak-bundler": "patches/@malept__flatpak-bundler.patch"
|
||||
}
|
||||
},
|
||||
@ -309,7 +309,8 @@
|
||||
"del-cli": "6.0.0",
|
||||
"discord-api-types": "0.37.114",
|
||||
"electron": "33.2.1",
|
||||
"electron-builder": "24.13.3",
|
||||
"electron-builder": "26.0.0-alpha.8",
|
||||
"electron-builder-squirrel-windows": "26.0.0-alpha.8",
|
||||
"electron-devtools-installer": "4.0.0",
|
||||
"electron-vite": "2.3.0",
|
||||
"esbuild": "0.24.2",
|
||||
|
||||
590
pnpm-lock.yaml
generated
590
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user