feat: adding hltb key extraction

This commit is contained in:
Chubby Granny Chaser 2024-10-07 21:02:15 +01:00
parent baafc6c7d1
commit 75be6e5b47
No known key found for this signature in database
2 changed files with 21 additions and 23 deletions

View File

@ -48,9 +48,7 @@ const updateProfile = async (
const profileImageUrl = await getNewProfileImageUrl( const profileImageUrl = await getNewProfileImageUrl(
updateProfile.profileImageUrl updateProfile.profileImageUrl
).catch((err) => { ).catch(() => undefined);
console.log(err);
});
return patchUserProfile({ ...updateProfile, profileImageUrl }); return patchUserProfile({ ...updateProfile, profileImageUrl });
}; };

View File

@ -148,29 +148,29 @@ export class WindowManager {
} }
public static createNotificationWindow() { public static createNotificationWindow() {
// this.notificationWindow = new BrowserWindow({ this.notificationWindow = new BrowserWindow({
// transparent: true, transparent: true,
// maximizable: false, maximizable: false,
// autoHideMenuBar: true, autoHideMenuBar: true,
// minimizable: false, minimizable: false,
// focusable: false, focusable: false,
// skipTaskbar: true, skipTaskbar: true,
// frame: false, frame: false,
// width: 350, width: 350,
// height: 104, height: 104,
// x: 0, x: 0,
// y: 0, y: 0,
// webPreferences: { webPreferences: {
// preload: path.join(__dirname, "../preload/index.mjs"), preload: path.join(__dirname, "../preload/index.mjs"),
// sandbox: false, sandbox: false,
// }, },
// }); });
// this.notificationWindow.setIgnoreMouseEvents(true); this.notificationWindow.setIgnoreMouseEvents(true);
// this.notificationWindow.setVisibleOnAllWorkspaces(true, { // this.notificationWindow.setVisibleOnAllWorkspaces(true, {
// visibleOnFullScreen: true, // visibleOnFullScreen: true,
// }); // });
// this.notificationWindow.setAlwaysOnTop(true, "screen-saver", 1); this.notificationWindow.setAlwaysOnTop(true, "screen-saver", 1);
// this.loadNotificationWindowURL(); this.loadNotificationWindowURL();
} }
public static openAuthWindow() { public static openAuthWindow() {