-
Notifications
You must be signed in to change notification settings - Fork 3
/
configuration.default.php
47 lines (39 loc) · 1.04 KB
/
configuration.default.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
// OTAgo
// - OTA App Distribution System
// - https://github.com/DaveWoodCom/OTAgo
// - Copyright 2020 Dave Wood, Cerebral Gardens Inc.
// Can override the baseURL if the detected one in common.php isn't correct.
// $baseURL = 'https://example.com/app/';
// Choose one authentication method
// Current options: None, or Simple Auth
// Authentication - None
// $authFile = 'auth/none/none.php';
// Authentication - Simple Auth
$authFile = 'auth/simple/simpleAuth.php';
$simpleAuthTempDirectory = '/tmp';
$simpleAuthTokenLifetime = 3600; // 1 hour (3600 seconds)
$users = array(
'dave' => 'secr3t',
'john' => 'hunter2'
);
// Templates
// -- Web
$webTemplate = 'templates/webTemplate.html';
$installURLPlacehHolder = '{{InstallURL}}';
// Supported OSes
// -- iOS/iPadOS
$enableIOS = true;
if ($enableIOS) {
// -- Manifest
$manifestTemplate = 'templates/manifest.plist';
$ipaURLPlacehHolder = '{{IPAURL}}';
// IPA File
$ipaFile = 'MyApp.ipa';
}
// -- Android
$enableAndroid = true;
if ($enableAndroid) {
// APK File
$apkFile = 'MyApp.apk';
}