mirror of
https://github.com/WowUp/WowUp.git
synced 2026-04-23 23:37:11 -04:00
minor changes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "wowup",
|
||||
"productName": "WowUp",
|
||||
"version": "2.0.0-beta.11",
|
||||
"version": "2.0.0-beta.12",
|
||||
"description": "Word of Warcraft addon updater",
|
||||
"homepage": "https://wowup.io",
|
||||
"author": {
|
||||
|
||||
@@ -195,6 +195,18 @@ export class ElectronService {
|
||||
return new Notification(title, options);
|
||||
}
|
||||
|
||||
public isHandlingProtocol(protocol: string): boolean {
|
||||
return this.remote.app.isDefaultProtocolClient(protocol);
|
||||
}
|
||||
|
||||
public setHandleProtocol(protocol: string, enable: boolean) {
|
||||
if (enable) {
|
||||
return this.remote.app.setAsDefaultProtocolClient(protocol);
|
||||
} else {
|
||||
return this.remote.app.removeAsDefaultProtocolClient(protocol);
|
||||
}
|
||||
}
|
||||
|
||||
public async sendIpcValueMessage<TIN, TOUT>(channel: string, value: TIN): Promise<TOUT> {
|
||||
const request: ValueRequest<TIN> = {
|
||||
value,
|
||||
|
||||
@@ -6,14 +6,7 @@ export const AppConfig = {
|
||||
rollbarAccessKey: "d01c11314a064572b11acee18d880650",
|
||||
googleAnalyticsId: "UA-92563227-4",
|
||||
wowupRepositoryUrl: "https://github.com/WowUp/WowUp",
|
||||
firebaseConfig: {
|
||||
apiKey: "AIzaSyBvZ1_ldinsxeh-iRI53REm8j1CPcQuIBw",
|
||||
authDomain: "wowup-893c6.firebaseapp.com",
|
||||
databaseURL: "https://wowup-893c6.firebaseio.com",
|
||||
projectId: "wowup-893c6",
|
||||
storageBucket: "wowup-893c6.appspot.com",
|
||||
messagingSenderId: "914166112595",
|
||||
appId: "1:914166112595:web:cdb02d231e5f9802b541a6",
|
||||
measurementId: "G-V646RWJ5NK",
|
||||
azure: {
|
||||
applicationInsightsKey: "4a53e8d9-796c-4f80-b1a6-9a058374dd6d",
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user