Browse Source

Since Rambox Pro is closed source, remove references to rambox.pro.

pull/3202/head
TheGoddessInari 7 years ago
parent
commit
278a74589a
  1. 2
      app/package.json
  2. 4
      app/view/main/About.js
  3. 6
      electron/menu.js
  4. 24
      index.html

2
app/package.json

@ -12,7 +12,7 @@
"bugs": { "bugs": {
"url": "https://github.com/TheGoddessInari/rambox/issues" "url": "https://github.com/TheGoddessInari/rambox/issues"
}, },
"homepage": "https://rambox.pro", "homepage": "https://github.com/TheGoddessInari/rambox",
"keywords": [ "keywords": [
"Rambox", "Rambox",
"messaging", "messaging",

4
app/view/main/About.js

@ -26,8 +26,8 @@ Ext.define('Rambox.view.main.About', {
,'<div><b>Chromium:</b> {chromium}</div>' ,'<div><b>Chromium:</b> {chromium}</div>'
,'<div><b>Node:</b> {node}</div>' ,'<div><b>Node:</b> {node}</div>'
,'<br />' ,'<br />'
,'<div style="text-align:center;"><a href="https://github.com/TheGoddessInari/rambox" target="_blank">GitHub</a> - <a href="http://rambox.pro" target="_blank">rambox.pro</a></div>' ,'<div style="text-align:center;"><a href="https://github.com/TheGoddessInari/rambox" target="_blank">GitHub</a></div>'
,'<br />' ,'<br />'
,'<div style="text-align:center;"><i>'+locale['app.about[4]']+' Ramiro Saenz, maintained and newly developed by TheGoddessInari</i></div>' ,'<div style="text-align:center;"><i>'+locale['app.about[4]']+' Ramiro Saenz. Now maintained and developed by TheGoddessInari.</i></div>'
] ]
}); });

6
electron/menu.js

@ -19,12 +19,6 @@ function sendAction(action) {
module.exports = function(config) { module.exports = function(config) {
const locale = require('../resources/languages/'+config.get('locale')); const locale = require('../resources/languages/'+config.get('locale'));
const helpSubmenu = [ const helpSubmenu = [
{
label: `&`+locale['menu.help[0]'],
click() {
shell.openExternal('https://rambox.pro');
}
},
{ {
label: `&Facebook`, label: `&Facebook`,
click() { click() {

24
index.html

@ -7,30 +7,6 @@
<title>Rambox</title> <title>Rambox</title>
<script type='text/javascript'>
var xhr = new XMLHttpRequest();
var file = "http://rambox.pro/api/latestversion.json";
var randomNum = Math.round(Math.random() * 10000);
xhr.open('HEAD', file + "?rand=" + randomNum, true);
xhr.send();
xhr.addEventListener("readystatechange", function() {
setTimeout(processRequest, 5000);
}, false);
function processRequest(e) {
if (xhr.readyState == 4) {
if (xhr.status >= 200 && xhr.status < 304) {
console.info('Internet Connection', true);
} else {
console.info('Internet Connection', false);
alert('Please, check your internet connection and restart Rambox. If you use a Proxy, please go to Preferences to configure it.', 'No Internet Connection');
}
}
}
</script>
<!-- The line below must be kept intact for Sencha Cmd to build your application --> <!-- The line below must be kept intact for Sencha Cmd to build your application -->
<script id="microloader" type="text/javascript" src="bootstrap.js"></script> <script id="microloader" type="text/javascript" src="bootstrap.js"></script>

Loading…
Cancel
Save