|
| 1 | +package com.hackeros.app |
| 2 | + |
| 3 | +object Constants { |
| 4 | + const val APP_VERSION = "0.4" |
| 5 | + const val RELEASE_INFO_URL = "https://raw.githubusercontent.com/HackerOS-Linux-System/HackerOS-App/main/release-info.hacker" |
| 6 | + const val VERSION_CHECK_URL = "https://raw.githubusercontent.com/HackerOS-Linux-System/HackerOS-App/main/version.hacker" |
| 7 | + const val GALLERY_API_URL = "https://api.github.com/repos/HackerOS-Linux-System/HackerOS-App/contents/gallery" |
| 8 | + |
| 9 | + val WALLPAPERS = listOf( |
| 10 | + WallpaperItem(1, "Default HackerOS", |
| 11 | + "https://raw.githubusercontent.com/HackerOS-Linux-System/HackerOS-Website/main/phone-wallpapers/default-wallpaper.png"), |
| 12 | + WallpaperItem(2, "Cyber Grid", |
| 13 | + "https://raw.githubusercontent.com/HackerOS-Linux-System/HackerOS-Website/main/phone-wallpapers/wallpaper.png"), |
| 14 | + WallpaperItem(3, "Neon Nights", |
| 15 | + "https://raw.githubusercontent.com/HackerOS-Linux-System/HackerOS-Website/main/phone-wallpapers/wallpaper1.png"), |
| 16 | + WallpaperItem(4, "Abstract Flow", |
| 17 | + "https://raw.githubusercontent.com/HackerOS-Linux-System/HackerOS-Website/main/phone-wallpapers/wallpaper2.png"), |
| 18 | + WallpaperItem(5, "Deep Space", |
| 19 | + "https://raw.githubusercontent.com/HackerOS-Linux-System/HackerOS-Website/main/phone-wallpapers/wallpaper3.png"), |
| 20 | + WallpaperItem(6, "Code Rain", |
| 21 | + "https://raw.githubusercontent.com/HackerOS-Linux-System/HackerOS-Website/main/phone-wallpapers/wallpaper4.png"), |
| 22 | + WallpaperItem(7, "Circuitry", |
| 23 | + "https://raw.githubusercontent.com/HackerOS-Linux-System/HackerOS-Website/main/phone-wallpapers/wallpaper5.png"), |
| 24 | + ) |
| 25 | +} |
| 26 | + |
| 27 | +data class WallpaperItem( |
| 28 | + val id: Int, |
| 29 | + val name: String, |
| 30 | + val url: String |
| 31 | +) |
0 commit comments