mirror of
https://github.com/alesimula/Murine-launcher.git
synced 2026-10-28 09:43:42 +00:00
WEBSITE - prefer non-debug apks first
This commit is contained in:
1 parent
06f7ff83a3
commit
915d1493a2
2 files changed
+6
-1
No files matched your search
+1
-1
@@ -5,7 +5,7 @@ description: >-
|
||||
url: "https://alesimula.github.io"
|
||||
baseurl: ""
|
||||
|
||||
version: "1.0.3" #Website version - increase to invalidate cached resources
|
||||
version: "1.0.4" #Website version - increase to invalidate cached resources
|
||||
github_repo: "alesimula/Murine-launcher"
|
||||
icon_url: "https://raw.githubusercontent.com/alesimula/Murine-launcher/refs/heads/main/image/app_icon/icon_browser_fullsize.svg"
|
||||
screenshots_api: "https://api.github.com/repos/alesimula/Murine-launcher/contents/fastlane/metadata/android/en-US/images/phoneScreenshots"
|
||||
|
||||
@@ -89,6 +89,11 @@
|
||||
var apkAssets = release.assets.filter(function (a) {
|
||||
return a.name.endsWith('.apk');
|
||||
});
|
||||
apkAssets.sort(function (a, b) {
|
||||
var aDebug = /debug/i.test(a.name) ? 1 : 0;
|
||||
var bDebug = /debug/i.test(b.name) ? 1 : 0;
|
||||
return aDebug - bDebug;
|
||||
});
|
||||
var otherAssets = release.assets.filter(function (a) {
|
||||
return !a.name.endsWith('.apk');
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user