Feature: add privacy policy

This commit is contained in:
PiEgg
2021-04-10 21:01:55 +08:00
parent 06d40ef7f6
commit 992ff35936
15 changed files with 186 additions and 76 deletions

View File

@@ -23,7 +23,7 @@ import {
IpcRendererEvent,
remote
} from 'electron'
import path from 'path'
import { SHOW_PRIVACY_MESSAGE } from '~/universal/events/constants'
@Component({
name: 'mini-page',
mixins: [mixin]
@@ -176,6 +176,12 @@ export default class extends Vue {
remote.BrowserWindow.getFocusedWindow()!.hide()
}
},
{
label: '隐私协议',
click () {
ipcRenderer.send(SHOW_PRIVACY_MESSAGE)
}
},
{
label: '重启应用',
click () {