mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2024-11-22 13:32:42 +01:00
Links in the about window now open in the user's default browser. fixes #360
This commit is contained in:
parent
fd0dae2762
commit
4ef76c262e
@ -8,7 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
- TIDAL will now close the previous notification if a new one is sent whilst the old is still visible. [#364](https://github.com/Mastermindzh/tidal-hifi/pull/364)
|
- TIDAL will now close the previous notification if a new one is sent whilst the old is still visible. [#364](https://github.com/Mastermindzh/tidal-hifi/pull/364)
|
||||||
- Updated developer documentation to get started in README [#365](https://github.com/Mastermindzh/tidal-hifi/pull/365)
|
- Updated developer documentation to get started in README [#365](https://github.com/Mastermindzh/tidal-hifi/pull/365)
|
||||||
-
|
- Links in the about window now open in the user's default browser. fixes [#360](https://github.com/Mastermindzh/tidal-hifi/issues/360)
|
||||||
|
|
||||||
## [5.9.0]
|
## [5.9.0]
|
||||||
|
|
||||||
|
@ -432,14 +432,14 @@
|
|||||||
<img alt="tidal icon" class="about-section__icon" src="./icon.png" />
|
<img alt="tidal icon" class="about-section__icon" src="./icon.png" />
|
||||||
<h4>TIDAL Hi-Fi</h4>
|
<h4>TIDAL Hi-Fi</h4>
|
||||||
<div class="about-section__version">
|
<div class="about-section__version">
|
||||||
<a href="https://github.com/Mastermindzh/tidal-hifi/releases/tag/5.10.0">5.10.0</a>
|
<a target="_blank" href="https://github.com/Mastermindzh/tidal-hifi/releases/tag/5.10.0">5.10.0</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="about-section__links">
|
<div class="about-section__links">
|
||||||
<a href="https://github.com/mastermindzh/tidal-hifi/" class="about-section__button">Github <i
|
<a target="_blank" href="https://github.com/mastermindzh/tidal-hifi/" class="about-section__button">Github
|
||||||
class="fa fa-external-link"></i></a>
|
<i class="fa fa-external-link"></i></a>
|
||||||
<a href="https://github.com/Mastermindzh/tidal-hifi/issues" class="about-section__button">Report an issue <i
|
<a target="_blank" href="https://github.com/Mastermindzh/tidal-hifi/issues"
|
||||||
class="fa fa-external-link"></i></a>
|
class="about-section__button">Report an issue <i class="fa fa-external-link"></i></a>
|
||||||
<a href="https://github.com/Mastermindzh/tidal-hifi/graphs/contributors"
|
<a target="_blank" href="https://github.com/Mastermindzh/tidal-hifi/graphs/contributors"
|
||||||
class="about-section__button">Contributors <i class="fa fa-external-link"></i></a>
|
class="about-section__button">Contributors <i class="fa fa-external-link"></i></a>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
@ -415,7 +415,6 @@ html {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// file upload
|
// file upload
|
||||||
|
|
||||||
.file-drop-area {
|
.file-drop-area {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
import Store from "electron-store";
|
import Store from "electron-store";
|
||||||
|
|
||||||
import { BrowserWindow } from "electron";
|
import { BrowserWindow, shell } from "electron";
|
||||||
import path from "path";
|
import path from "path";
|
||||||
import { settings } from "../constants/settings";
|
import { settings } from "../constants/settings";
|
||||||
|
|
||||||
@ -134,6 +134,10 @@ export const createSettingsWindow = function () {
|
|||||||
|
|
||||||
settingsWindow.loadURL(`file://${__dirname}/../pages/settings/settings.html`);
|
settingsWindow.loadURL(`file://${__dirname}/../pages/settings/settings.html`);
|
||||||
|
|
||||||
|
settingsWindow.webContents.setWindowOpenHandler(({ url }) => {
|
||||||
|
shell.openExternal(url);
|
||||||
|
return { action: "deny" };
|
||||||
|
});
|
||||||
settingsModule.settingsWindow = settingsWindow;
|
settingsModule.settingsWindow = settingsWindow;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user