mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-16 21:28:06 +00:00
feat: updates
This commit is contained in:
parent
7ce516877e
commit
ccebe0a67a
74 changed files with 56065 additions and 2810 deletions
|
|
@ -5,12 +5,13 @@
|
|||
|
||||
const pkg = require('./package.json')
|
||||
const electronVersion = pkg.devDependencies.electron.replaceAll('^', '')
|
||||
const isDev = process.env.NODE_ENV === 'development'
|
||||
|
||||
module.exports = {
|
||||
appId: 'app.r3play',
|
||||
productName: pkg.productName,
|
||||
copyright: 'Copyright © 2022 qier222',
|
||||
asar: true,
|
||||
asar: isDev ? true : false,
|
||||
directories: {
|
||||
output: 'release',
|
||||
buildResources: 'build',
|
||||
|
|
@ -119,6 +120,17 @@ module.exports = {
|
|||
'!**/{npm-debug.log,yarn.lock,.yarn-integrity,.yarn-metadata.json,pnpm-lock.yaml}',
|
||||
'!**/*.{map,debug.min.js}',
|
||||
|
||||
// copy prisma
|
||||
{
|
||||
from: './prisma',
|
||||
to: 'main/prisma',
|
||||
},
|
||||
{
|
||||
from: './prisma',
|
||||
to: 'main',
|
||||
filter: '*.prisma' // only copy prisma schema
|
||||
},
|
||||
|
||||
{
|
||||
from: './dist',
|
||||
to: './main',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue