eoas 1.0.21 → 1.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -17,7 +17,7 @@ class GenerateCerts extends core_1.Command {
|
|
|
17
17
|
message: 'In which directory would you like to store your code signing certificate (used by your expo app)?',
|
|
18
18
|
name: 'certificateOutputDir',
|
|
19
19
|
type: 'text',
|
|
20
|
-
initial: './
|
|
20
|
+
initial: './certs',
|
|
21
21
|
validate: v => {
|
|
22
22
|
try {
|
|
23
23
|
// eslint-disable-next-line
|
|
@@ -30,10 +30,10 @@ class GenerateCerts extends core_1.Command {
|
|
|
30
30
|
},
|
|
31
31
|
});
|
|
32
32
|
const { keyOutputDir } = await (0, prompts_1.promptAsync)({
|
|
33
|
-
message: 'In which directory would you like to store your key pair (used by your OTA Server) ?. ⚠️ Those
|
|
33
|
+
message: 'In which directory would you like to store your key pair (used by your OTA Server) ?. ⚠️ Those certss are sensitive and should be kept private.',
|
|
34
34
|
name: 'keyOutputDir',
|
|
35
35
|
type: 'text',
|
|
36
|
-
initial: './
|
|
36
|
+
initial: './certs',
|
|
37
37
|
validate: v => {
|
|
38
38
|
try {
|
|
39
39
|
// eslint-disable-next-line
|
package/dist/commands/init.js
CHANGED
|
@@ -49,19 +49,19 @@ class Init extends core_1.Command {
|
|
|
49
49
|
}
|
|
50
50
|
}
|
|
51
51
|
const confirmed = await (0, prompts_1.confirmAsync)({
|
|
52
|
-
message: 'Do you have already generated your certificates
|
|
52
|
+
message: 'Do you have already generated your certificates for code signing?',
|
|
53
53
|
name: 'certificates',
|
|
54
54
|
type: 'confirm',
|
|
55
55
|
});
|
|
56
56
|
if (!confirmed) {
|
|
57
|
-
log_1.default.fail('You need to generate your certificates first by using npx eoas generate-
|
|
57
|
+
log_1.default.fail('You need to generate your certificates first by using npx eoas generate-certs');
|
|
58
58
|
return;
|
|
59
59
|
}
|
|
60
60
|
const { codeSigningCertificatePath } = await (0, prompts_1.promptAsync)({
|
|
61
|
-
message: 'Enter the path to your code signing certificate (ex: ./
|
|
61
|
+
message: 'Enter the path to your code signing certificate (ex: ./certs/certificate.pem)',
|
|
62
62
|
name: 'codeSigningCertificatePath',
|
|
63
63
|
type: 'text',
|
|
64
|
-
initial: './
|
|
64
|
+
initial: './certs/certificate.pem',
|
|
65
65
|
validate: v => {
|
|
66
66
|
try {
|
|
67
67
|
const fullPath = path_1.default.resolve(projectDir, v);
|