Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 2a48059186 | |||
| b57faa2c59 |
@@ -12,8 +12,12 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Send release notification webhook
|
- name: Send release notification webhook
|
||||||
|
env:
|
||||||
|
TAG_NAME: ${{ github.event.release.tag_name }}
|
||||||
|
REPOSITORY: ${{ github.repository }}
|
||||||
|
WEBHOOK_URL: ${{ secrets.STOAT_WEBHOOK_UPDATES_URL }}
|
||||||
run: |
|
run: |
|
||||||
RELEASE_URL="https://github.com/${{ github.repository }}/releases/tag/${{ github.event.release.tag_name }}"
|
RELEASE_URL="https://github.com/${REPOSITORY}/releases/tag/${TAG_NAME}"
|
||||||
curl -X POST "${{ secrets.STOAT_WEBHOOK_UPDATES_URL }}" \
|
curl -X POST "$WEBHOOK_URL" \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d "{\"content\": \"$RELEASE_URL\"}"
|
-d "{\"content\": \"$RELEASE_URL\"}"
|
||||||
@@ -79,7 +79,7 @@ export function createMainWindow() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// maximise the window if it was maximised before
|
// maximise the window if it was maximised before
|
||||||
if (config.windowState.isMaximised) {
|
if (config.windowState.isMaximised && !startHidden) {
|
||||||
mainWindow.maximize();
|
mainWindow.maximize();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user