Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
nheko
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nheko Reborn
nheko
Commits
021eed83
Verified
Commit
021eed83
authored
1 year ago
by
Nicolas Werner
Browse files
Options
Downloads
Patches
Plain Diff
Add windows code signing
parent
199cea9b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#5392
waiting for manual action
Stage: build
Stage: sign
Changes
3
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.ci/windows/sign.bat
+5
-0
5 additions, 0 deletions
.ci/windows/sign.bat
.gitlab-ci.yml
+22
-0
22 additions, 0 deletions
.gitlab-ci.yml
resources/AppxManifest.xml
+1
-1
1 addition, 1 deletion
resources/AppxManifest.xml
with
28 additions
and
1 deletion
.ci/windows/sign.bat
0 → 100644
+
5
−
0
View file @
021eed83
@echo
off
call
"C:/Program Files (x86)/Microsoft Visual Studio/2022/BuildTools/VC/Auxiliary/Build/vcvarsall.bat"
x64
@C:\smartcardtools\x64\scsigntool
-pin
%WINDOWS_SIGNING_KEY_PIN%
sign
/fd
SHA256
/t
http
://timestamp.digicert.com
/a /sha
1
%WINDOWS_SIGNING_KEY_THUMBPRINT%
nheko
.msix
>
nul
2
>&
1
This diff is collapsed.
Click to expand it.
.gitlab-ci.yml
+
22
−
0
View file @
021eed83
...
...
@@ -38,6 +38,28 @@ build-windows:
paths
:
-
nheko.msix
-
nheko_win_64.zip
name
:
nheko-${CI_COMMIT_SHORT_SHA}-windows-unsigned
expose_as
:
'
windows-app-unsigned'
codesign-windows
:
stage
:
sign
image
:
win10-base
tags
:
[
libvirt
,
powershell
]
resource_group
:
windows_signingA
environment
:
name
:
windows_signing
#variables:
# GIT_STRATEGY: none
script
:
-
Get-ChildItem -Path Cert:CurrentUser\My
-
./.ci/windows/sign.bat
needs
:
-
job
:
build-windows
rules
:
-
if
:
'
$CI_COMMIT_REF_PROTECTED
==
"true"'
artifacts
:
paths
:
-
nheko.msix
name
:
nheko-${CI_COMMIT_SHORT_SHA}-windows
expose_as
:
'
windows-app'
...
...
This diff is collapsed.
Click to expand it.
resources/AppxManifest.xml
+
1
−
1
View file @
021eed83
...
...
@@ -4,7 +4,7 @@
xmlns:uap=
"http://schemas.microsoft.com/appx/manifest/uap/windows10"
xmlns:uap10=
"http://schemas.microsoft.com/appx/manifest/uap/windows10/10"
xmlns:rescap=
"http://schemas.microsoft.com/appx/manifest/foundation/windows10/restrictedcapabilities"
>
<Identity
Name=
"im.nheko.Nheko"
Version=
"0.11.3.4"
Publisher=
"CN=N
hekoReborn, O=NhekoReborn
, L=Munich, S=Bavaria, C=
Germany
"
ProcessorArchitecture=
"x64"
/>
<Identity
Name=
"im.nheko.Nheko"
Version=
"0.11.3.4"
Publisher=
"CN=N
icolas Werner, O=Nicolas Werner
, L=Munich, S=Bavaria, C=
DE
"
ProcessorArchitecture=
"x64"
/>
<Properties>
<DisplayName>
Nheko
</DisplayName>
<PublisherDisplayName>
Nheko-Reborn
</PublisherDisplayName>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment