forked from BarRaider/streamdeck-tools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bugfixes and updated payload for safety
- issue occurred while add/remove monkey test, and fixed the bug; refinement did not occurred at index 0). - updated payload structure and logics regarding the payload for safety. - added DLogger class for Debugging. DLogger only works on DEBUG build version - wrong expression of count of effect/function in main PI: minor-bug fixed when data array count is 0.
- Loading branch information
1 parent
a48847f
commit a346585
Showing
10 changed files
with
116 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using BarRaider.SdTools; | ||
|
||
namespace ArtrointelPlugin.Utils | ||
{ | ||
class DLogger | ||
{ | ||
public static void LogMessage(TracingLevel level, string msg) | ||
{ | ||
#if DEBUG | ||
Logger.Instance.LogMessage(level, msg); | ||
#endif | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
Rem yourPluginID | ||
SET PLUGIN_NAME=com.artrointel.avengerskey | ||
|
||
|
||
|
||
SET CURR_DIR=%~dp0 | ||
SET SDTOOLS_RELEASE_DIR=%CURR_DIR%\barraider-sdtools\bin\Release\netstandard2.0 | ||
SET PLUGIN_DIR=%PLUGIN_NAME%.sdPlugin | ||
|
||
Rem packging all resource files | ||
SET AVGKEY_DIR=%CURR_DIR%\ArtrointelPlugin | ||
SET AVGKEY_DEBUG_DIR=%CURR_DIR%\ArtrointelPlugin\bin\Debug\%PLUGIN_DIR% | ||
SET AVGKEY_IMG_DIR=%AVGKEY_DIR%\Images | ||
SET AVGKEY_RES_DIR=%AVGKEY_DIR%\Res | ||
SET AVGKEY_PI_DIR=%AVGKEY_DIR%\PropertyInspector | ||
|
||
SET MANIFEST_FILE=manifest.json | ||
|
||
SET TARGET_DIR=%PLUGIN_DIR% | ||
SET RELEASE_DIR=Release\ | ||
|
||
rmdir /s /q %RELEASE_DIR% | ||
rmdir /s /q %TARGET_DIR% | ||
mkdir %RELEASE_DIR% | ||
mkdir %TARGET_DIR% | ||
|
||
robocopy %SDTOOLS_RELEASE_DIR%\ %TARGET_DIR%\ | ||
robocopy %AVGKEY_DEBUG_DIR%\ %TARGET_DIR%\ | ||
robocopy %AVGKEY_DIR%\ %TARGET_DIR%\ %MANIFEST_FILE% | ||
|
||
robocopy %AVGKEY_PI_DIR%\ %TARGET_DIR%\PropertyInspector\ /E | ||
robocopy %AVGKEY_IMG_DIR%\ %TARGET_DIR%\Images\ /E | ||
robocopy %AVGKEY_RES_DIR%\ %TARGET_DIR%\Res\ /E | ||
|
||
Rem disable your anti-virus system if it cannot release the your.streamDeckPlugin file. | ||
DistributionTool.exe -b -i %TARGET_DIR% -o %RELEASE_DIR% | ||
|
||
Rem remove belows for debugging | ||
rmdir /s /q %TARGET_DIR% |