Skip to content

Commit

Permalink
Startup fix, update README
Browse files Browse the repository at this point in the history
  • Loading branch information
everoddandeven committed Nov 2, 2024
1 parent 02bfd5f commit 059f80c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
[![Ubuntu noble x64 DEB Build](https://github.com/everoddandeven/monerod-gui/actions/workflows/ubuntu_24_deb.yml/badge.svg)](https://github.com/everoddandeven/monerod-gui/actions/workflows/ubuntu_24_deb.yml)

[![MacOS Build][macos-build-badge]][macos-build]
[![Windows Build][windows-build-badge]][windows-build]
[![Windows Build](https://github.com/everoddandeven/monerod-gui/actions/workflows/windows.yml/badge.svg)](https://github.com/everoddandeven/monerod-gui/actions/workflows/windows.yml)

[![Watch on GitHub][github-watch-badge]][github-watch]
[![Star on GitHub][github-star-badge]][github-star]
Expand Down Expand Up @@ -87,7 +87,7 @@ https://github.com/user-attachments/assets/c4a50d2f-5bbb-48ac-9425-30ecc20ada7c
- [X] Synchronization in a specific time slot
- [ ] Installers
- [X] Linux
- [ ] Windows
- [X] Windows
- [ ] MacOS
- [ ] Remote node management
- [ ] No CORS connection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,9 @@ export default class AutoLaunchAPIWindows extends AutoLaunchAPI {
}
}

regKey.set(this.appName, Winreg.REG_SZ, args != '' ? `"${pathToAutoLaunchedApp}"` : `"${pathToAutoLaunchedApp}"`, (err) => {
const cdir: string = args != '' ? `"${pathToAutoLaunchedApp} ${args}"` : `"${pathToAutoLaunchedApp}"`;

regKey.set(this.appName, Winreg.REG_SZ, cdir, (err) => {
if (err != null) {
return reject(err);
}
Expand Down
2 changes: 1 addition & 1 deletion src/app/pages/settings/settings.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export class SettingsComponent {

this.originalSettings = this.currentSettings.clone();

const minimizedChanged: boolean = oldStartMinimized == this.originalSettings.startAtLoginMinimized;
const minimizedChanged: boolean = oldStartMinimized != this.originalSettings.startAtLoginMinimized;

try {
await this.refreshAutoLanch(minimizedChanged);
Expand Down

0 comments on commit 059f80c

Please sign in to comment.