chore: add Google Analytics event for record app startup

This commit is contained in:
tiny-craft
2023-10-17 10:19:50 +08:00
parent 77541ed371
commit 94e352dd30
7 changed files with 126 additions and 22 deletions

View File

@@ -63,7 +63,10 @@ jobs:
- name: Build wails app for Linux
shell: bash
run: CGO_ENABLED=1 wails build -platform ${{ matrix.platform }} -ldflags "-X main.version=${{ github.event.release.tag_name }}" -o tiny-rdm
run: |
CGO_ENABLED=1 wails build -platform ${{ matrix.platform }} \
-ldflags "-X main.version=${{ github.event.release.tag_name }} -X main.gaMeasurementID=${{ secrets.GA_MEASUREMENT_ID }} -X main.gaSecretKey=${{ secrets.LINUX_GA_SECRET }}" \
-o tiny-rdm
- name: Setup control template
shell: bash