Skip to content

Commit

Permalink
Update to v1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
sunsetsonwheels committed Apr 6, 2020
1 parent 795b2a2 commit e0c62a5
Show file tree
Hide file tree
Showing 11 changed files with 23 additions and 17 deletions.
6 changes: 4 additions & 2 deletions LATEST_RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

*New features:*

- Changed app origin for stable release: from `kaidi.jkelol111.me` to `jkelol111.github.io`.
- Upgraded KaiAds SDK: downgrading it didn't solve the problem, might as well use the latest.
- Updated manifest (again): Last-ditch effort to see what's wrong with the KaiStore release.

*Bugs:*
Expand All @@ -14,13 +16,13 @@

*Using OmniSD:*

1. Download the file `kaidi-1.0.5-stable-omnisd.zip` to your SD card.
1. Download the file `kaidi-1.0.6-stable-omnisd.zip` to your SD card.

2. Open OmniSD and install.

*Using WebIDE:*

** You will need to have `node` installed to build the app.**
**You will need to have `node` installed to build the app.**

1. Download the source code zip above and extract it somewhere.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

| Current app versions | Supported KaiOS versions | Supported Kodi versions |
|:---------------------------------------:|:------------------------:|:------------------------------------------------:|
| - 1.0.5 (Stable)<br><br>- 0.4.7.3 (Alpha) | >= KaiOS 2.5 | >= Kodi Krypton (17.x)<br><br>>= JSON-RPC API v8 |
| - 1.0.6 (Stable)<br><br>- 0.4.7.3 (Alpha) | >= KaiOS 2.5 | >= Kodi Krypton (17.x)<br><br>>= JSON-RPC API v8 |

## Key features

Expand Down
3 changes: 0 additions & 3 deletions TODO.md

This file was deleted.

2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"version": 1, "manifestURL": "app://kaidiremote/manifest.webapp"}
{"version": 1, "manifestURL": "app://kaidi.jkelol111.me/manifest.webapp"}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kaidi",
"version": "1.0.5",
"version": "1.0.6",
"description": "A Kodi remote app for KaiOS.",
"scripts": {
"clean": "gulp clean",
Expand Down
2 changes: 1 addition & 1 deletion src/ad.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</head>
<body style="opacity: 0.1;">
<script src="js/libs/l10n.js" charset="utf-8"></script>
<script src="js/libs/kaiads.min.js"></script>
<script src="js/libs/kaiads.v3.min.js"></script>
<script src="js/backbone/utils.js"></script>
<script src="js/ad.js"></script>
</body>
Expand Down
2 changes: 1 addition & 1 deletion src/js/ad.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function handleLocationChange () {
window.location.assign('/settings.html')
break
default:
console.log('[handleLocationChange] Specified hash invalid. You will be redirected home.')
console.log('[handleLocationChange] Specified hash invalid or empty. You will be redirected home.')
window.location.assign('/home.html')
break
}
Expand Down
8 changes: 4 additions & 4 deletions src/js/backbone/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,25 +120,25 @@ Navigates to the given page with ads or none, depending on settings.
function gotoPage (page) {
document.body.classList.add('page-transition-blur-in')
document.body.classList.remove('page-transition-blur-out')
const adsEnabled = settings.get('ads')
const adsEnabled = (settings.get('ads') === 'true')
setTimeout(() => {
switch (page) {
case 'home':
if (adsEnabled === 'true') {
if (adsEnabled) {
window.location.assign('/ad.html#home')
} else {
window.location.assign('/home.html')
}
break
case 'settings':
if (adsEnabled === 'true') {
if (adsEnabled) {
window.location.assign('/ad.html#settings')
} else {
window.location.assign('/settings.html')
}
break
case 'player':
if (adsEnabled === 'true') {
if (adsEnabled) {
window.location.assign('/ad.html#player')
} else {
window.location.assign('/player.html')
Expand Down
1 change: 0 additions & 1 deletion src/js/libs/kaiads.min.js

This file was deleted.

3 changes: 3 additions & 0 deletions src/js/libs/kaiads.v3.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 7 additions & 2 deletions src/manifest.webapp
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"version": "1.0.5",
"version": "1.0.6",
"name": "Kaidi Remote",
"description": "The Kodi remote app for KaiOS.",
"launch_path": "/ad.html",
"origin": "app://kaidi.jkelol111.me",
"icons": {
"56": "/icons/kaidi_56.png",
"112": "/icons/kaidi_112.png"
},
"theme_color": "#ffffff",
"developer": {
"name": "jkelol111",
"url": "https://jkelol111.github.io"
Expand All @@ -23,6 +25,9 @@
"chrome": {
"statusbar": "overlap"
},
"dependencies": {
"ads-sdk": "1.3.0"
},
"locales": {
"en-US": {
"name": "Kaidi Remote",
Expand All @@ -35,5 +40,5 @@
"description": "Điều khiển thiết bị Kodi bắng điện thoại chạy HĐH KaiOS. Phần mềm mở nguồn tại https://github.com/jkelol111/kaidi"
}
},
"default_locale": "en"
"default_locale": "en-US"
}

0 comments on commit e0c62a5

Please sign in to comment.