Skip to content

Commit

Permalink
URL changes
Browse files Browse the repository at this point in the history
  • Loading branch information
amanharwara committed Feb 16, 2020
1 parent 31369b7 commit 6b0c083
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
14 changes: 8 additions & 6 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ getDarkTheme(createThemesList);
* @param {createThemesListCallback} createThemesList
*/
function getDarkTheme(createThemesList) {
fetch('https://raw.githubusercontent.com/ShadyThGod/shadythgod.github.io/master/css/altus-dark-theme.css', {
fetch('https://raw.githubusercontent.com/vednoc/dark-whatsapp/master/wa.user.css', {
cache: 'no-cache'
})
.then(res => {
Expand All @@ -59,7 +59,9 @@ function getDarkTheme(createThemesList) {
throw new Error(res.statusText);
}
})
.then(css => createThemesList(css))
.then(css => {
createThemesList(css.replace(/\/\*(.*\n)+\n@.*\{/gim, ''))
})
.catch(e => {
dialog.showErrorBox('Error: Base Dark Theme Not Loaded (No Internet Connection)', e);
createThemesList('');
Expand Down Expand Up @@ -397,22 +399,22 @@ const mainMenuTemplate = [{
submenu: [{
label: 'Report Bugs/Issues',
click: () => {
shell.openExternal('https://github.com/shadythgod/altus/issues');
shell.openExternal('https://github.com/amanharwara/altus/issues');
}
}, {
label: 'Website',
click: () => {
shell.openExternal('https://shadythgod.github.io');
shell.openExternal('https://amanharwara.xyz');
}
}, {
label: 'GitHub',
click: () => {
shell.openExternal('https://www.github.com/shadythgod');
shell.openExternal('https://www.github.com/amanharwara');
}
}, {
label: 'Repository',
click: () => {
shell.openExternal('https://www.github.com/shadythgod/altus');
shell.openExternal('https://www.github.com/amanharwara/altus');
}
}, {
label: 'Discord Chat',
Expand Down
2 changes: 1 addition & 1 deletion src/windows/checkUpdates/checkUpdates.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if (Array.from(settings.get('settings')).find(s => s.id === 'customTitlebar').va
}

// Set current version
document.querySelector('.version').innerHTML = `Current Version: <a onclick="openLink('https://github.com/shadythgod/altus/releases/tag/${app.getVersion()}');" href="">v${app.getVersion()}</a>`;
document.querySelector('.version').innerHTML = `Current Version: <a onclick="openLink('https://github.com/amanharwara/altus/releases/tag/${app.getVersion()}');" href="">v${app.getVersion()}</a>`;

setCurrentReleaseNotes();

Expand Down

0 comments on commit 6b0c083

Please sign in to comment.