

The official Tribes: Ascend forum and subreddit for the Tribes franchise, which includes Starsiege: Tribes, Tribes 2, Tribes Vengeance, and Tribes: Ascend. Kigabit's Capping Compendium (updated November 14th) T:A Advanced Configuration Tool - ( Mirror)
Crosshair overlays imgur mods#
Push event lacymorrow/electron-preferencesĬommit sha ab466d1e6660399f9c15b663f3c5830de914e4c8Īdapt colors to always have a 4.TA Mods - Custom reticles, HUDs, damage numbers and more!īoulop's Custom Crosshair Guide (Mumble) | Master Crosshair List For an example usage of them, check out `example/preferences.js` +For an example usage of the library, check out `example/preferences.js` -``` -const electron = require('electron') -const app = electron.app -const path = require('path') -const os = require('os') + +```js const ElectronPreferences = require('electron-preferences') -// import ElectronPreferences from 'electron-preferences' //Or if you prefer to use module imports Please keep in mind that not all available components are used here. +# Getting Started To see the library in action, clone this repository and see the demo application that is included within the `example` folder: +```sh $ git clone - $ cd electron-preferences - $ npm i + $ cd electron-preferences & npm i $ npm run build +``` + +# Other helpful scripts + +```sh $ npm run example $ npm run lint +``` -# Getting Started -# Initializing the Preferences Service +# From the Main process Within your application's main process, create a new instance of the `ElectronPreferences` class, as shown below. + +# Features +- A drop-in Electron key/value store +- Built-in preference manager +- Icons for preference groups +- Default values +- Hidden values +- Color Picker and Accelerator input for keyboard shortcuts +- Easily read / write values via the built-in API +- Components are written in React, adding new inputs is straightforward +- Uses write-json-file under the hood +- Customize styles using CSS +- Customize the layout of the preference manager using JSON + +# Field Types + +The library includes built-in support for the following field types: + +| Preference `type` | Description | +| - | - | +| `text` | `` | +| `number` | `` | +| `dropdown` | `` | +| `radio` | `` | +| `checkbox` | `` | +| `slider` | `` | +| `file` | `` | +| `accelerator` | Keyboard shortcut input | +| `color` | Color picker input using simonwep/pickr | +| `list` | Ordered list with create/read/update/delete functionality | +| `message` | Read-only HTML panel for displaying information | + + -Using the API, developers can: - Define default preferences - Read / write values on demand - Define the layout of the preferences window. +- A GUI interface allowing users to manage preference values in the frontend of your application.

+- A simple key/value store API for interacting with the service. An API for interacting with the service.

It includes two primary components: - A GUI interface within which the users of your application can manage their preferences. # Electron Preferences +> An Electron store with built-in preferences management + + - (#electron-preferences) - (#introduction) + - (#features) + - (#field-types) - (#getting-started) - (#initializing-the-preferences-service) - (#interacting-with-the-preferences-service-from-the-main-process) - (#interacting-with-the-preferences-service-from-the-renderer-process) - (#field-types) + - (#from-the-main-process) + - (#from-the-renderer-process) - (#icons) # Introduction This package provides () developers with a simple, consistent interface for managing user preferences.
