Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ${SegmentFile}
- ${Segment.OnInit}
- InitPluginsDir
- File "/oname=$PLUGINSDIR\nsJSON.dll" $EXEDIR\App\AppInfo\Launcher\nsJSON.dll
- !macroend
- Var CheckUpdates
- ${SegmentPreExecPrimary}
- nsJSON::Set /file "$PAL:AppDir\Listary\UserData\preferences.json"
- nsJSON::Get `general` `check_updates` /end
- Pop $CheckUpdates
- If $CheckUpdates = true
- nsJSON::Set `general` `check_updates` /value `"false"`
- EndIf
- nsJSON::Serialize /file "$PAL:AppDir\Listary\UserData\preferences.json"
- !macroend
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement