-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from pakerwreah/develop
Auto device detection in Electron using UDP datagrams (#17)
- Loading branch information
Showing
26 changed files
with
2,964 additions
and
484 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,28 @@ | ||
name: Electron CI | ||
|
||
on: | ||
release: | ||
types: [ published ] | ||
|
||
jobs: | ||
build: | ||
runs-on: macos-latest | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
|
||
- name: Build | ||
run: | | ||
npm install | ||
npm run electron:build -- -mwl | ||
- name: Upload | ||
working-directory: dist_electron | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
tag_name="${GITHUB_REF##*/}" | ||
hub release edit -a $(find . -maxdepth 1 -type f -name "*.exe" -print) -m "" "$tag_name" | ||
hub release edit -a $(find . -maxdepth 1 -type f -name "*.dmg" -print) -m "" "$tag_name" | ||
hub release edit -a $(find . -maxdepth 1 -type f -name "*.snap" -print) -m "" "$tag_name" |
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 |
---|---|---|
|
@@ -19,3 +19,6 @@ yarn-error.log* | |
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
#Electron-builder output | ||
/dist_electron |
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,14 @@ | ||
productName: Inspector | ||
appId: br.newm.inspector | ||
|
||
mac: | ||
# TODO icon: src/assets/icon.icns | ||
category: public.app-category.developer-tools | ||
|
||
linux: | ||
# TODO icon: src/assets/icon.png | ||
category: Development | ||
|
||
win: | ||
# TODO icon: src/assets/icon.ico | ||
artifactName: ${productName}-Setup-${version}.${ext} |
Oops, something went wrong.