Save launcher settings to the correct folder
Summary: Rust default configuration path changed recently which broke transferring of settings between flipper desktop and launcher. This diff fixes it. Reviewed By: passy Differential Revision: D25334963 fbshipit-source-id: d6ebea9e5cfa68858a9fc2a51102815d646ab319
This commit is contained in:
committed by
Facebook GitHub Bot
parent
139c6674f3
commit
2a091e682d
@@ -24,9 +24,7 @@ const xdgConfigDir = () =>
|
|||||||
export const launcherConfigDir = () =>
|
export const launcherConfigDir = () =>
|
||||||
path.join(
|
path.join(
|
||||||
xdgConfigDir(),
|
xdgConfigDir(),
|
||||||
os.platform() == 'darwin'
|
os.platform() == 'darwin' ? 'rs.flipper-launcher' : 'flipper-launcher',
|
||||||
? 'rs.flipper-launcher.flipper-launcher'
|
|
||||||
: 'flipper-launcher',
|
|
||||||
);
|
);
|
||||||
|
|
||||||
export function initLauncherHooks(config: ProcessConfig, store: Store) {
|
export function initLauncherHooks(config: ProcessConfig, store: Store) {
|
||||||
|
|||||||
Reference in New Issue
Block a user