1
1
mirror of https://github.com/Fabio286/antares.git synced 2025-06-05 21:59:22 +02:00

Moved to electron 9

This commit is contained in:
2020-07-29 15:56:29 +02:00
parent 587116bd20
commit d69e411581
8 changed files with 44 additions and 28 deletions

View File

@ -37,7 +37,7 @@
</template>
<script>
import { remote } from 'electron';
import { remote, ipcRenderer } from 'electron';
export default {
name: 'TheTitleBar',
@ -56,7 +56,7 @@ export default {
},
methods: {
closeApp () {
this.w.close();
ipcRenderer.send('closeApp');
},
minimizeApp () {
this.w.minimize();