Skip to content

Commit

Permalink
Switch to cli for packing
Browse files Browse the repository at this point in the history
  • Loading branch information
neilenns committed May 14, 2024
1 parent f2f2c75 commit f3aa2cc
Show file tree
Hide file tree
Showing 5 changed files with 56 additions and 54 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ jobs:
- name: Build
run: npm run build

- name: Package
run: npm run package
- name: Pack
run: npm run pack
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
- name: Build
run: npm run build

- name: Package
run: npm run package
- name: Pack
run: npm run pack

- name: Upload package
- name: Upload plugin
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
Binary file removed buildTools/DistributionTool.exe
Binary file not shown.
98 changes: 50 additions & 48 deletions com.neil-enns.trackaudio.sdPlugin/manifest.json
Original file line number Diff line number Diff line change
@@ -1,49 +1,51 @@
{
"Name": "TrackAudio",
"Version": "0.1.0.0",
"Author": "Neil Enns",
"Actions": [
{
"Name": "Station status",
"UUID": "com.neil-enns.trackaudio.stationstatus",
"Icon": "images/plugin/headphones-solid",
"Tooltip": "Shows the status of a station.",
"Controllers": ["Keypad"],
"PropertyInspectorPath": "station-status.html",
"States": [
{
"Image": "images/actions/station-status/black",
"TitleAlignment": "middle"
},
{
"Image": "images/actions/station-status/green",
"TitleAlignment": "middle"
}
]
}
],
"Category": "TrackAudio",
"CategoryIcon": "images/plugin/headphones-solid",
"CodePath": "bin/plugin.js",
"Description": "Provides buttons for controlling TrackAudio",
"Icon": "images/plugin/pluginIcon",
"SDKVersion": 2,
"Software": {
"MinimumVersion": "6.5"
},
"OS": [
{
"Platform": "mac",
"MinimumVersion": "10.15"
},
{
"Platform": "windows",
"MinimumVersion": "10"
}
],
"Nodejs": {
"Version": "20",
"Debug": "enabled"
},
"UUID": "com.neil-enns.trackaudio"
}
"Name": "TrackAudio",
"Version": "0.1.0.0",
"Author": "Neil Enns",
"Actions": [
{
"Name": "Station status",
"UUID": "com.neil-enns.trackaudio.stationstatus",
"Icon": "images/plugin/headphones-solid",
"Tooltip": "Shows the status of a station.",
"Controllers": [
"Keypad"
],
"PropertyInspectorPath": "station-status.html",
"States": [
{
"Image": "images/actions/station-status/black",
"TitleAlignment": "middle"
},
{
"Image": "images/actions/station-status/green",
"TitleAlignment": "middle"
}
]
}
],
"Category": "TrackAudio",
"CategoryIcon": "images/plugin/headphones-solid",
"CodePath": "bin/plugin.js",
"Description": "Provides buttons for controlling TrackAudio",
"Icon": "images/plugin/pluginIcon",
"SDKVersion": 2,
"Software": {
"MinimumVersion": "6.5"
},
"OS": [
{
"Platform": "mac",
"MinimumVersion": "10.15"
},
{
"Platform": "windows",
"MinimumVersion": "10"
}
],
"Nodejs": {
"Version": "20",
"Debug": "enabled"
},
"UUID": "com.neil-enns.trackaudio"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"scripts": {
"build": "rollup -c",
"watch": "rollup -c -w --watch.onEnd=\"streamdeck restart com.neil-enns.trackaudio\"",
"package": "start buildTools/DistributionTool -b -i com.neil-enns.trackaudio.sdPlugin -o .",
"pack": "streamdeck pack com.neil-enns.trackaudio.sdPlugin -o .",
"link": "streamdeck link com.neil-enns.trackaudio.sdPlugin"
},
"type": "module",
Expand Down

0 comments on commit f3aa2cc

Please sign in to comment.