mirror of
https://github.com/appium/appium-desktop.git
synced 2026-10-22 07:06:25 +08:00
16 lines
386 B
JavaScript
16 lines
386 B
JavaScript
import settings from 'electron-settings';
|
|
|
|
export const PRESETS = 'presets';
|
|
export const SERVER_ARGS = 'SERVER_ARGS';
|
|
export const PREFERRED_LANGUAGE = 'PREFERRED_LANGUAGE';
|
|
|
|
// set default persistent settings
|
|
// do it here because settings are kind of like state!
|
|
settings.defaults({
|
|
[PRESETS]: {},
|
|
[SERVER_ARGS]: null,
|
|
[PREFERRED_LANGUAGE]: 'en',
|
|
});
|
|
|
|
export default settings;
|