Improved version comparison, updated alert, refactored code
± Moved appSymbol
+ configPrefix
into config
± Added config.ghHostDir
± Converted var
's to const
& let
± Moved stateSymbol
, stateWord+
stateSeparatorinto
state
± Converted callbacks into arrow functions
± Shortened
checkForUpdates()` + increased accuracy of comparison routine
- Added title to interval setting confirmation, moved msg to body
- Added newlines to
insertToggle()
for readability
- Shortened
updateToggleHTML()
↞ [auto-sync from adamlui/chatgpt-auto-refresh
]