update
This commit is contained in:
+12
-11
@@ -1,9 +1,10 @@
|
||||
extends Node
|
||||
class_name Config
|
||||
## Global configuration for the Tekton Launcher
|
||||
|
||||
# itch.io Configuration
|
||||
const ITCH_GAME_URL := "https://your-username.itch.io/tekton-local"
|
||||
const ITCH_DEVLOG_URL := "https://itch.io/api/1/your-key/game/your-game-id/devlog" # Replace with actual
|
||||
const ITCH_DEVLOG_URL := "https://itch.io/api/1/your-key/game/your-game-id/devlog" # Replace with actual
|
||||
|
||||
# Version manifest URL (hosted on itch.io or alongside game files)
|
||||
const VERSION_MANIFEST_URL := "https://your-username.itch.io/tekton-local/data/version.json"
|
||||
@@ -14,7 +15,7 @@ const LOCAL_VERSION_FILE := "user://version.txt"
|
||||
const BACKUP_DIRECTORY := "user://backup/"
|
||||
|
||||
# Platform detection
|
||||
enum Platform { WINDOWS, LINUX, MACOS }
|
||||
enum Platform {WINDOWS, LINUX, MACOS}
|
||||
|
||||
static func get_current_platform() -> Platform:
|
||||
var os_name := OS.get_name()
|
||||
@@ -61,12 +62,12 @@ static func get_platform_name() -> String:
|
||||
return "unknown"
|
||||
|
||||
# UI Colors (Cyberpunk/Tech theme matching game aesthetic)
|
||||
const COLOR_PRIMARY := Color("#00d4ff") # Cyan
|
||||
const COLOR_SECONDARY := Color("#ff00aa") # Magenta
|
||||
const COLOR_BACKGROUND := Color("#0a0a1a") # Dark blue-black
|
||||
const COLOR_SURFACE := Color("#141428") # Slightly lighter
|
||||
const COLOR_SUCCESS := Color("#00ff88") # Green
|
||||
const COLOR_WARNING := Color("#ffaa00") # Orange
|
||||
const COLOR_ERROR := Color("#ff4444") # Red
|
||||
const COLOR_TEXT := Color("#ffffff") # White
|
||||
const COLOR_TEXT_DIM := Color("#888899") # Dim text
|
||||
const COLOR_PRIMARY := Color("#00d4ff") # Cyan
|
||||
const COLOR_SECONDARY := Color("#ff00aa") # Magenta
|
||||
const COLOR_BACKGROUND := Color("#0a0a1a") # Dark blue-black
|
||||
const COLOR_SURFACE := Color("#141428") # Slightly lighter
|
||||
const COLOR_SUCCESS := Color("#00ff88") # Green
|
||||
const COLOR_WARNING := Color("#ffaa00") # Orange
|
||||
const COLOR_ERROR := Color("#ff4444") # Red
|
||||
const COLOR_TEXT := Color("#ffffff") # White
|
||||
const COLOR_TEXT_DIM := Color("#888899") # Dim text
|
||||
|
||||
Reference in New Issue
Block a user