mirror of
https://gitee.com/dromara/electron-egg.git
synced 2026-05-14 11:52:07 +08:00
del exapmle
This commit is contained in:
@@ -1,23 +0,0 @@
|
|||||||
/**
|
|
||||||
* example插件
|
|
||||||
* @class
|
|
||||||
*/
|
|
||||||
class ExampleAddon {
|
|
||||||
|
|
||||||
constructor(app) {
|
|
||||||
this.app = app;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
|
||||||
* hello
|
|
||||||
*
|
|
||||||
* @function
|
|
||||||
* @since 1.0.0
|
|
||||||
*/
|
|
||||||
hello () {
|
|
||||||
return 'hello';
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
ExampleAddon.toString = () => '[class ExampleAddon]';
|
|
||||||
module.exports = ExampleAddon;
|
|
||||||
@@ -189,10 +189,7 @@ module.exports = (appInfo) => {
|
|||||||
jreVersion: 'jre1.8.0_201',
|
jreVersion: 'jre1.8.0_201',
|
||||||
opt: '-server -Xms512M -Xmx512M -Xss512k -Dspring.profiles.active=prod -Dserver.port=${port} -Dlogging.file.path="${path}" ',
|
opt: '-server -Xms512M -Xmx512M -Xss512k -Dspring.profiles.active=prod -Dserver.port=${port} -Dlogging.file.path="${path}" ',
|
||||||
name: 'java-app.jar'
|
name: 'java-app.jar'
|
||||||
},
|
}
|
||||||
example: {
|
|
||||||
enable: false,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user