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(
updateProfile.profileImageUrl
).catch((err) => {
console.log(err);
});
).catch(() => undefined);
return patchUserProfile({ ...updateProfile, profileImageUrl });
};

View File

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