diff --git a/agents/meshagent_android.apk b/agents/meshagent_android.apk new file mode 100644 index 00000000..0663a1f0 Binary files /dev/null and b/agents/meshagent_android.apk differ diff --git a/meshcentral.js b/meshcentral.js index 2a05f18a..22f0f1c2 100644 --- a/meshcentral.js +++ b/meshcentral.js @@ -2973,7 +2973,7 @@ function CreateMeshCentralServer(config, args) { 11: { id: 11, localname: 'meshagent_osx-x86-32', rname: 'meshosx', desc: 'Apple macOS x86-32', update: true, amt: false, platform: 'linux', core: 'linux-noamt', rcore: 'linux-recovery', arcore: 'linux-agentrecovery', tcore: 'linux-tiny' }, // Apple x86-32 binary, no longer supported. 12: { id: 12, localname: 'MeshAgent-Android-x86', rname: 'meshandroid', desc: 'Android x86-32', update: true, amt: false, platform: 'linux', core: 'linux-noamt', rcore: 'linux-recovery', arcore: 'linux-agentrecovery', tcore: 'linux-tiny' }, 13: { id: 13, localname: 'meshagent_pogo', rname: 'meshagent', desc: 'Linux ARM PogoPlug', update: true, amt: false, platform: 'linux', core: 'linux-noamt', rcore: 'linux-recovery', arcore: 'linux-agentrecovery', tcore: 'linux-tiny' }, - 14: { id: 14, localname: 'MeshAgent-Android-APK', rname: 'meshandroid', desc: 'Android', update: false, amt: false, platform: 'android', core: 'linux-noamt', rcore: 'linux-recovery', arcore: 'linux-agentrecovery', tcore: 'linux-tiny' }, // Get this one from Google Play + 14: { id: 14, localname: 'meshagent_android.apk', rname: 'meshandroid.apk', desc: 'Android', update: false, amt: false, platform: 'android', core: 'linux-noamt', rcore: 'linux-recovery', arcore: 'linux-agentrecovery', tcore: 'linux-tiny' }, // Get this one from Google Play 15: { id: 15, localname: 'meshagent_poky', rname: 'meshagent', desc: 'Linux Poky x86-32', update: true, amt: false, platform: 'linux', core: 'linux-noamt', rcore: 'linux-recovery', arcore: 'linux-agentrecovery', tcore: 'linux-tiny' }, 16: { id: 16, localname: 'meshagent_osx-x86-64', rname: 'meshagent', desc: 'Apple macOS x86-64', update: true, amt: false, platform: 'osx', core: 'linux-noamt', rcore: 'linux-recovery', arcore: 'linux-agentrecovery', tcore: 'linux-tiny' }, // Apple x86-64 binary 17: { id: 17, localname: 'MeshAgent-ChromeOS', rname: 'meshagent', desc: 'Google ChromeOS', update: false, amt: false, platform: 'chromeos', core: 'linux-noamt', rcore: 'linux-recovery', arcore: 'linux-agentrecovery', tcore: 'linux-tiny' }, // Get this one from Chrome store diff --git a/public/images/amazon-appstore-140.png b/public/images/amazon-appstore-140.png new file mode 100644 index 00000000..7a6625e0 Binary files /dev/null and b/public/images/amazon-appstore-140.png differ diff --git a/public/images/amazon-appstore-280.png b/public/images/amazon-appstore-280.png new file mode 100644 index 00000000..6df0b435 Binary files /dev/null and b/public/images/amazon-appstore-280.png differ diff --git a/public/images/google-play-140.png b/public/images/google-play-140.png new file mode 100644 index 00000000..b5b1a730 Binary files /dev/null and b/public/images/google-play-140.png differ diff --git a/public/images/google-play-280.png b/public/images/google-play-280.png new file mode 100644 index 00000000..25237068 Binary files /dev/null and b/public/images/google-play-280.png differ diff --git a/views/agentinvite.handlebars b/views/agentinvite.handlebars index 467eee45..404e650d 100644 --- a/views/agentinvite.handlebars +++ b/views/agentinvite.handlebars @@ -132,10 +132,13 @@

Download the agent software using the Google Play store or APK file, install it and use the QR code on the right or the pairing link below to setup your device on this server.

- Google Play Store +

- Android APK Download + +

+

+ Android APK Download

Server Pairing Link @@ -389,6 +392,11 @@ url = 'meshagents?id=10006&meshid=' + meshid; Q('assisturl').href = url; + // Android Setup + var url = 'meshagents?id=14&meshid=' + meshid; + if (installFlags != 0) { url += ('&installflags=' + installFlags); } + Q('androidurl').href = url; + // Attempt to detect the most likely operating system for this browser if (navigator.userAgent.indexOf('Win64') >= 0) { openTab(null, 'wintab64'); } else if (navigator.userAgent.indexOf('Windows') >= 0) { openTab(null, 'wintab32'); } diff --git a/views/default.handlebars b/views/default.handlebars index 58512411..fcea5353 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -5281,7 +5281,7 @@ } x += '

' + format("Invite someone to install the mesh agent by sharing an invitation link. This link points the user to installation instructions for the \"{0}\" device group. The link is public and no account for this server is needed.", EscapeHtml(mesh.name)) + '

'; x += addHtmlValue("Link Expiration", ''); - x += addHtmlValue("Agents", ''); + x += addHtmlValue("Agents", ''); x += '
'; x += addHtmlValue("Installation Type", ''); x += '
'; @@ -5381,7 +5381,13 @@ x += '
'; // QR code agent install - x += ''; + x += '' // MeshCentral Assistant x += '