Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMuhammet Kara <muhammet.kara@collabora.com>2020-09-14 12:29:08 +0300
committerMuhammet Kara <muhammet.kara@collabora.com>2020-09-14 12:29:22 +0300
commit94dab7f3eac3a376645b0234cd3d22c21dd30031 (patch)
tree2d9d53cfc2d359396244b4a086e78729fa3c25d9 /src
parentf671a806f6f27e82c205a13e5264a4c28d8991d0 (diff)
arm64: Adapt Admin Settings page
Signed-off-by: Muhammet Kara <muhammet.kara@collabora.com>
Diffstat (limited to 'src')
-rw-r--r--src/components/AdminSettings.vue7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/components/AdminSettings.vue b/src/components/AdminSettings.vue
index 76ec1d54..b90706aa 100644
--- a/src/components/AdminSettings.vue
+++ b/src/components/AdminSettings.vue
@@ -88,7 +88,7 @@
</p>
<p class="option-inline-emphasized">
{{ t('richdocuments', 'If the installation from the app store fails, you can still do that manually using this command:') }}
- <tt>php -d memory_limit=512M occ app:install richdocumentscode</tt>
+ <tt>php -d memory_limit=512M occ app:install {{ CODEAppID }}</tt>
</p>
</div>
</div>
@@ -279,6 +279,7 @@ export default {
demoServers: null,
CODEInstalled: 'richdocumentscode' in OC.appswebroots,
CODECompatible: true,
+ CODEAppID: 'richdocumentscode',
isNginx: false,
appUrl: OC.generateUrl('/settings/apps/app-bundles/richdocumentscode'),
approvedDemoModal: false,
@@ -362,6 +363,8 @@ export default {
}
if (this.initial.platform && this.initial.platform === 'aarch64') {
this.appUrl = OC.generateUrl('/settings/apps/app-bundles/richdocumentscode_arm64')
+ this.CODEInstalled = 'richdocumentscode_arm64' in OC.appswebroots
+ this.CODEAppID = 'richdocumentscode_arm64'
}
this.checkIfDemoServerIsActive()
},
@@ -459,7 +462,7 @@ export default {
},
checkIfDemoServerIsActive() {
this.settings.demoUrl = this.demoServers ? this.demoServers.find((server) => server.demo_url === this.settings.wopi_url) : null
- this.settings.CODEUrl = this.CODEInstalled ? window.location.protocol + '//' + window.location.host + OC.filePath('richdocumentscode', '', '') + 'proxy.php?req=' : null
+ this.settings.CODEUrl = this.CODEInstalled ? window.location.protocol + '//' + window.location.host + OC.filePath(this.CODEAppID, '', '') + 'proxy.php?req=' : null
if (this.settings.wopi_url && this.settings.wopi_url !== '') {
this.serverMode = 'custom'
}