File tree Expand file tree Collapse file tree 3 files changed +17
-2
lines changed
src/org.pozil.restream.sdPlugin Expand file tree Collapse file tree 3 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 1- rm ~ /Desktop/org.pozil.restream.streamDeckPlugin
1+ #! /bin/bash
2+ DIST_FILE_PATH=~ /Desktop/org.pozil.restream.streamDeckPlugin
3+
4+ # Remove old distribution
5+ if [ -f $DIST_FILE_PATH ]; then
6+ rm $DIST_FILE_PATH
7+ echo " Removed existing distribution file"
8+ fi
9+
10+ # Build new distribution
211./DistributionTool -b -i src/org.pozil.restream.sdPlugin -o ~ /Desktop/
12+ echo " Built location: $DIST_FILE_PATH "
Original file line number Diff line number Diff line change @@ -155,6 +155,7 @@ function handleStateUpdate(state) {
155155 const {
156156 isMicEnabled,
157157 isCameraEnabled,
158+ isSharingScreen,
158159 activeLayoutIndex,
159160 sources,
160161 activeOverlayIndex,
@@ -166,6 +167,10 @@ function handleStateUpdate(state) {
166167 forActionsOfType ( ACTION_TOGGLE_CAM , action => {
167168 $SD . setState ( action . context , isCameraEnabled ? 0 : 1 ) ;
168169 } ) ;
170+ // Screen sharing
171+ forActionsOfType ( ACTION_TOGGLE_SHARE_SCREEN , action => {
172+ $SD . setState ( action . context , isSharingScreen ? 0 : 1 ) ;
173+ } ) ;
169174 // Layout
170175 forActionsOfType ( ACTION_TOGGLE_LAYOUT , action => {
171176 const layoutIndex = Number . parseInt ( action . payload . settings . layoutIndex , 10 ) ;
Original file line number Diff line number Diff line change 66 "Name" : " Stream Deck Restream Plugin" ,
77 "Icon" : " icon" ,
88 "URL" : " https://www.elgato.com/en/gaming/stream-deck" ,
9- "Version" : " 1.0.2 " ,
9+ "Version" : " 1.1.0 " ,
1010 "Software" : {
1111 "MinimumVersion" : " 5.0"
1212 },
You can’t perform that action at this time.
0 commit comments