1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-10-06 09:17:07 +02:00

Merge remote-tracking branch 'origin/master'

This commit is contained in:
Elias Steurer 2023-07-01 11:23:22 +02:00
commit 1d84766f7f
6 changed files with 44 additions and 5 deletions

1
.vscode/launch.json vendored
View File

@ -14,6 +14,7 @@
"cwd": "${command:cmake.buildDirectory}/bin",
"preLaunchTask": "CMake: build",
"internalConsoleOptions": "openOnSessionStart",
"console": "none",
"environment": [
{
"name": "Path",

View File

@ -105,7 +105,7 @@ https://stackoverflow.com/questions/56890749/macos-notarize-in-script
security add-generic-password -a "kelteseth@gmail.com" -w "xxxx-xxx-xxx-xxx" -s "Developer ID Application: Elias Steurer (V887LHYKRH)"
```
## Troubleshooting
## FAQ Troubleshooting
```
Processing complete
id: xxxxxx-xxxxxx-xxxx-xxxxx-xxxxx
@ -113,3 +113,10 @@ status: Invalid
```
Run the follwoing if you get an signing error:
`xcrun notarytool log --apple-id "xxxxx@xxxx.com" --password "xxxx-xxxx-xxxx-xxxx" --team-id "xxxxxxxxxxx" <ID>`
```
Error: HTTP status code: 403. A required agreement is missing or has expired. This request requires an in-effect agreement that has not been signed or has expired. Ensure your team has signed the necessary legal agreements and that they are not expired.
```
Go to [appstoreconnect.apple.com](https://appstoreconnect.apple.com) and accept the updated 'Apple Developer Program License Agreement'.

View File

@ -183,4 +183,25 @@ void ScreenPlaySDK::ScreenPlaySDK::redirectMessageOutputToMainWindow(QtMsgType t
localMsg += "\nin line " + QByteArray::number(context.line) + ", ";
global_sdkPtr->redirectMessage(localMsg);
// Also redirect to regular output if we debug
// wallpaper or widgets directly
switch (type)
{
case QtDebugMsg:
qDebug() << msg;
break;
case QtWarningMsg:
qWarning() << msg;
break;
case QtCriticalMsg:
case QtFatalMsg:
qCritical() << msg;
break;
case QtInfoMsg:
qInfo() << msg;
break;
default:
break;
}
}

View File

@ -55,7 +55,16 @@ Item {
volume: Wallpaper.volume
muted: Wallpaper.muted
}
// Wait until Windows window animation is complete
// before pausing the wallpaper
Timer {
id: pauseTimer
interval: 100
onTriggered: {
mediaPlayer.pause()
}
}
Connections {
function onFillModeChanged(fillMode) {
if (fillMode === "stretch") {
@ -76,10 +85,11 @@ Item {
}
function onVisualsPausedChanged(visualsPaused) {
print(visualsPaused)
if(!Wallpaper.isPlaying)
return
if(visualsPaused)
mediaPlayer.pause()
pauseTimer.start()
else
mediaPlayer.play()
}

View File

@ -2,8 +2,8 @@
<Package>
<DisplayName>ScreenPlay</DisplayName>
<Description>ScreenPlay is an Open Source cross-platform app for displaying Video Wallpaper & Widgets.</Description>
<Version>0.15.0-RC6</Version>
<ReleaseDate>2023-02-16</ReleaseDate>
<Version>0.15.0</Version>
<ReleaseDate>2023-07-01</ReleaseDate>
<Default>true</Default>
<Script>installscript.qs</Script>
</Package>

View File

@ -1,5 +1,5 @@
{
"version": "0.15.0-RC6",
"version": "0.15.0",
"description": "ScreenPlay is an Open Source Live-Wallpaper app for Windows and OSX. ",
"homepage": "https://screen-play.app/",
"url": "https://kelteseth.com/releases/$version/ScreenPlay-$version-x64-windows-release.zip",