obs-scene-as-transition-main/0000755000000000000000000000000014417726113015153 5ustar rootrootobs-scene-as-transition-main/.github/0000755000000000000000000000000014417726113016513 5ustar rootrootobs-scene-as-transition-main/.github/scripts/0000755000000000000000000000000014417726113020202 5ustar rootrootobs-scene-as-transition-main/.github/scripts/package-linux.sh0000755000000000000000000000040614417726113023271 0ustar rootroot#!/bin/sh if ! type zsh > /dev/null 2>&1; then echo ' => Installing script dependency Zsh.' sudo apt-get update sudo apt-get install zsh fi SCRIPT=$(readlink -f "${0}") SCRIPT_DIR=$(dirname "${SCRIPT}") zsh ${SCRIPT_DIR}/package-linux.zsh "${@}" obs-scene-as-transition-main/.github/scripts/.package.zsh0000755000000000000000000001364514417726113022415 0ustar rootroot#!/usr/bin/env zsh builtin emulate -L zsh setopt EXTENDED_GLOB setopt PUSHD_SILENT setopt ERR_EXIT setopt ERR_RETURN setopt NO_UNSET setopt PIPE_FAIL setopt NO_AUTO_PUSHD setopt NO_PUSHD_IGNORE_DUPS setopt FUNCTION_ARGZERO ## Enable for script debugging # setopt WARN_CREATE_GLOBAL # setopt WARN_NESTED_VAR # setopt XTRACE autoload -Uz is-at-least && if ! is-at-least 5.2; then print -u2 -PR "%F{1}${funcstack[1]##*/}:%f Running on Zsh version %B${ZSH_VERSION}%b, but Zsh %B5.2%b is the minimum supported version. Upgrade Zsh to fix this issue." exit 1 fi _trap_error() { print -u2 -PR '%F{1} ✖︎ script execution error%f' print -PR -e " Callstack: ${(j:\n :)funcfiletrace} " exit 2 } package() { if (( ! ${+SCRIPT_HOME} )) typeset -g SCRIPT_HOME=${ZSH_ARGZERO:A:h} local host_os=${${(s:-:)ZSH_ARGZERO:t:r}[2]} local target="${host_os}-${CPUTYPE}" local project_root=${SCRIPT_HOME:A:h:h} local buildspec_file="${project_root}/buildspec.json" trap '_trap_error' ZERR fpath=("${SCRIPT_HOME}/utils.zsh" ${fpath}) autoload -Uz set_loglevel log_info log_error log_output check_${host_os} local -i _verbosity=1 local -r _version='1.0.0' local -r -a _valid_targets=( macos-x86_64 macos-arm64 macos-universal linux-x86_64 ) local -r -a _valid_configs=(Debug RelWithDebInfo Release MinSizeRel) local -r _usage=" Usage: %B${functrace[1]%:*}%b