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:
@ -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();
|
||||
|
Reference in New Issue
Block a user