Skip to content

Commit 457a1ec

Browse files
committed
code sign windoza files
1 parent 6366661 commit 457a1ec

File tree

3 files changed

+27
-12
lines changed

3 files changed

+27
-12
lines changed

.github/workflows/new-release.yml

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,16 @@ jobs:
3939
- run: dart pub get
4040
- name: Build exe
4141
run: dart compile exe bin/gpth.dart -o ./gpth-${{ steps.clean_tag.outputs.tag }}-${{ runner.os }}.exe
42+
- name: Code sign a windoza exe file
43+
if: matrix.os == 'windows-latest'
44+
uses: dlemstra/code-sign-action@v1
45+
with:
46+
# Note: this is a self-signed certificate that i generated on my computer
47+
# This is worthless i think, since windoza still get angry, but best i can do,
48+
# because proper certificates cost money (a lot :/ )
49+
certificate: ${{ secrets.WINDOZA_CERT_BASE64 }}
50+
password: ${{ secrets.WINDOZA_CERT_PASSWORD }}
51+
folder: '.'
4252
- name: Add files to GH-Release
4353
uses: softprops/action-gh-release@v1
4454
with:
@@ -48,14 +58,15 @@ jobs:
4858
- name: Generate PKGBUILD
4959
if: matrix.os == 'ubuntu-latest'
5060
run: ./scripts/gen-pkgbuild.bash ./gpth-${{ steps.clean_tag.outputs.tag }}-${{ runner.os }}.exe > ./PKGBUILD
51-
- name: Upload to AUR
52-
if: matrix.os == 'ubuntu-latest'
53-
uses: KSXGitHub/github-actions-deploy-aur@v2
54-
with:
55-
pkgname: gpth-bin
56-
pkgbuild: ./PKGBUILD
57-
commit_username: 'TheLastGimbus'
58-
commit_email: '[email protected]'
59-
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
60-
commit_message: ${{ steps.clean_tag.outputs.tag }}
61-
test: true
61+
# Disable for a moment
62+
# - name: Upload to AUR
63+
# if: matrix.os == 'ubuntu-latest'
64+
# uses: KSXGitHub/github-actions-deploy-aur@v2
65+
# with:
66+
# pkgname: gpth-bin
67+
# pkgbuild: ./PKGBUILD
68+
# commit_username: 'TheLastGimbus'
69+
# commit_email: '[email protected]'
70+
# ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
71+
# commit_message: ${{ steps.clean_tag.outputs.tag }}
72+
# test: true

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 3.1.1
2+
3+
- Code sign windoza exe with self-made cert
4+
15
## 3.1.0
26

37
- Added `--divide-to-dates` 🎉

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: gpth
22
description: 'Tool to help you with exporting stuff from Google Photos'
3-
version: 3.1.0
3+
version: 3.1.1
44
homepage: 'https://github.com/TheLastGimbus/GooglePhotosTakeoutHelper'
55

66
environment:

0 commit comments

Comments
 (0)