Compare commits

..
4 Commits
Author SHA1 Message Date
Brahim Hadriche 13cd469400 Release v0.40.4 (#658) 2025-06-16 20:45:22 -04:00
Brahim Hadriche c66f1376a1 Remove announcement 2025-06-16 20:08:14 -04:00
Brahim Hadriche 840474c20c Fix app launch and app dialog events 2025-06-16 19:35:24 -04:00
Brahim Hadriche 6095901939 [skip ci] delete existing package 2025-06-16 13:40:58 -04:00
14 changed files with 52 additions and 24 deletions

No files matched your search

+6
View File
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.40.4] - 2025-06-17
### Fixed
- Few changes preparing for app store submission
## [0.40.3] - 2025-06-16
### Fixed
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "playlet",
"version": "0.40.3",
"version": "0.40.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "playlet",
"version": "0.40.3",
"version": "0.40.4",
"hasInstallScript": true,
"devDependencies": {
"@rokucommunity/bslint": "^0.8.32",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "playlet",
"version": "0.40.3",
"version": "0.40.4",
"description": "Unofficial YouTube client for Roku",
"devDependencies": {
"@rokucommunity/bslint": "^0.8.32",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "playlet-app",
"version": "0.40.3",
"version": "0.40.4",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "playlet-app",
"version": "0.40.3"
"version": "0.40.4"
}
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "playlet-app",
"version": "0.40.3",
"version": "0.40.4",
"description": "Unofficial YouTube client for Roku",
"scripts": {
"prebuild": "rm -rf ../build/playlet-app",
+1 -1
View File
@@ -3,7 +3,7 @@ title=Playlet
# Do not update version manually, it is auto updated from package.json
major_version=0
minor_version=40
build_version=00003
build_version=00004
ui_resolutions=hd
uri_resolution_autosub=$$RES$$,480p,720p,1080p
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "playlet-lib",
"version": "0.40.3",
"version": "0.40.4",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "playlet-lib",
"version": "0.40.3"
"version": "0.40.4"
}
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "playlet-lib",
"version": "0.40.3",
"version": "0.40.4",
"description": "Unofficial YouTube client for Roku",
"scripts": {
"prebuild": "rm -rf ../build/playlet-lib",
+14 -5
View File
@@ -33,14 +33,21 @@ function SetScenePalette(scene as object) as void
scene.palette = palette
end function
const HAS_ANNOUNCEMENT = false
function MainSceneContainerChanged()
AutoBindSceneGraph()
StartWebServer()
HideLoadingScreen()
InitEcpArgs()
m.scene.signalBeacon("AppLaunchComplete")
if HAS_ANNOUNCEMENT
if not ShowAnnouncement()
m.scene.signalBeacon("AppLaunchComplete")
end if
else
m.scene.signalBeacon("AppLaunchComplete")
end if
CopyLoadingMessagesToCache()
ShowAnnouncement()
end function
function StartWebServer()
@@ -54,7 +61,7 @@ function StartWebServer()
m.dialServer@.StartServer()
end function
function ShowAnnouncement() as void
function ShowAnnouncement() as boolean
dialog = DialogUtils.ShowDialogOnce({
messageId: "1747362859"
title: "Announcement - YouTube account support"
@@ -70,13 +77,15 @@ function ShowAnnouncement() as void
})
if dialog = invalid
return
return false
end if
m.scene.signalBeacon("AppDialogInitiate")
m.top.observeField("wasClosed", FuncName(OnAnnouncementDialogClosed))
dialog.observeField("wasClosed", FuncName(OnAnnouncementDialogClosed))
return true
end function
function OnAnnouncementDialogClosed()
m.scene.signalBeacon("AppDialogComplete")
m.scene.signalBeacon("AppLaunchComplete")
end function
@@ -32,14 +32,20 @@ function SetScenePalette(scene as object) as void
scene.palette = palette
end function
function MainSceneContainerChanged()
AutoBindSceneGraph()
StartWebServer()
HideLoadingScreen()
InitEcpArgs()
m.scene.signalBeacon("AppLaunchComplete")
if false
if not ShowAnnouncement()
m.scene.signalBeacon("AppLaunchComplete")
end if
else
m.scene.signalBeacon("AppLaunchComplete")
end if
CopyLoadingMessagesToCache()
ShowAnnouncement()
end function
function StartWebServer()
@@ -51,7 +57,7 @@ function StartWebServer()
m.dialServer.callfunc("StartServer", invalid)
end function
function ShowAnnouncement() as void
function ShowAnnouncement() as boolean
dialog = DialogUtils_ShowDialogOnce({
messageId: "1747362859"
title: "Announcement - YouTube account support"
@@ -66,13 +72,15 @@ function ShowAnnouncement() as void
marginWidth: 180
})
if dialog = invalid
return
return false
end if
m.scene.signalBeacon("AppDialogInitiate")
m.top.observeField("wasClosed", FuncName(OnAnnouncementDialogClosed))
dialog.observeField("wasClosed", FuncName(OnAnnouncementDialogClosed))
return true
end function
function OnAnnouncementDialogClosed()
m.scene.signalBeacon("AppDialogComplete")
m.scene.signalBeacon("AppLaunchComplete")
end function
'//# sourceMappingURL=./MainScene.brs.map
+1 -1
View File
@@ -3,7 +3,7 @@ title=PlayletLib
# Do not update version manually, it is auto updated from package.json
major_version=0
minor_version=40
build_version=00003
build_version=00004
ui_resolutions=hd
uri_resolution_autosub=$$RES$$,480p,720p,1080p
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "playlet-web",
"version": "0.40.3",
"version": "0.40.4",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "playlet-web",
"version": "0.40.3",
"version": "0.40.4",
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^5.1.0",
"@tailwindcss/typography": "^0.5.16",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "playlet-web",
"version": "0.40.3",
"version": "0.40.4",
"type": "module",
"scripts": {
"dev": "vite",
+5
View File
@@ -30,6 +30,11 @@ const { execSync } = require('child_process');
// Create a temporary directory
const tempDir = fs.mkdtempSync('squash-fs-');
// delete existing out file
if (fs.existsSync(outFile)) {
fs.unlinkSync(outFile);
}
// Unzip the file
execSync(`unzip ${inFile} -d ${tempDir}`);