Skip to content

Commit e29ddc6

Browse files
authored
Merge pull request #861 from Mastermindzh/master
update from master
2 parents f48f9b1 + 01df673 commit e29ddc6

File tree

20 files changed

+1031
-539
lines changed

20 files changed

+1031
-539
lines changed

.github/workflows/build.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,18 @@ jobs:
3030
# with:
3131
# name: linux-builds
3232
# path: dist/
33+
34+
build_on_mac:
35+
runs-on: macos-latest
36+
steps:
37+
- uses: actions/checkout@master
38+
- uses: actions/setup-node@master
39+
with:
40+
node-version: 24.12.0
41+
- run: npm install
42+
- run: npm run lint
43+
- run: npm run build-mac
44+
# - uses: actions/upload-artifact@master
45+
# with:
46+
# name: mac-builds
47+
# path: dist/

.github/workflows/release.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,39 @@ jobs:
2626
with:
2727
name: linux-builds
2828
path: dist/
29+
30+
build_on_mac:
31+
runs-on: macos-latest
32+
steps:
33+
- uses: actions/checkout@master
34+
- uses: actions/setup-node@master
35+
with:
36+
node-version: 24.12.0
37+
- run: npm install
38+
- run: npm run build-mac
39+
- uses: actions/upload-artifact@master
40+
with:
41+
name: mac-builds
42+
path: dist/
43+
44+
build_and_publish_snap:
45+
runs-on: ubuntu-latest
46+
if: github.ref == 'refs/heads/master'
47+
steps:
48+
- name: update apt
49+
run: sudo apt-get update
50+
- name: Install libarchive-tools
51+
run: sudo apt-get install -y libarchive-tools
52+
- uses: actions/checkout@master
53+
- uses: actions/setup-node@master
54+
with:
55+
node-version: 24.12.0
56+
- run: npm install
57+
- run: npm run build-snap
58+
- name: Publish to Snap Store
59+
uses: canonical/action-publish@v1
60+
env:
61+
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_STORE_CREDENTIALS }}
62+
with:
63+
snap: dist/tidal-hifi_*.snap
64+
release: stable

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"seekbackward",
3838
"seekforward",
3939
"seekto",
40+
"SNAPCRAFT",
4041
"throughs",
4142
"trackid",
4243
"tracklist",

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,30 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [6.2.0]
8+
9+
### Added
10+
11+
- Added configurable sandbox disable flag to fix login white screen issues
12+
- Defaults to enabled (sandbox disabled) to prevent login issues for new users
13+
- Applies the `--no-sandbox` Electron flag when enabled
14+
15+
### Changed
16+
17+
- Upgraded to widevine 40.
18+
- Transparency of the window is disabled on Mac to better facilitate the menu bar
19+
- [pr](https://github.com/Mastermindzh/tidal-hifi/pull/839) by [Ghoelian](https://github.com/Ghoelian)
20+
- Ghoelian also verified that mac builds are working again so I've re-enabled those too.
21+
22+
### Fixed
23+
24+
- Fixed white screen issue during login process caused by sandbox restrictions
25+
- Improved flag system logging and early Logger initialization
26+
27+
- **TEMP** When playing videos or uploaded songs the mpris integration broke.
28+
- I have temporarily implemented a workaround that allows it to *restart* after crashing on songs it does support
29+
- Mpris breaks on "syscall -> write" which is now logged and can be looked into at a later date.
30+
731
## [6.1.0]
832

933
### Added

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ Integrations with other projects that are not included natively:
159159

160160
## Known bugs
161161

162-
Please check the [Knows issues file](./docs/known-issues.md).
162+
Please check the [Known issues file](./docs/known-issues.md).
163163

164164
## Special thanks to
165165

biome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/2.3.11/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.4.4/schema.json",
33
"vcs": {
44
"enabled": true,
55
"clientKind": "git",

build/electron-builder.base.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
appId: com.rickvanlieshout.tidal-hifi
2-
electronVersion: 39.2.4
2+
electronVersion: 40.1.0
33
electronDownload:
4-
version: 39.2.4+wvcus
4+
version: v40.1.0+wvcus
55
mirror: https://github.com/castlabs/electron-releases/releases/download/v
66
snap:
77
plugs:

docs/images/disable-sandbox.png

19 KB
Loading

docs/known-issues.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ This document lists known bugs and issues with Tidal Hi-Fi along with workaround
99
- [Known Issues](#known-issues)
1010
- [Table of Contents](#table-of-contents)
1111
- [White screen on login/launch](#white-screen-on-loginlaunch)
12+
- [Advanced setting](#advanced-setting)
1213
- [Subscribe button showing and/or account details not working](#subscribe-button-showing-andor-account-details-not-working)
1314
- [DRM not working on Windows (error S6007)](#drm-not-working-on-windows-error-s6007)
1415
- [Discord RPC not working with Flatpak and native Discord](#discord-rpc-not-working-with-flatpak-and-native-discord)
@@ -18,9 +19,9 @@ This document lists known bugs and issues with Tidal Hi-Fi along with workaround
1819

1920
## White screen on login/launch
2021

21-
Some users may experience a white screen when launching Tidal Hi-Fi or during the login process. This is typically caused by security restrictions in the underlying Chromium engine.
22+
Some users may experience a white screen when launching Tidal Hi-Fi or during the login process. This is typically caused by security restrictions in the underlying Chromium engine. You can disable it permanently in the settings or following the steps below:
2223

23-
**Fix**: Run Tidal Hi-Fi from the command line with the `--no-sandbox` flag:
24+
**Fix**: Run Tidal Hi-Fi from the command line with the `--no-sandbox` or `--disable-seccomp-filter-sandbox` flag:
2425

2526
```bash
2627
tidal-hifi --no-sandbox
@@ -32,6 +33,13 @@ For different installation methods:
3233
- **Flatpak**: `flatpak run com.mastermindzh.tidal-hifi --no-sandbox`
3334
- **From source**: `npm start -- --no-sandbox`
3435

36+
### Advanced setting
37+
38+
Under "Advanced" in the settings menu you'll find a section to toggle flags, there you can also toggle the sandbox flag.
39+
The default value of this flag is "true", which means the sandbox is disabled.
40+
41+
![The flag as shown in the settings window](./images/disable-sandbox.png)
42+
3543
## Subscribe button showing and/or account details not working
3644

3745
If you see a "Subscribe" button or notice that account-related features aren't working properly, this is likely due to the built-in ad blocker being too aggressive.

0 commit comments

Comments
 (0)