
* cleaned up some files * Fundamental style update * Redesigned some style * fixed hostbanner popup * Removed old identity stuff * fixed close listener * Fixed changelog date * fixed release chat icons * fixed url * Fixed hostbanner * Uploaded missing images * Improved update handling * Improved script files * Fixed loading error and icon error * fixed Yes/No modal * Fixed loader issues with MS Edge * fixed modal style bug * Fixed control bar overflow for small devices * Improved error handling on identity creation * Logging generate error to terminal * fixed possible php error * fixed some possible loading errors when other files have'nt been already loaded. * removed debug message * Changed emsrcypten flags * Improved codec error handling * removed webassembly as required dependency * Improved and fixed channel tree issues * Improved the sliders * Removed unneeded files * fixed loader versions cache * second slight performance improved (dont animate elements anymore if they are not shown) * Fixed query visibility setting * not showing useless client infos for query clients * Added an auto reconnect system * Added a canceled message and increased reconnect interval * removed implemented todo * fixed repetitive channel names * Reworked the channel tree selected lines * Fixed channel tree names * Fixed name alignment * fixed the native client * added min width to the server select groups to avoid a disappearing effect on shrink * fixed bugged downloaded icons
31 lines
No EOL
726 B
Bash
Executable file
31 lines
No EOL
726 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
function execute_tsc() {
|
|
execute_npm_command tsc $@
|
|
}
|
|
|
|
function execute_ttsc() {
|
|
execute_npm_command ttsc $@
|
|
}
|
|
|
|
function execute_npm_command() {
|
|
command_name=$1
|
|
command_variable="command_$command_name"
|
|
#echo "Variable names $command_variable"
|
|
|
|
if [[ "${!command_variable}" == "" ]]; then
|
|
node_bin=$(npm bin)
|
|
#echo "Node root ${node_bin}"
|
|
|
|
if [[ ! -e "${node_bin}/${command_name}" ]]; then
|
|
echo "Could not find \"$command_name\" command"
|
|
echo "May type npm install"
|
|
exit 1
|
|
fi
|
|
|
|
eval "${command_variable}=\"${node_bin}/${command_name}\""
|
|
fi
|
|
|
|
echo "Arguments: ${@:2}"
|
|
${!command_variable} ${@:2}
|
|
} |