SPB Git

Repository Public

common.sh 2.0 KB 51 lines shellscript

1# =============================================================================2#                  SP BOUCHER | INFRASTRUCTURE & AUTOMATION3#             ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING4# =============================================================================5#6# Project          : MacLustr Vision7# File             : scripts/common.sh8# Module           : scripts9# Repository       : https://git.spboucher.ai/maclustr-vision10# Project Website  : https://camera.spboucher.ai11# Created          : 2026-11-3012# Last Modified    : 2026-11-3013#14# Author           : Simon-Pierre Boucher15# Position         : Professor of Finance16# Institution      : Université du Québec en Outaouais (UQO)17# Organization     : SP Boucher18# Website          : https://spboucher.ai19# Git              : https://git.spboucher.ai20#21# Preferred Contact: admin@spboucher.ai22# Technical Contact: dev@spboucher.ai23# Security/Admin   : admin@spboucher.ai24#25# Copyright (c) 202626# Simon-Pierre Boucher27# All rights reserved where applicable. This file is governed by the28# applicable project license, copyright notices and relevant law.29# Existing third-party rights and notices remain unaffected.30#31# License          : None specified (no license file in this repository)32#33# Do not embed credentials, private keys, access tokens,34# certificates or confidential personal information.35#36# =============================================================================37# END OF SP BOUCHER SOURCE HEADER38# =============================================================================3940# Fonctions communes des scripts MacLustr Vision (à sourcer).41set -euo pipefail42export PATH="/opt/homebrew/bin:/usr/local/bin:/usr/bin:/bin:$PATH"43APP_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"44cd "$APP_DIR"45PM2_CORE="vision-core"46PM2_API="vision-api"47GO2RTC_VERSION="1.10.0"48GO2RTC_SHA256="637090072bef360f373de716e5db8764f609282b871e2efaf942d2e5504fac2b"   # go2rtc_darwin_arm64.tar.gz49BIN_DIR="$HOME/.local/share/maclustr-vision/bin"50CONF_DIR="$HOME/.config/maclustr-vision"51
Files main
Menu

Theme