mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-03 00:33:49 +03:00
feat: adding hltb key extraction
This commit is contained in:
parent
baafc6c7d1
commit
75be6e5b47
@ -48,9 +48,7 @@ const updateProfile = async (
|
||||
|
||||
const profileImageUrl = await getNewProfileImageUrl(
|
||||
updateProfile.profileImageUrl
|
||||
).catch((err) => {
|
||||
console.log(err);
|
||||
});
|
||||
).catch(() => undefined);
|
||||
|
||||
return patchUserProfile({ ...updateProfile, profileImageUrl });
|
||||
};
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user