Skip to content

An application to disable/enable the GeoComply Player Location Check (PLC) software

Notifications You must be signed in to change notification settings

mikedidomizio/geocomply-plc-toggler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Enabling/disabling GeoComply Player Location Check (PLC) on OSX

The purpose of this repository is to provide an easy-to-use application that has the ability to start and stop the GeoComply Player Location Check software.

Download zip file with app

or download the script from the Releases page

Running it from the terminal

  • Download the zip file above, and unzip it
  • Run it via open toggle_geocomply_plc.app

Result: PLC software should start or stop depending on the current state

Running it from the Finder window

  • Download the zip file above, and unzip it
  • Open the created folder, find the file toggle_geocomply_plc.app
  • Double click it

Result: PLC software should start or stop depending on the current state

Debugging (it's not working)

If it doesn't appear to be working properly, run the command like the following from the terminal

open toggle_geocomply_plc.app/toggle_geocomply_plc

Some of the reasons it may not be working:

  • PLC is not installed
  • OSX version has not been tested and does not currently work with app
  • PLC version has not been tested and does not currently work with app

How it works

GeoComply PLC is software installed as a user agent.

When the application is run:

  • It finds out if PLC is currently running with pgrep PlayerLocationCheck
  • If it is running, we run launchctl from within the LaunchAgents directory to stop it
  • If it is not running, we run launchctl from within the LaunchAgents directory to start it

Notes

Tested on OSX 12.5 with PLC 4.0.0.4

Tested on OSX 12.5 with PLC 3.1.1.3