The configuration file is a JSON file that is stored on the user's computer. The location of the configuration file is platform-dependent but on macOS

GitHub - davidgs/link-maker: Link Maker app

submited by
Style Pass
2023-03-14 16:00:08

The configuration file is a JSON file that is stored on the user's computer. The location of the configuration file is platform-dependent but on macOS, it is stored in ~/Library/Application Support/Electron/config.json

Note: The complete configuration file will only appear once changes to the configuration settings have been saved. Until then, the application will use a set of default values.

The Admin password is not stored in plain-text but is instead stored only as a SHA512 hash of the original password. The hash is stored in the config.json file.

If you would like to change the default settings, and set an initial, default password you will have to change the settings in the source files and build the application yourself.

The default settings are all stored in the src/types.tsx file. No Default password is set but you can create one by running the following command in a terminal:

The output of the command will be the hash of the password. Copy the hash and paste it into the src/main/main.tsx file in the check-passwd function at line 183.

Leave a Comment