mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-14 03:52:07 +08:00
3.11.0
This commit is contained in:
@@ -21,6 +21,7 @@ module.exports = {
|
||||
directory: './',
|
||||
cmd: 'electron',
|
||||
args: ['.', '--env=local'],
|
||||
loadingPage: '/public/html/loading.html',
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -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
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user