Browse Source

Fixes #175, No signature.json in the appinfo directory

master^2
Andras Timar 1 year ago
parent
commit
868631ec36
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      Makefile

+ 3
- 1
Makefile View File

@@ -8,6 +8,7 @@ appstore_dir=$(build_dir)/appstore
source_dir=$(build_dir)/source
package_name=$(app_name)
cert_dir=$(HOME)/.nextcloud/certificates
occ=$(CURDIR)/../core/occ

appstore:
mkdir -p $(sign_dir)
@@ -31,6 +32,7 @@ appstore:
--exclude=vendor/bin \
$(project_dir) $(sign_dir)
@echo "Signing…"
$(occ) integrity:sign-app --privateKey=$(cert_dir)/$(app_name).key --certificate=$(cert_dir)/$(app_name).crt --path=$(sign_dir)/$(app_name)
tar -czf $(build_dir)/$(app_name).tar.gz \
-C $(sign_dir) $(app_name)
openssl dgst -sha512 -sign $(cert_dir)/$(app_name).key $(build_dir)/$(app_name).tar.gz | openssl base64
openssl dgst -sha512 -sign $(cert_dir)/$(app_name).key $(build_dir)/$(app_name).tar.gz | openssl base64

Loading…
Cancel
Save