Gum-Joe / 2Keys

A easy to setup second keyboard, designed for everyone.
GNU General Public License v3.0
11 stars 4 forks source link

Move to shared folder so python can also access th... #151

Open github-actions[bot] opened 3 years ago

github-actions[bot] commented 3 years ago

Move to shared folder so python can also access this

https://github.com/Gum-Joe/2Keys/blob/4ca72492382ed0fca5a87d9fb415a7537ccb2ec8/detectors/detector-desktop/controller/src/constants.ts#L16

export const VAGRANT_NAME = "Vagrant";
export const VAGRANT_EXECUTABLE_NAME = "Vagrant Install Folder";
/** Controls the root mount point for stuff into the VM, i.e. where configs, Vagrantfile and ansible scripts will all be mounted.  MUST NOT END IN A SLASH (`/`) */
export const VAGRANT_MOUNT_POINT = "/vagrant";
/**
 * Where configs will be stored on the client
 */
// TODO: Move to shared folder so python can also access this
export const VM_MOUNT_CONFIGS = VAGRANT_MOUNT_POINT + "/config";
/**
 * Where projects will be stored on the client
 */
// TODO: Move to shared folder so python can also access this
export const VM_MOUNT_PROJECTS = VAGRANT_MOUNT_POINT + "/projects";
/**
 * VM Mount location of client config from controller ({@link ClientConfigHere}).
 * 
 * Not to be confused with the client provisioning config
 */
export const VM_MOUNT_CLIENT_CONFIG = VM_MOUNT_CONFIGS + "/client.yml";
/**
 * Storage path for provision script, relative to root.
 */
// TODO: Move to a common package so Python also can access this
export const PROVISION_CONFIG_STORAGE = "config/provision.yml";

/** Root where assets are stored */
export const ASSETS_ROOT = join(__dirname, "../assets");
ndex 640ab60..b392530 100644
++ b/detectors/detector-desktop/controller/src/setup/client/newClient.ts

1cd934863e62b3cd0c404c76fa1482c456d36951