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
8 8
 source_dir=$(build_dir)/source
9 9
 package_name=$(app_name)
10 10
 cert_dir=$(HOME)/.nextcloud/certificates
11
+occ=$(CURDIR)/../core/occ
11 12
 
12 13
 appstore:
13 14
 	mkdir -p $(sign_dir)
@@ -31,6 +32,7 @@ appstore:
31 32
 	--exclude=vendor/bin \
32 33
 	$(project_dir) $(sign_dir)
33 34
 	@echo "Signing…"
35
+	$(occ) integrity:sign-app --privateKey=$(cert_dir)/$(app_name).key --certificate=$(cert_dir)/$(app_name).crt --path=$(sign_dir)/$(app_name)
34 36
 	tar -czf $(build_dir)/$(app_name).tar.gz \
35 37
 		-C $(sign_dir) $(app_name)
36
-	openssl dgst -sha512 -sign $(cert_dir)/$(app_name).key $(build_dir)/$(app_name).tar.gz | openssl base64
38
+	openssl dgst -sha512 -sign $(cert_dir)/$(app_name).key $(build_dir)/$(app_name).tar.gz | openssl base64

Loading…
Cancel
Save