This commit is contained in:
gaoshuaixing
2024-03-07 16:50:05 +08:00
parent 832b2b0ef0
commit cacab21ad2
7 changed files with 60 additions and 155 deletions

View File

@@ -21,6 +21,7 @@ module.exports = {
directory: './',
cmd: 'electron',
args: ['.', '--env=local'],
loadingPage: '/public/html/loading.html',
}
},

View File

@@ -114,15 +114,13 @@ module.exports = (appInfo) => {
config.mainServer = {
protocol: 'file://',
indexPath: '/public/dist/index.html',
host: '127.0.0.1',
port: 7072,
};
/**
* 硬件加速
*/
config.hardGpu = {
enable: false
enable: true
};
/**