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(
|
const profileImageUrl = await getNewProfileImageUrl(
|
||||||
updateProfile.profileImageUrl
|
updateProfile.profileImageUrl
|
||||||
).catch((err) => {
|
).catch(() => undefined);
|
||||||
console.log(err);
|
|
||||||
});
|
|
||||||
|
|
||||||
return patchUserProfile({ ...updateProfile, profileImageUrl });
|
return patchUserProfile({ ...updateProfile, profileImageUrl });
|
||||||
};
|
};
|
||||||
|
@ -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() {
|
||||||
|
Loading…
Reference in New Issue
Block a user