minor changes

This commit is contained in:
jliddev
2020-11-13 09:08:38 -06:00
parent f51933d4d6
commit 2ec9f1df39
3 changed files with 15 additions and 10 deletions

View File

@@ -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": {

View File

@@ -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,

View File

@@ -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",
},
};