diff --git a/tromjaroWelcomeApp.nim b/tromjaroWelcomeApp.nim index 1b043f2..cda2eb1 100644 --- a/tromjaroWelcomeApp.nim +++ b/tromjaroWelcomeApp.nim @@ -145,7 +145,7 @@ method view(app: AppState): Widget = Label {.hAlign: AlignEnd.}: text = "Open this Welcome Screen on every boot" Switch {.vAlign: AlignCenter, hAlign: AlignStart.}: - state = if symlinkExists(autostartSymlinkPath): true else: false + state = if fileExists(autostartSymlinkPath): true else: false proc changed(state: bool) = if state == true: if not symlinkExists(autostartSymlinkPath):